Get the next transaction for the payer wallet to send
get_funding_stepStep 3 of a payment. Return the one transaction the payer wallet must send now, on the payment source chain, so it can send exactly that transaction. An APPROVAL step moves no funds. A BRIDGE_DEPOSIT step moves the payment amount. Send it only from the payer account, then call submit_funding_transaction. Only wallet transactions are offered. A payment that asks for an EIP-712 signature step returns an error and must not be signed. If the wallet result is unknown, do NOT sign again: look up the transaction hash and submit it. A "nothing to sign" result (outcome WAIT) is a normal wait, not a failure. A result marked simulated must not be signed with real funds. Repeat this tool while nextAction is REQUEST_FUNDING_INSTRUCTIONS. Requires your own Axiv Pay API token in the Authorization: Bearer header of the MCP HTTP request, never as a tool argument. This tool does not sign or send any blockchain transaction. Axiv Pay holds no keys. Your own wallet signs the step returned by get_funding_step.
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": {
"paymentId": "<paymentId>"
},
"name": "get_funding_step"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paymentId | Yes | Axiv Pay payment ID returned by create_payment. |