The DollarPe sandbox environment provides a safe, isolated testing ground for validating your integration before deploying to production. No real funds are involved, and all three integration paths are supported.Documentation Index
Fetch the complete documentation index at: https://docs.dollarpe.xyz/llms.txt
Use this file to discover all available pages before exploring further.
Key benefits of sandbox testing: Test the full integration flow without real funds — validate against our API specs, simulate success and error scenarios, and gain confidence before going live.
Testing approaches
- API Integration
- Widget Integration
- Client Dashboard
Use sandbox base URLs with your sandbox API credentials. The full flow — customer creation, KYC, bank linking, payin, and payout — works exactly as in production. Use the mock status endpoints to simulate transaction state changes without waiting for real blockchain confirmations.Sandbox base URL:
https://sandbox.dollarpe.xyzSandbox vs. production
| Feature | Sandbox | Production |
|---|---|---|
| Base URL | https://sandbox.dollarpe.xyz | https://production.dollarpe.xyz |
| API Keys | Sandbox-specific | Production-specific |
| Funds | Test funds only | Real funds |
| Blockchain Networks | Includes test networks (e.g., Sepolia) | Mainnet only |
| Processing Times | Accelerated | Actual processing times |
Getting started with sandbox
Step 1: Obtain sandbox credentials
Contact our support team to request sandbox access. You’ll receive your sandbox API key and API secret.Step 2: Configure your environment
Step 3: Set up authentication
Authentication works identically in sandbox and production. See the Authentication guide for how to generate the required headers.Testing the KYC flow
Creating test customers
Submitting test KYC data
In sandbox, use test document URLs for KYC submission. Verification is automatically approved for most test submissions.Adding test bank accounts
Testing the payin flow
Fetch payin configuration
Create a payin quotation
Initiate a test payin
Testing the payout flow
Create a payout quotation
Send test cryptocurrency
- Get test tokens from a Sepolia faucet.
- Send the exact amount of test USDT/USDC to the wallet address from the quotation.
- Obtain the transaction hash for the next step.
Initiate a test payout
Testing webhook integration
Sandbox testing checklist
Customer and KYC
Customer and KYC
- Create a test customer profile
- Submit KYC details for verification
- Confirm successful KYC approval flow
- Simulate KYC rejection and error responses
- Update and resubmit failed KYC information
- Add and verify bank account details
Payin flow
Payin flow
- Retrieve payin configurations
- Fetch exchange rates
- Generate and review quotations
- Handle expired quotation scenarios
- Initiate payin with transaction reference
- Use mock status endpoint to change transaction status
- Monitor status updates throughout the payin flow
- Simulate and handle payin failure scenarios
Payout flow
Payout flow
- Retrieve payout configurations
- Fetch exchange rates
- Generate and review quotations
- Handle expired quotation scenarios
- Simulate crypto transfer using testnet
- Initiate payout with transaction reference
- Use mock status endpoint to change transaction status
- Monitor status updates throughout the payout flow
- Simulate and handle payout failure scenarios
Webhook testing
Webhook testing
- Set up and configure your webhook endpoint
- Confirm webhook receives KYC status events
- Confirm webhook receives transaction status events
- Test webhook retry and failure handling
Error handling
Error handling
- Simulate invalid or expired API credentials
- Submit invalid or incomplete request payloads
- Test rate limiting responses
- Simulate network timeouts
- Verify user-facing error messages are clear and actionable
Transitioning to production
Once sandbox testing is complete:- Request production API credentials from our support team.
- Update your configuration to use production URLs and credentials.
- Remove or condition all sandbox-specific logic and test data.
- Implement production logging and monitoring.
- Set up alerts for critical error conditions.
- Test with small amounts first before full deployment.

