Refunds
Get refund status
GET
/api/v1/pawapay/refunds/:refundIdChecks a refund's current status directly with PawaPay.
Requires Authorization
ADMIN, ACCOUNTANT only
Session
Path parameters
refundIdstringrequired | Refund ID. |
Request
curl --request GET \
--url https://api.swiftgoma.com/api/v1/pawapay/refunds/:refundId \
--header 'Authorization: Bearer <access_token>'200Example response
{
"success": true,
"data": {
"refundId": "ref_1a2b3c4d",
"depositId": "SWG-DEP-9f8e7d6c5b4a3210",
"status": "COMPLETED"
}
}