PUT
/
v1
/
order
/
{id}
/
refund
curl -X PUT https://api-eu.sulpayments.ch/v1/order/ord_5f1a3b2c/refund \
  -H "Authorization: Bearer {token}"
{
  "id": "ord_5f1a3b2c",
  "status": "refund_processing"
}
Refunds are processed asynchronously. The endpoint returns immediately after queuing the refund.

Headers

Authorization
string
required
Bearer {token}

Path

id
string
required
Order identifier.

Response

id
string
Order identifier.
status
string
Status after queuing (refund_processing or similar).
curl -X PUT https://api-eu.sulpayments.ch/v1/order/ord_5f1a3b2c/refund \
  -H "Authorization: Bearer {token}"
{
  "id": "ord_5f1a3b2c",
  "status": "refund_processing"
}