Country Payment Codes
country_payment_codesLook up country-specific payment codes (KNP, purpose codes, etc.).
Use country_banking_rules first to see which code types a country requires (in the payment_requirements block), then use this tool to find the right code value.
Examples: country_payment_codes("KZ", "knp", "transport") country_payment_codes("KZ", "knp", "insurance") country_payment_codes("AE", "purpose_code", "trade") country_payment_codes("KZ", "knp") # all codes (large response)
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": {
"country_code": "<country_code>",
"code_type": "<code_type>"
},
"name": "country_payment_codes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Optional page of the codes, from 1 (default). Used only when an answer says codes were left out to fit and names the page that holds them. | |
| search | No | Optional keyword filter (e.g. "transport", "trade", "insurance"). Omit it to list every code in the table, which is a large response. | |
| code_type | Yes | Which code table to search, as named in country_banking_rules payment_requirements.required_fields[].code_type (e.g. "knp", "purpose_code"). Case-insensitive. | |
| country_code | Yes | ISO 3166-1 alpha-2 country code, e.g. "KZ", "AE". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||