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
3. Configure API keys
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
Update request body
For POST requests, update the request body with your test data:
- Get account IDs from “List Accounts” request (see Accounts guide)
- Get payment method IDs from “List Payment Methods” request (see Payment Methods guide)
- Use test email addresses:
testuser1@domain.comortestuser2@domain.com(see Transfers guide)
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)