POST
/
checkout
/
api
/
v1
/
order
/
{orderId}
/
refund
Initiate Refund
curl --request POST \
  --url https://api.appcharge.com/checkout/api/v1/order/{orderId}/refund \
  --header 'x-publisher-token: <x-publisher-token>' \
  --header 'x-user-id: <x-user-id>'
{}

Headers

x-publisher-token
string
required

The publisher token used for authentication.

x-user-id
string
required

The user ID initiating the refund for the order.

Path Parameters

orderId
string
required

Order ID to refund.

Response

201
application/json

Refund initiated successfully.

Returns an empty object.