Last active
March 23, 2022 01:45
-
-
Save atwj/b1eb264f986eb0dca1efd8f1d13c67e9 to your computer and use it in GitHub Desktop.
Stripe Connect Account Creation and Connect Onboarding
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
| curl https://api.stripe.com/v1/accounts \ | |
| -u sk_test_: \ | |
| -d country=SG \ | |
| -d type=custom \ | |
| -d "capabilities[card_payments][requested]"=true \ | |
| -d "capabilities[transfers][requested]"=true | |
| // Get account ID (acct_xxxxxx) from prior call | |
| curl https://api.stripe.com/v1/account_links \ | |
| -u sk_test_: \ | |
| -d account=acct_ID \ | |
| -d refresh_url="https://example.com/reauth" \ | |
| -d return_url="https://example.com/return" \ | |
| -d type=account_onboarding \ | |
| -d collect=eventually_due |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment