Payments
Issue a Full or Partial Refund
Refund a captured payment in full or partially. Multiple partial refunds are allowed up to the total captured amount.
POST
Use
POST /payment/{id}/refund to return funds to a cardholder after a payment has been captured and settled. You can issue a single full refund or multiple partial refunds — as long as the cumulative refunded amount doesn’t exceed the originally captured total. Refunds typically appear on the cardholder’s statement within 5–10 business days, depending on their bank.
Identifying the payment
{id} is the Therius payment id returned by POST /payment/authorization and POST /payment/purchase. orderCode and paymentCode are your own reference fields and are not accepted here. An unknown or non-owned id returns 404.
Examples
Full refund
Partial refund
Refunding only part of an order — for example, a single returned item from a multi-item purchase:Multiple partial refunds are allowed. You can call this endpoint several times against the same payment
id, provided the cumulative refund amount doesn’t exceed the original captured amount. Each call should use a distinct Idempotency-Key.Authorizations
Your secret API key: Bearer prv_production_xxx (production) or Bearer prv_sandbox_xxx (sandbox).
Headers
A UUID you generate per operation. Required in production. Retrying with the same key returns the original response.
Path Parameters
The Therius payment id returned by POST /payment/authorization or POST /payment/purchase.
Body
application/json
Response
200 - application/json
Refund result

