#robertotmuniz
1 messages · Page 1 of 1 (latest)
It just accepts key-value pairs. You could probably use JSON as a string to represent an object, then jsonify the string whenever you need it, but you would need to have a mechanism in place that stops values from going over the 500 character limit, which might not be suitable for you.
Ah okay! thank you very much
I also have one more doubt
what if I make a transfer post and the money is not enough, what happens?
The transfer fails. We recommend checking the balance with the API each time before creating a Transfer
how do I check the balance?
and if I check and the balance is not enough, how Can I do to wait until its enough?
You retrieve the balance via the Balance API: https://stripe.com/docs/api/balance/balance_retrieve
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
You can either wait for the balance to accrue and become available, or (if you're in the US) you can top-up the account by sending a transfer to your account: https://stripe.com/docs/connect/top-ups