Order operations

Reverse an order

Reverses a transaction at the rail level. This is the card-present and BNPL undo — for an ordinary online card sale reach for void (before settlement) or refund (after) instead, which is almost always what you want.

The same operation as PUT /v3/orders/{orderId} with apiOperation: REVERSAL. The checkout host forwards to this exact route without authenticating.

Send your secret key in the Authorization header.

Kashier has not published the request fields for reversal beyond apiOperation, so only that one is described here. Anything else you send is forwarded as-is.

put/v3/payment/reversal/{orderId}

Request

  • Base URL: https://test-api.kashier.io
  • URL: https://test-api.kashier.io/v3/payment/reversal/{orderId}
  • Auth: API key in header Authorization

Path parameters

orderIdstring required

Kashier's order id.

Request body

apiOperation'REVERSAL' required

Should be REVERSAL to make a reversal request.

Response

The reversal result. A successful reversal leaves the order at REVERSED.

responseobject
transactionIdstring
statusstring

Changes

No recorded changes to this operation across all 1 revision of this API.