Get payment
get_paymentFetch payment details by ID. Returns status, amount, payment method, confirmation URL, and metadata.
Instructions
Get payment details by ID. Returns status, amount, payment method, confirmation URL, and metadata.
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": {
"payment_id": "<payment_id>"
},
"name": "get_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payment_id | Yes | Payment ID (e.g. pay_xxx) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| paid | No | ||
| amount | No | ||
| status | No | ||
| confirmation_url | No |