Sandbox
Test a deposit
Deliver one signed deposit.credited event and, when it is credited, add the example net amount to the sandbox balance.
https://api.vastel.io/api/v1/sandbox/depositsRequires sandbox keys. A live key receives 403. Limited to 20 calls a minute. If no webhook URL is saved, the response still includes the payload and delivered is false.
The example rate is 1500 with a 1% fee. 10 USDT credits 14850 NGN to GET /balance and appears in GET /transactions. Your endpoint should return any HTTP 2xx. Verify X-Vastel-Signature the same way you verify a live webhook, then ignore the event when sandbox is true.
Outcomes
| outcome | What you receive | What your app should do |
|---|---|---|
| credited | sandbox true, status credited | Record the test. Do not pay out real value. |
| underpaid | Also payment_status underpaid | Refuse the order, same as a short live payment. |
Body
customer_idstring · required
Your customer id. It does not have to exist yet.
assetstring · required
A supported asset, for example USDT or BTC.
asset_amountstring · required
Decimal amount, greater than zero.
outcomecredited | underpaid
credited is a full payment. underpaid adds payment_status underpaid.
curl -s -X POST https://api.vastel.io/api/v1/sandbox/deposits \
-H "Content-Type: application/json" \
-H "X-Public-Key: vst_test_pub_xxxxxxxx" \
-H "X-Secret-Key: vst_test_sec_xxxxxxxx" \
-d '{
"customer_id": "cust_1001",
"asset": "USDT",
"asset_amount": "10",
"outcome": "underpaid"
}'