Resolve recipient
resolve_recipientResolve the recipient before preparing a transfer. For a bank outside Nigeria give country (KE or ZA); in South Africa also give account_name. Mobile money is in GH, KE or TZ. To pay another Paygent user by their @username (method paygent), give username: it is free and instant, in the same currency. To pay a business on Paygent (method paygent), give its @handle as username, or checkout: the address of its Paygent checkout page (…/pay/chk_…); then prepare the exact amount in NGN. Airtime or data for a Nigerian phone (method airtime): give operator (MTN, Airtel, Glo or 9mobile) and mobile_number; the answer lists the data plans, and for data call it again with plan_code.
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": {
"method": "<method>"
},
"name": "resolve_recipient"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method | Yes | ||
| country | No | ||
| checkout | No | ||
| operator | No | ||
| username | No | ||
| bank_code | No | ||
| bank_name | No | ||
| plan_code | No | ||
| account_name | No | ||
| mobile_number | No | ||
| account_number | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | ||
| note | No | ||
| plan | No | ||
| business | No | ||
| operator | No | ||
| username | No | ||
| verified | Yes | ||
| bank_code | No | ||
| bank_name | No | ||
| data_plans | No | ||
| account_name | Yes | ||
| amount_range | No | ||
| mobile_number | No | ||
| account_number | No | ||
| recipient_token | Yes | ||
| token_expires_at | Yes |