PUT
/
v1
/
payment
/
{identifier}
/
refund
curl -X PUT https://api-eu.sulpayments.ch/v1/payment/9f1a3b2c-.../refund \
  -H "Authorization: Bearer {token}"
{
  "payment_id": "9f1a3b2c-...",
  "status": "refunded"
}
Only payments in paid, compensated, or refund_error state can be refunded.

Headers

Authorization
string
required
Bearer {token}

Path

identifier
string
required
Payment UUID returned by POST /v1/payment.

Response

payment_id
string
status
string
curl -X PUT https://api-eu.sulpayments.ch/v1/payment/9f1a3b2c-.../refund \
  -H "Authorization: Bearer {token}"
{
  "payment_id": "9f1a3b2c-...",
  "status": "refunded"
}