cURL
curl --request GET \ --url https://api.sandbox.pawapay.io/v2/refunds/{refundId} \ --header 'Authorization: Bearer <token>'
200
COMPLETED
{ "status": "FOUND", "data": { "refundId": "8917c345-4791-4285-a416-62f24b6982db", "status": "COMPLETED", "amount": "123.00", "currency": "ZMW", "country": "ZMB", "recipient": { "type": "MMO", "accountDetails": { "phoneNumber": "260763456789", "provider": "MTN_MOMO_ZMB" } }, "customerMessage": "From ACME company", "created": "2020-10-19T08:17:01Z", "providerTransactionId": "12356789", "metadata": { "orderId": "ORD-123456789", "customerId": "customer@email.com" } }}
refundId
See Authentication.
The id of the refund that you are performing this operation on.
36
Request has been processed by pawaPay
The response is of type object.
object
Was this page helpful?