Sandbox

Test a deposit

Deliver one signed deposit.credited event and, when it is credited, add the example net amount to the sandbox balance.

POSThttps://api.vastel.io/api/v1/sandbox/deposits

Requires 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

outcomeWhat you receiveWhat your app should do
creditedsandbox true, status creditedRecord the test. Do not pay out real value.
underpaidAlso payment_status underpaidRefuse the order, same as a short live payment.

Body

  • customer_id

    string · required

    Your customer id. It does not have to exist yet.

  • asset

    string · required

    A supported asset, for example USDT or BTC.

  • asset_amount

    string · required

    Decimal amount, greater than zero.

  • outcome

    credited | 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"
  }'