--- title: payments.get | Doing Work API description: One card or bank payment, with the amount sent back and each refund. id is the charge_id invoices.refund takes. Read only. url: https://doingwork.work/docs/reference/payments-get/ --- # 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. | | | |---|---| | Who | Agents can call this | | REST | `GET /v1/payments/get` | | MCP tool | `payments_get` | | Writes | no | | Area | [Shop](https://doingwork.work/docs/reference/#shop) | ## When to use it One card or bank payment, with the amount sent back and each refund. id is the charge_id invoices.refund takes. ## What to tell the owner Tell them what you found in plain words. Don't read back raw fields. ## Input | Field | Type | Required | |---|---|---| | `charge_id` | string (uuid) | yes | ## Example ```http GET https://doingwork.work/v1/payments/get?charge_id=00000000-0000-4000-8000-000000000000 ``` ## Output | Field | Type | Always there | |---|---|---| | `id` | string (uuid) | yes | | `invoice_id` | string (uuid) | yes | | `amount_minor` | integer | yes | | `method` | string | yes | | `status` | string | yes | | `paid_at` | string (date-time) | yes | | `refunded_minor` | integer | yes | | `refunds` | array | yes | | `refunds[].id` | string (uuid) | yes | | `refunds[].amount_minor` | integer | yes | | `refunds[].created_at` | string (date-time) | yes | ```json { "id": "00000000-0000-4000-8000-000000000000", "invoice_id": "00000000-0000-4000-8000-000000000000", "amount_minor": 50000, "method": "...", "status": "...", "paid_at": "...", "refunded_minor": 50000, "refunds": [ { "id": "00000000-0000-4000-8000-000000000000", "amount_minor": 50000, "created_at": "..." } ] } ``` ## Errors | Code | Status | What to do | |---|---|---| | `invalid_input`, `invalid_token`, `rate_limited` | | Can happen on any call. See [errors](https://doingwork.work/docs/errors/). |