Overview
Postman is a popular API testing tool that lets you send requests and inspect responses without writing code. We provide a pre-configured collection with all Payment API endpoints ready to use.Prerequisites
- Postman account (sign up or use the web version)
- Sandbox API credentials from the CDP Portal Sandbox (covered in the Quickstart)
1. Download files
Download both files below:- CDP Payments Collection: Pre-built requests for all Payment API endpoints with the correct HTTP methods, headers, and request body templates
- CDP Payments Environment: Variables for the Sandbox base URL and your API keys
2. Import into Postman
1
Import collection
In Postman, go to Collections (left pane) → Import → upload the Collection file
2
Import environment
Go to Environments (left pane) → Import → upload the Environment file
3. Configure API keys
1
Select environment
In the top-right dropdown, select CDP Payments Sandbox
2
Update API key variables
On your variable settings, update values for
privateKey and name according to your CDP Sandbox API Key you created during the Quickstart4. Test requests
1
Open a request
Select any request from the collection (e.g., “List Payment Methods”)
2
Update request body
For POST requests, update the request body with your test data:
- Get account IDs from “List Accounts” request (see Custodial Wallets Quickstart)
- Get payment method IDs from “List Payment Methods” request (see Payment Methods Quickstart)
- Use test email addresses:
testuser1@domain.comortestuser2@domain.com(see Transfers Quickstart)
3
Send
Click Send to execute the request
Available endpoints
The Postman collection includes all Sandbox endpoints:- Accounts - Create and list accounts
- Deposit Destinations - Create and list deposit destinations
- Payment Methods - List payment methods and test withdrawals
- Transfers - Create, execute, and list transfers (onchain, email, payment method)
What to read next
Quickstart
Alternative setup with CDP CLI
Payment APIs Overview
Learn more about Payment APIs