payments_get
One card or bank payment, with the amount sent back and each refund. id is the charge_id invoices.refund takes. Read only. A payment in a shop you are not a member of is not found. Amounts need see_prices.
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": {
"charge_id": "<charge_id>"
},
"name": "payments_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| charge_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| method | Yes | ||
| status | Yes | ||
| paid_at | Yes | ||
| refunds | Yes | ||
| invoice_id | Yes | ||
| amount_minor | Yes | Amount in minor units of the currency (cents). | |
| refunded_minor | Yes | Money sent back on this payment, in cents. |