Get a payment
get_paymentRetrieve a payment by ID to check status, amount, asset, chain, destination, checkout link, and transaction hash. Use it to verify pending, submitted, succeeded, failed, cancelled, or expired status.
Instructions
Read one payment: its status (PENDING, SUBMITTED, SUCCEEDED, FAILED, CANCELLED, EXPIRED), amount, asset, chain, destination, payment link, hosted checkout URL and, once paid, the transaction hash.
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": {
"id": "<id>"
},
"name": "get_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The payment id, as create_payment_link or list_payments returned it. |