GET
/
v2
/
refunds
/
{refundId}
curl --request GET \
  --url https://api.sandbox.pawapay.io/v2/refunds/{refundId} \
  --header 'Authorization: Bearer <token>'
{
"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"
}
}
}

Get the current status of the refund based on it’s refundId.

Authorizations

Authorization
string
header
required

Path Parameters

refundId
string
required

The id of the refund that you are performing this operation on.

Required string length: 36

Response

200
application/json

Request has been processed by pawaPay

The response is of type object.