Stripe - How do you send decimal amounts to the API for a Payment?
问题 I'm migrating an e-commerce platform from using SagePay to Stripe. The docs show using an amount figure of 1099 and a currency of gbp (https://stripe.com/docs/payments/accept-a-payment#web-create-payment-intent). As far as I can tell this means £10.99 (not £1099). But this is extremely unclear in their docs - I am assuming this is the case. If I try and send amount => 10.99 through their API, I get an error message in the response: "error": { "code": "parameter_invalid_integer", "doc_url":