POST
/
v1
/
order
/
refund
curl --location --request POST 'https://api.stateset.network/v1/order/refund' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
    "id": "",
    "amount": "100.00"
}'

{
  "success": 123
}

Body

id
string
This is the ID of the order to be refunded.
amount
string
This is the amount to be refunded.

Response

success
number
Indicates whether the call was successful. 1 if successful, 0 if not.
curl --location --request POST 'https://api.stateset.network/v1/order/refund' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
    "id": "",
    "amount": "100.00"
}'