Deprecated — use POST /api/refund/{paymentId} instead.
POST /api/refund/{paymentId}
cURL
curl --request POST \ --url https://api.suby.fi/api/payment/{paymentId}/refund \ --header 'Content-Type: application/json' \ --header 'X-Suby-Api-Key: <api-key>' \ --data ' { "reason": "<string>" } '
{ "success": true, "data": { "paymentId": "<string>", "status": "<string>" } }
API key authentication
500
Refund initiated
true
Show child attributes