cURL
curl --request POST \ --url https://sandbox.api.withgale.com/v1/v1/checkout/{checkout_id}/refund \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "line_items": [ { "line_item_id": "<string>", "quantity": 123, "amount_cents": 123 } ], "reason": "<string>" }'
{ "checkout_id": "<string>", "status": "<string>", "refunded_amount_cents": 123, "currency": "<string>", "refunded_at": "2023-11-07T05:31:56Z" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Partial or full refund request
The body is of type object.
object
Refund processed
The response is of type object.