Skip to content

Instantly share code, notes, and snippets.

@wongreric
Created May 11, 2015 18:03
Show Gist options
  • Save wongreric/6a13cd1830b36808858a to your computer and use it in GitHub Desktop.
Save wongreric/6a13cd1830b36808858a 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]: \
-u [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