api.
one vouchmorph interface. the standards sit behind it as formats.
the description, openapi 3.1: openapi.yaml · openapi.json
/api/v1/settlement/advice.php
livewe call your test system. your path: settlement_advice (endpoints.common.settlement_advice)
what your bank owes each receiving bank this cycle, with every payment behind each line. pay each line through the sandbox central bank with its line_ref as the reference_code, to creditor_bank and creditor_account. we send the same advice again until you answer success: true, up to 20 times.
- signed
- vouchmorph's certificate: signature
- clock
- each settlement cycle
- repeats
- same advice_id: sent until you answer
request
POST /api/v1/settlement/advice.php
host: test.yourbank.example
Content-Type: application/json
Accept: application/json
X-API-KEY: $BANK_KEY
{
"message_type": "SETTLEMENT_ADVICE",
"advice_id": "ADV-2611291200-ORANGE",
"debtor_bank": "ORANGE",
"cycle_at": "2026-11-29T12:00:00+02:00",
"due_by": "2026-11-30T12:00:00+02:00",
"currency": "BWP",
"total_amount": "500.00",
"pay_via": "CENTRAL_BANK",
"instructions": "Pay each line through the central bank using line_ref as reference_code, to creditor_bank / creditor_account.",
"lines": [
{
"line_ref": "VMSL-1200-ORZU-1",
"kind": "PRINCIPAL",
"creditor_bank": "ZURUBANK",
"creditor_account": "VMCLR-ZURUBANK",
"amount": "500.00",
"currency": "BWP",
"items": [
{
"type": "SWAP",
"reference": "SWAP_1795935600_3f9a2c7e51b04d18",
"amount": "500.00"
}
]
}
],
"timestamp": 1795946400,
"signature": "<base64 rsa-sha256>",
"requester": "VOUCHMORPH",
"certificate": "-----BEGIN CERTIFICATE-----\n…\n-----END CERTIFICATE-----"
}curl
# set BANK_KEY first: export BANK_KEY=...
curl -sS -X POST 'https://test.yourbank.example/api/v1/settlement/advice.php' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H "X-API-KEY: $BANK_KEY" \
--data-binary '{"message_type":"SETTLEMENT_ADVICE","advice_id":"ADV-2611291200-ORANGE","debtor_bank":"ORANGE","cycle_at":"2026-11-29T12:00:00+02:00","due_by":"2026-11-30T12:00:00+02:00","currency":"BWP","total_amount":"500.00","pay_via":"CENTRAL_BANK","instructions":"Pay each line through the central bank using line_ref as reference_code, to creditor_bank / creditor_account.","lines":[{"line_ref":"VMSL-1200-ORZU-1","kind":"PRINCIPAL","creditor_bank":"ZURUBANK","creditor_account":"VMCLR-ZURUBANK","amount":"500.00","currency":"BWP","items":[{"type":"SWAP","reference":"SWAP_1795935600_3f9a2c7e51b04d18","amount":"500.00"}]}],"timestamp":1795946400,"signature":"<base64 rsa-sha256>","requester":"VOUCHMORPH","certificate":"-----BEGIN CERTIFICATE-----\n…\n-----END CERTIFICATE-----"}'answer
200 OK
{
"success": true,
"message": "Advice received"
}other answers
4xx a refusal: the call failed, with your `message` shown to staff. say why in `message`
{ "success": false, "message": "Insufficient funds" }5xx a 5xx: failed. a 502 or 504, a timeout after the request left or a cut-short answer is an unknown outcome: never sent again, confirmed with you later
{ "success": false, "message": "Service unavailable" }
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