Refund Order

Creates a refund for an order. This operation is used to refund a previously paid order (fully or partially, depending on the request body). The API will validate the order and its related charges before processing the refund. If the refund cannot be created due to business rules or state, an error response is returned.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Identifier of the resource

Body Params

requested field for a refund

integer
required

Amount to refund. If not provided, the API refunds the refundable amount of the selected charge.

string | null

Charge ID to refund. If not provided, the API selects a refundable charge from the order.

string
enum
required

Refund reason. If not provided, the API uses a default reason.

Allowed:
int64 | null

Expiration timestamp for cash refunds (must be within the allowed range configured by the API).

Headers
string
enum
Defaults to es

Use for knowing which language to use

Allowed:
string

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

Responses

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/vnd.app-v2.1.0+json