SANDBOXTest systems and made-up people only. No real money.
SANDBOXapi

api.

one vouchmorph interface. the standards sit behind it as formats.

the description, openapi 3.1: openapi.yaml · openapi.json

POST

/api/submit_transfer.php

live

you call us at https://centralbank-sandbox-sandbox.up.railway.app

a member bank's settlement desk pays a line from its settlement account to another member's, on the sandbox central bank's own host. it is queued and settles in the next clearing window: 09:00, 12:00, 15:00 or 17:00 botswana time, monday to friday. a settled payment is final; both banks get a signed notice at their registered address.

sign the raw body: authorization: HMAC <BANK>:<hex hmac-sha256 of the raw body>, keyed with your bank's central bank secret. timestamp is unix seconds within 5 minutes of the central bank's clock. a bank pays only from its own account. the members today are ZURUBANK, SACCUSSALIS and ABSA; an mno settles through its sponsor bank. refusals carry an iso 20022 reason code where one fits.

signed
hmac-sha256: authorization
clock
timestamp within 5 minutes
repeats
same payment kept once

request

POST /api/submit_transfer.php
Authorization: HMAC ZURUBANK:7be1…04cd
Content-Type: application/json

{
  "sender_bank_code": "ZURUBANK",
  "sender_account": "VMCLR-ZURUBANK",
  "recipient_bank_code": "SACCUSSALIS",
  "recipient_account": "VMCLR-SACCUSSALIS",
  "amount": 500.0,
  "reference_code": "VM2611291200-ZURUSACC-P",
  "origin_transaction_id": "ADV-2611291200-ZURUBANK",
  "origin_callback_url": "https://zurubank-sandbox.up.railway.app/Backend/api/bank_callback.php",
  "timestamp": 1795950000
}
curl
# signed on your machine: set CB_SECRET first (export CB_SECRET=..., your bank's central bank secret)
cat > instruction.json <<EOF
{"sender_bank_code":"ZURUBANK","sender_account":"VMCLR-ZURUBANK","recipient_bank_code":"SACCUSSALIS","recipient_account":"VMCLR-SACCUSSALIS","amount":500.0,"reference_code":"VM2611291200-ZURUSACC-P","origin_transaction_id":"ADV-2611291200-ZURUBANK","origin_callback_url":"https://zurubank-sandbox.up.railway.app/Backend/api/bank_callback.php","timestamp":$(date +%s)}
EOF
sig=$(openssl dgst -sha256 -hmac "$CB_SECRET" < instruction.json | awk '{print $NF}')
curl -sS -X POST 'https://centralbank-sandbox-sandbox.up.railway.app/api/submit_transfer.php' \
  -H "Authorization: HMAC ZURUBANK:$sig" \
  -H 'Content-Type: application/json' \
  --data-binary @instruction.json

answer

202 Accepted

{
  "success": true,
  "status": "queued",
  "transfer_id": 900000001,
  "reference_code": "VM2611291200-ZURUSACC-P",
  "settles_in_window": "2026-11-30T09:00:00+02:00",
  "message": "Queued for the Mon 09:00 clearing window"
}

other answers

  • 200 the same payment again: the first one's state
    {
      "success": true,
      "duplicate": true,
      "status": "queued",
      "transfer_id": 900000001,
      "reference_code": "VM2611291200-ZURUSACC-P",
      "message": "Already received: the payment is queued",
      "settles_in_window": "2026-11-30T09:00:00+02:00"
    }
  • 401 no signature, a wrong one, a bank that is not a member, or DT01: a timestamp missing or more than five minutes off
    {
      "success": false,
      "status": "rejected",
      "code": "DT01",
      "message": "The request timestamp is more than five minutes off"
    }
  • 403 a bank paying from another bank's account
    {
      "success": false,
      "status": "rejected",
      "code": null,
      "message": "ZURUBANK can pay only from its own settlement account"
    }
  • 405 not a POST
    {
      "success": false,
      "status": "rejected",
      "code": null,
      "message": "POST a signed payment instruction"
    }
  • 409 AM05: the reference was used for a different payment
    {
      "success": false,
      "status": "rejected",
      "code": "AM05",
      "message": "This reference was already used for a different payment"
    }
  • 413 FF01: the body is over 16384 bytes
    {
      "success": false,
      "status": "rejected",
      "code": "FF01",
      "message": "The request is too large"
    }
  • 422 FF01 a malformed field, RC01 a receiving bank that is not a member, AM02 over P10,000,000
    {
      "success": false,
      "status": "rejected",
      "code": "RC01",
      "message": "The receiving bank is not a member of the sandbox central bank"
    }
  • 503 the central bank has no key for that bank yet, or cannot take requests now
    {
      "success": false,
      "status": "rejected",
      "code": null,
      "message": "The sandbox central bank has no key for ZURUBANK yet"
    }

formats behind this interface

  • jsonlive, every call
  • iso 20022live, banks
  • swift mtlive, banks
  • iso 8583live, cards, atm
  • fspiopoff, off until a partner needs it

you choose your format and how we sign in on your connection page. next: not in this build yet.

built to

  • openapi 3.1, this file
  • problem details · rfc 9457, settlement messages answer application/problem+json
  • idempotency-key, a courier booking carries our reference as its Idempotency-Key
  • mutual tls, offered for our calls to your test system
  • oauth 2.0 client credentials · rfc 6749, offered for our calls to your test system