Logo
30sec's Public API Documentation

Refund a captured transaction

POST {{payment-url}}/transactions/{{authorization_id}}/actions/refund

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Authorization
string
Content-Type
string
X-Client-Id
string
X-Client-Secret
string




RESPONSES

status





Curl
curl -X POST 'payment-url/transactions/authorization_id/actions/refund' -H 'Authorization: Bearer access_token' -H 'Content-Type: application/json' -H 'X-Client-Id: payment-clientId' -H 'X-Client-Secret: payment-clientSecret' -d '{"amount":1}'

ENDPOINTS