Authorizations
Sanctum token-based authentication using the Bearer scheme. This is provided by the GrailPay Customer Support Team
Path Parameters
Refund UUID
curl --request GET \
--url https://api.grailpay.com/3p/api/v1/refunds/{refund_uuid} \
--header 'Authorization: Bearer <token>'{
"status": true,
"message": "<string>",
"data": {
"transaction_uuid": "9c2af585-9fea-4c47-ac12-e00f42943cd8",
"refund_uuid": "9c2b3589-160b-45a6-bbad-2694fdd8aeae",
"amount": 10,
"status": "REFUND_COMPLETE",
"client_reference_id": "infiniRefundW@12",
"payer_uuid": "4a9d2b92-55e6-4234-8732-a4296f73ee21",
"payee_uuid": "7a70d56c-ee4d-43f1-9021-fc060fb4c460",
"capture_delay_days": 2,
"payout_delay_days": 5,
"created_at": "2024-03-13T12:00:00Z",
"updated_at": "2024-03-14T12:00:00Z",
"failure_code": "R01",
"failure_reason": "Insufficient Funds"
},
"errors": null,
"error_code": null
}This API returns the details of a refund request.
curl --request GET \
--url https://api.grailpay.com/3p/api/v1/refunds/{refund_uuid} \
--header 'Authorization: Bearer <token>'{
"status": true,
"message": "<string>",
"data": {
"transaction_uuid": "9c2af585-9fea-4c47-ac12-e00f42943cd8",
"refund_uuid": "9c2b3589-160b-45a6-bbad-2694fdd8aeae",
"amount": 10,
"status": "REFUND_COMPLETE",
"client_reference_id": "infiniRefundW@12",
"payer_uuid": "4a9d2b92-55e6-4234-8732-a4296f73ee21",
"payee_uuid": "7a70d56c-ee4d-43f1-9021-fc060fb4c460",
"capture_delay_days": 2,
"payout_delay_days": 5,
"created_at": "2024-03-13T12:00:00Z",
"updated_at": "2024-03-14T12:00:00Z",
"failure_code": "R01",
"failure_reason": "Insufficient Funds"
},
"errors": null,
"error_code": null
}Sanctum token-based authentication using the Bearer scheme. This is provided by the GrailPay Customer Support Team
Refund UUID