Pay Bank Transfer
pay_bank_transferSend naira to a Nigerian bank account, paid from the linked wallet. ONLY for agents with a verified Self Agent ID: the request must be signed with the Self agent key (x-self-agent-* headers; see docs.abapays.com → Self Agent ID), otherwise it is refused before anything is charged. Call list_banks for the bank_code. The account name is checked before any money moves and returned in the result: confirm it with the human. ALWAYS requires the PIN — ask the human for it every time. Money moves for real. The result gives a reference: call get_payment_status with it to read the transfer reference and receipt once the transfer is sent.
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": {
"pin": "<pin>",
"bank_code": "<bank_code>",
"account_number": "<account_number>",
"amount_ngn": "<amount_ngn>"
},
"name": "pay_bank_transfer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pin | Yes | The PIN set when the API key was created. Required on EVERY payment — ask the human for it each time. | |
| chain | No | Optional. Defaults to the chain approved when the key was created. | |
| token | No | Optional stablecoin to pay with on that chain (e.g. "USDC", "USDT"). Defaults to the one approved when the key was created. | |
| api_key | No | AbaPay MCP API key. NOT needed when the connector is authorized via OAuth — omit it entirely in that case. | |
| bank_code | Yes | The bank code from list_banks. | |
| amount_ngn | Yes | Amount in naira to send (whole naira, at least 100). | |
| account_number | Yes | The 10-digit account number (NUBAN). | |
| idempotency_key | No | Optional, strongly recommended: a unique id for THIS transfer (8-128 chars). Retrying with the same key returns the first result instead of paying again. |