Check payment details (IBAN and BIC)
check_payment_detailsUse when an IBAN comes together with a BIC (SWIFT code). For IBANs without a BIC, use check_iban. Checks the IBAN (length for the country per SWIFT IBAN Registry, 89 countries, and check digits) and the BIC (format, 8 or 11 characters; BIC country against the IBAN country; the bank behind the BIC where GLEIF's BIC-to-LEI list has it). Optionally compares the account country with the partner's country (argument partner); without it the result says that no comparison was made. It cannot verify who owns the account.
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": {
"iban": "<iban>",
"bic": "<bic>"
},
"name": "check_payment_details"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bic | Yes | The BIC (SWIFT code), 8 or 11 characters, e.g. DEUTDEFF or UBSWCHZH80A. Required here; without a BIC use check_iban. | |
| iban | Yes | The IBAN, with or without spaces. | |
| partner | No | Optional: the partner's two-letter country code or VAT ID, to compare with the account's country. | |
| with_receipt | No | Optional, default false. Set true only when the user asks for a signed receipt of this check for their files. |