Forked from matthewarkin/gist:72e170f9922e3d71ed84
Last active
August 29, 2015 14:20
-
-
Save wongreric/0cafbd1ff2102d63dd75 to your computer and use it in GitHub Desktop.
This file contains hidden or 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