#cnguyen-TransferGroups
1 messages · Page 1 of 1 (latest)
curl https://api.stripe.com/v1/transfers
-u sk_test_XXX:
-d destination=acct_ZZZ
-d transfer_group="acct_ZZZ / a636be7f-0f72-4eb5-8036-f874463ca7ad / sdsd@sdsds.com / cus_YYY / FORM / 2020-12-06T14:09:34.042Z"
-d limit=4
-G
I try something like that
You'll want to reroll that secret key after this as this is a public forum.
Have you tried it without the newlines after each piece of your transfer_group?
yes I will do it
new lines ?
the format is "XXX / YYY / ZZZ"
But I know that it's because the space because if I remove it, it works
Are you actually getting an error from the API, or is it from cURL itself? I'm able to successfully create a Transfer with the exact format you're passing.
(if it's an error from the API, what's the id of the request?) https://support.stripe.com/questions/finding-the-id-for-an-api-request
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
Ah you're right ! Im o my Mac and I use the zsh terminal