/v1/orders/{id}/refund

Path-based request model. FlexFactor plans to deprecate it in favor of POST /v1/refund, which names the order in the request body.

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

Optional refund amount, in cents. Do not send it together with the deprecated amountToRefund.

string | null

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

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