/v1/orders/{id}/refund

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

The FlexFactor order ID returned by /evaluate.

Body Params
uuid | null

Optional idempotency key. Resubmit the same refund with the same key to retry safely — the
original result is returned instead of issuing a second refund. Omit it only if you do not
need retry-safety.

boolean

true when the cardholder requested the refund.

double
deprecated

Deprecated — use amount (minor units / cents) instead. Refund amount in the order's
major currency unit (for example, dollars).

int32 | null

Amount to refund, in cents. Send amount or amountToRefund, not both. A request with neither fails validation with HTTP 400.

string | null

Free-text message stored with the refund, for example the reason.

uuid | null

FlexFactor identifier of the gateway that processes the refund.

uuid | null

FlexFactor identifier of the transaction to refund.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
string
enum
Defaults to application/json

Generated from available request content types

Allowed:
Responses

401

Unauthorized

500

Server Error

Language
Credentials
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
text/plain
application/json
text/json