Plan a cross-border payment
plan_paymentOne call instead of five: give an amount and a corridor (e.g. amount 500, corridor EUR-XAF, payer_type business) or the payment in plain words (q). Returns the routes on record ordered by evidence of what landed ("not enough evidence yet" and no rank where it is thin), the official and street rates as separate dated fields with the all-in cost where a public price exists, the documents the sending and receiving banks are published to ask for (each with its source), and a tracking handle (plan_id): send the settlement event with it and the signed landing receipt joins the plan. Every plan carries a compliance manifest (which AML, sanctions, PSD2 and travel-rule questions it covers and which it does not) and a safety block (confidence, data freshness, sources) so another agent can decide whether to act. Signed. Free view; every route's full evidence: USD 0.25 per call by x402 in USDC on Base, or a paid key. Same plan: POST https://swapeazi.io/api/v1/plan. Information, not advice: SwapEazi is not a licensed payment provider and never sends or holds money; a person approves and the payer's own bank or provider pays.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "plan_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | The payment in plain words, instead of the fields, e.g. 'USD 25,000 to a supplier in Lagos'. | |
| to | No | Destination currency ISO code, if not given as corridor. | |
| from | No | Source currency ISO code, if not given as corridor. | |
| payee | No | Who receives: a supplier, or people (payroll, payouts). Default from payer_type. | |
| amount | No | The amount that leaves, in the source currency, e.g. 500. | |
| country | No | The destination country or city, if the currency is shared (e.g. Cameroon for XAF). | |
| corridor | No | FROM-TO ISO codes, e.g. EUR-XAF. | |
| access_key | No | A paid key (rk_...), if not sent as a Bearer header. | |
| payer_type | No | Who pays: a business, a payout company or an individual. Default business. | |
| payout_method | No | How it should land, if it matters: bank, mobile money (e.g. MTN), cash or stablecoin. |