How to pay an invoice
payment_instructionsHow to pay one UniVend invoice by bank transfer: beneficiary, IBAN, amount and payment reference. UniVend is paid only for its own invoices, by bank transfer to its own account. This interface never pays anything and never asks for card data. Requires an agent authorised by a signed-in client.
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": {
"invoice_id": "<invoice_id>"
},
"name": "payment_instructions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Language of the answer: bg (Bulgarian) or en (English). | |
| invoice_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bic | Yes | ||
| iban | Yes | ||
| note | Yes | ||
| amount | Yes | An amount of money in the currency given, 2 decimals. | |
| method | Yes | ||
| number | Yes | ||
| currency | Yes | ISO 4217 currency code, e.g. EUR. | |
| due_date | Yes | ||
| bank_name | Yes | ||
| invoice_id | Yes | ||
| beneficiary | Yes | ||
| payment_reference | Yes |