api.
one vouchmorph interface. the standards sit behind it as formats.
the description, openapi 3.1: openapi.yaml · openapi.json
/api/v1/settlement/messages
liveyou call us at https://vouchmorphdeveloper.com
pay a settlement line in your own bank's format: an iso 20022 pacs.009.001.08 (application/xml) or a swift mt202 (text/plain). we turn it into a payment for the sandbox central bank, the same fields as its submit_transfer, and it settles in the next clearing window.
sign the raw body with the key of your sandbox certificate (rsa-sha256, or ecdsa p-256 with sha-256) and send the signature in base64 as x-signature, with your participant id as x-institution. you get the certificate by uploading a certificate request on the connection page.
an error is application/problem+json (rfc 9457) with type, title, status, detail and, where one fits, code, the iso 20022 reason code: FF01 unreadable, AM01 a zero amount, AM03 a currency other than BWP, DS0A not signed, DS0E a signature that does not match, AM05 the reference was used for a different payment, RC01 a bank that is not yours or not a member, AM02 over the limit.
- signed
- rsa-sha256 or ecdsa p-256: x-signature
- clock
- settles in the central bank's next window
- repeats
- same reference, same payment: kept once
request
POST /api/v1/settlement/messages
X-Institution: ORANGE
X-Signature: kR3v…9Q==
Content-Type: application/xml
<?xml version="1.0" encoding="UTF-8"?>
<Document xmlns="urn:iso:std:iso:20022:tech:xsd:pacs.009.001.08">
<FICdtTrf>
<GrpHdr>
<MsgId>ORANGE-20261129-0001</MsgId>
<CreDtTm>2026-11-29T12:05:00+02:00</CreDtTm>
<NbOfTxs>1</NbOfTxs>
<SttlmInf><SttlmMtd>CLRG</SttlmMtd></SttlmInf>
</GrpHdr>
<CdtTrfTxInf>
<PmtId>
<InstrId>VMSL-1200-ORZU-1</InstrId>
<EndToEndId>VMSL-1200-ORZU-1</EndToEndId>
</PmtId>
<IntrBkSttlmAmt Ccy="BWP">500.00</IntrBkSttlmAmt>
<IntrBkSttlmDt>2026-11-29</IntrBkSttlmDt>
<Dbtr><FinInstnId><Othr><Id>ORANGE</Id></Othr></FinInstnId></Dbtr>
<DbtrAcct><Id><Othr><Id>VMCLR-ORANGE</Id></Othr></Id></DbtrAcct>
<Cdtr><FinInstnId><Othr><Id>ZURUBANK</Id></Othr></FinInstnId></Cdtr>
<CdtrAcct><Id><Othr><Id>VMCLR-ZURUBANK</Id></Othr></Id></CdtrAcct>
</CdtTrfTxInf>
</FICdtTrf>
</Document>or text/plain: the same line as an mt202
content-type: text/plain
{1:F01ORANGEXXAXXX0000000000}{2:I202ZURUBANKXXXXN}{4:
:20:VMSL-1200-ORZU-1
:21:VMSL-1200-ORZU-1
:32A:261129BWP500,00
:52D:/VMCLR-ORANGE
ORANGE
:58D:/VMCLR-ZURUBANK
ZURUBANK
-}
curl
# signed on your machine with the key of your sandbox certificate: your-sandbox-key.pem never leaves it
cat > pacs009.xml <<'EOF'
<?xml version="1.0" encoding="UTF-8"?>
<Document xmlns="urn:iso:std:iso:20022:tech:xsd:pacs.009.001.08">
<FICdtTrf>
<GrpHdr>
<MsgId>ORANGE-20261129-0001</MsgId>
<CreDtTm>2026-11-29T12:05:00+02:00</CreDtTm>
<NbOfTxs>1</NbOfTxs>
<SttlmInf><SttlmMtd>CLRG</SttlmMtd></SttlmInf>
</GrpHdr>
<CdtTrfTxInf>
<PmtId>
<InstrId>VMSL-1200-ORZU-1</InstrId>
<EndToEndId>VMSL-1200-ORZU-1</EndToEndId>
</PmtId>
<IntrBkSttlmAmt Ccy="BWP">500.00</IntrBkSttlmAmt>
<IntrBkSttlmDt>2026-11-29</IntrBkSttlmDt>
<Dbtr><FinInstnId><Othr><Id>ORANGE</Id></Othr></FinInstnId></Dbtr>
<DbtrAcct><Id><Othr><Id>VMCLR-ORANGE</Id></Othr></Id></DbtrAcct>
<Cdtr><FinInstnId><Othr><Id>ZURUBANK</Id></Othr></FinInstnId></Cdtr>
<CdtrAcct><Id><Othr><Id>VMCLR-ZURUBANK</Id></Othr></Id></CdtrAcct>
</CdtTrfTxInf>
</FICdtTrf>
</Document>
EOF
openssl dgst -sha256 -sign your-sandbox-key.pem -out pacs009.xml.sig pacs009.xml
curl -sS -X POST 'https://vouchmorphdeveloper.com/api/v1/settlement/messages' \
-H 'X-Institution: ORANGE' \
-H "X-Signature: $(openssl base64 -A -in pacs009.xml.sig)" \
-H 'Content-Type: application/xml' \
--data-binary @pacs009.xmlanswer
202 Accepted
{
"status": "queued",
"reference": "VMSL-1200-ORZU-1",
"payment_id": 900000014,
"settles_in_window": "2026-11-30T12:00:00+02:00",
"format": "pacs.009",
"message": "Queued for the Mon 12:00 clearing window"
}other answers
200 the same payment again: nothing new is queued
{ "status": "queued", "reference": "VMSL-1200-ORZU-1", "payment_id": 900000014, "duplicate": true, "format": "pacs.009", "message": "Already received: the payment is queued" }400 FF01: the message cannot be read (or over 64 KB, or another content type); AM01: a zero amount; AM03: a currency other than BWP
content-type: application/problem+json # FF01 { "type": "about:blank", "title": "The message cannot be read", "status": 400, "detail": "FF01 the pacs.009 has no IntrBkSttlmAmt", "code": "FF01" } # AM03 { "type": "about:blank", "title": "The message cannot be read", "status": 400, "detail": "AM03 the sandbox settles BWP only", "code": "AM03" }401 DS0A: no X-Institution or X-Signature, or a signature that is not base64; DS0E: a signature that does not match your sandbox certificate (no certificate, expired, not issued by the sandbox, or no match)
content-type: application/problem+json # DS0A { "type": "about:blank", "title": "Not signed", "status": 401, "detail": "Send X-Institution and a base64 X-Signature of the raw body.", "code": "DS0A" } # DS0E { "type": "about:blank", "title": "The signature does not match", "status": 401, "detail": "The signature does not match the body.", "code": "DS0E" }405 not a POST (answer carries Allow: POST)
content-type: application/problem+json { "type": "about:blank", "title": "Method not allowed", "status": 405, "detail": "POST a signed settlement message." }409 AM05: this reference was used for a different payment
content-type: application/problem+json { "type": "about:blank", "title": "Duplicate reference", "status": 409, "detail": "This reference was already used for a different payment", "code": "AM05" }422 RC01: the paying bank is not the one that signed, or a bank that is not a member of the sandbox central bank (an mno's sponsor settles for it); AM02: over P10,000,000
content-type: application/problem+json # RC01 { "type": "about:blank", "title": "Unknown bank", "status": 422, "detail": "The receiving bank is not a member of the sandbox central bank", "code": "RC01" } # AM02 { "type": "about:blank", "title": "Over the limit", "status": 422, "detail": "amount is over the sandbox limit of P10,000,000 a payment", "code": "AM02" }429 more than 60 messages a minute from one address
content-type: application/problem+json { "type": "about:blank", "title": "Too many requests", "status": 429, "detail": "More than 60 messages a minute from one address. Wait 12 seconds." }503 settlement messages are not set up in this sandbox yet
content-type: application/problem+json { "type": "about:blank", "title": "Not set up", "status": 503, "detail": "Settlement messages are not set up in this sandbox yet." }
parameters
| name | in | needed | what it is |
|---|---|---|---|
| X-Institution | header | yes | your participant id |
| X-Signature | header | yes | base64 rsa-sha256 (or ecdsa p-256 sha-256) signature of the raw body, made with the key of your sandbox certificate |
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