-
-
Save matthewarkin/72e170f9922e3d71ed84 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Retrieve account details request - getting a "Invalid API Key provided: acct_************xxxx" error | |
curl https://api.stripe.com/v1/account \ | |
-u [LIVE SECRET KEY]: \ | |
-H Stripe-Account:[acct_xxxxxxxxxxxxxx] #the connected account ID | |
#Transfering $ to a connected account - getting a "Cannot transfer to an unconnected destination account." error | |
curl https://api.stripe.com/v1/transfers \ | |
-u [LIVE SECRET KEY]: \ | |
-d amount=xxxx \ | |
-d currency=usd \ | |
-d destination=[acct_xxxxxxxxxxxxxx] \ #the connected account ID | |
-d description="test transfer" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment