Testing in Sandbox
Force any outcome to test your handling
Create real orders against the sandbox URL, then set their status to whatever you want to test. The same webhooks fire as in production.
curl -X POST 'https://sandbox-api.transfi.com/v3/simulation/order' \
-H 'Authorization: Basic YOUR_BASE64_CREDENTIALS' \
-H 'mid: YOUR_MID' \
-H 'Content-Type: application/json' \
-d '{ "orderId": "OR-2509291454262384294", "status": "fund_settled" }'| Simulate | Reference |
|---|---|
| Any order status | Simulate Order Status |
| An incoming bank deposit | Simulate Incoming IBAN Deposit |
| Releasing a held deposit | Simulate IBAN Order Completion |
| A QR code to pay | Simulate QR Code Generation |
| Funds arriving | Simulate Create Prefund |
| Re-sending a webhook | Resend Webhook |
Before you go live
- Every final status handled — success and failure
- Signature verified on the raw body
- Duplicate webhooks handled
- A unique
partnerIdon every order, stored before the call - Sender and recipient fields fetched, not hard-coded
- You read available balance, not total
- Production URL and credentials in config, not hard-coded to sandbox
Updated 15 minutes ago
What’s Next
Did this page help you?