Staging Environment
Sandbox partner transactions are currently restricted to a single canonical deposit pair:
- Token:
usdt - Network:
bep20
Getting Sandbox Credentials
Contact the CashWeb team to receive staging API keys:- Email: [email protected]
Testing Workflow
1. Create a Quote
2. Create a Transaction
3. Verify Webhook Delivery
Set up a webhook endpoint (use a service like webhook.site for testing) and verify you receivetransaction.created events.
4. Query Transaction Status
5. Simulate Lifecycle Events
Use the staging-only sandbox simulator to drive partner webhook and TSQ flows from one standalone endpoint: You must first create a transaction and use the returned transactionid as transaction_id. The simulator does not create transactions for you.
transaction_id: target CashWeb partner transaction id returned byPOST /transactionsevent: lifecycle event to simulatedeposit_id: optional stable override for the simulated deposit identifierblockchain_hash: optional stable override for simulated deposit chain data
deposit.detecteddeposit.confirmedtransaction.completedtransaction.failedtransaction.expiredtransaction.refundedpayout.settled
- This endpoint exists only in staging and test environments.
- Production does not mount the route at all.
deposit.detectedcreates or reuses a deposit record and emits the corresponding partner webhook.deposit.confirmedreuses the same transaction and deposit progression logic as normal deposit handling.transaction.completed,transaction.failed,transaction.expired, andtransaction.refundedadvance the transaction through the same lifecycle machinery used by normal processing.payout.settledemits the payout-settled partner webhook