v1

latestOpenAPI 3.1.0MIT-LICENSE2026-07-24113190543.3 KB
Orders

Refund Order

A refunded order describes the items, amount, and reason an order is being refunded.

post/orders/{id}/refunds

Path parameters

idstring required
Example:6307a60c41de27127515a575

Identifier of the resource

Headers

Accept-Language'es' | 'en'

Use for knowing which language to use

X-Child-Company-Idstring

In the case of a holding company, the company id of the child company to which will process the request.

Request body

amountinteger required

Amount to be refunded in cents

expires_atinteger
reasonstring required

Reason for the refund

Example request

{
  "amount": 500,
  "expires_at": 1553273553,
  "reason": "suspected_fraud"
}

Response

successful