Straddle-Account-Id header, you’ll need to create an organization and at least one related account. In the sandbox environment, this process is streamlined - you can create accounts instantly without completing onboarding or requesting capabilities.
If this doesn’t quite make sense yet, check out our Embedded Account guide before proceeding.
Setup Process
We provide a Postman collection and sample data to help you get started quickly. Click the button below to import our collection or read along for direct links to the relevant API endpoints.Step 1: Create an Organization
First, create an organization that will contain your test accounts. You can use either:- Our Create Organization Postman request, or
- Direct API call using this ready-to-use sample data (you can copy and paste this exactly as-is):
organization_id (a UUID) that you’ll need for the next step.
Organizations allow you to manage multiple related business accounts under a single umbrella. Each account represents a business that will use Straddle’s services. For sandbox testing, one organization is likely all you need, but you do you.
Step 2: Create a Test Account
Create a business account within your organization using either:- Our Create Account Postman request, or
- Direct API call using this complete sample payload (just replace
{uuid}with theorganization_idfrom step 1):
In the sandbox environment:
- Accounts are created instantly
- All capabilities are automatically enabled
- No verification or onboarding is required
- You can start testing payment flows immediately
Using Your Test Account
Once you receive theaccount_id in the response, include it in the Straddle-Account-Id header for subsequent API calls:
Next Steps
With your sandbox organization and account created, you can immediately begin:- Testing payment flows
- Creating webhooks
- Simulating different scenarios