cURL
curl --request GET \ --url https://api.example.com/api/refund \ --header 'Authorization: Bearer <token>'
{ "transactionId": "<string>", "refundTransactionId": "<string>", "status": "created" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
payment transaction id
refund transaction id
created
succeeded
failed
canceled
closed
refunding