Stripe- create a refund

Been developing a marketplace uber app on Bubble.io for some time and i discovered something new when i was working with the “create a refund” api call on stripe, the input where it’s stated that stripe only accepts a positive integer means in the actual sense that whatever result you get when multiplying that amount by a percentage, always ensure that the figure is rounded up to the nearest whole number.

For example, you’re likely to get an error if you want to refund half of $55 which would be $27.5, so looking at the screenshot, you should round the figure to the nearest whole number which would be $28

What’s the question here or is this a tip?

it’s a tip, sorry that i didn’t articulate it well :rofl:

Ah gotcha! just moved it over to Tips

1 Like