Skip to content

Instantly share code, notes, and snippets.

@wongreric
Forked from matthewarkin/gist:72e170f9922e3d71ed84
Last active August 29, 2015 14:20
Show Gist options
  • Select an option

  • Save wongreric/0cafbd1ff2102d63dd75 to your computer and use it in GitHub Desktop.

Select an option

Save wongreric/0cafbd1ff2102d63dd75 to your computer and use it in GitHub Desktop.
#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