Bank payment QR payload
qr_payload_paymentBuild a bank payment payload: a Pix BR Code (Brazil), a SEPA credit transfer (EPC069-12, euro area), or a PayNow (Singapore), PromptPay (Thailand) or VietQR (Vietnam) code, EMV merchant-presented with its CRC. Fields depend on the scheme. Pass the result as data to generate_qr_code; use error correction M for SEPA.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"scheme": "<scheme>"
},
"name": "qr_payload_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bic | No | sepa: BIC, optional inside the EEA | |
| city | No | pix: receiver city, up to 15 characters | |
| iban | No | sepa: IBAN | |
| name | No | pix: receiver name (required, up to 25 characters); sepa: beneficiary name (required); paynow: name shown to the payer | |
| txid | No | pix: transaction ID, up to 25 letters and digits | |
| proxy | No | paynow or promptpay: the mobile number, UEN, national/tax ID or e-wallet ID | |
| amount | No | Amount in the scheme's currency (BRL, EUR, SGD, THB, or whole VND). Leave out to let the payer choose. | |
| expiry | No | paynow: last day the code works, YYYY-MM-DD | |
| pixKey | No | pix: CPF, CNPJ, +55 phone, email or random key | |
| scheme | Yes | pix (Brazil), sepa (euro credit transfer, EPC069-12), paynow (Singapore), promptpay (Thailand) or vietqr (Vietnam) | |
| bankBin | No | vietqr: the bank's 6-digit BIN | |
| message | No | pix or vietqr: message for the payer | |
| editable | No | paynow: whether the payer may change the amount (default true) | |
| proxyType | No | paynow: mobile or uen; promptpay: mobile, id or ewallet | |
| reference | No | sepa: structured RF creditor reference; paynow: bill reference | |
| remittance | No | sepa: payment reference text, up to 140 characters (not with reference) | |
| accountType | No | vietqr: account (default) or card | |
| accountNumber | No | vietqr: account or card number |