not_ refundable
Nothing of this payment can be refunded.
On this page
HTTP status: 409 Conflict. Retrying the same request unchanged fails the same way.
Why it happens
- Only a finished payment, or a partially paid one that has closed, can be refunded.
- Its refunds, finished and under way, already add up to what it credited.
What to do
Retrieve the payment: amount_credited, amount_refunded and refund_pending show what remains. List its refunds with GET /v1/refunds?payment=….
Example
The response is application/problem+json. Branch on code, never on title or detail. See errors for the format.
{
"type": "https://docs.nowgate.io/errors/not_refundable",
"title": "Conflict",
"status": 409,
"detail": "What exactly was wrong, in a sentence.",
"instance": "/v1/payments",
"code": "not_refundable",
"request_id": "req_01jc3xb1n6f0q2w8e4r7t5y9v3"
}