Skip to main content
GET
/
3p
/
api
/
v1
/
transactions
/
{transaction_uuid}
/
refunds
Get Transaction Refunds ( STABLE )
curl --request GET \
  --url https://api.grailpay.com/3p/api/v1/transactions/{transaction_uuid}/refunds \
  --header 'Authorization: Bearer <token>'
{
  "status": true,
  "message": "",
  "data": {
    "total": 50,
    "refunds": [
      {
        "transaction_uuid": "9c2af585-9fea-4c47-ac12-e00f42943cd8",
        "refund_uuid": "9c2b3589-160b-45a6-bbad-2694fdd8aeae",
        "amount": 50,
        "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-04-18 01:00:20",
        "updated_at": "2024-04-18 02:30:45",
        "failure_code": "R01",
        "failure_reason": "Insufficient funds"
      }
    ]
  },
  "errors": {},
  "error_code": "<string>"
}

Authorizations

Authorization
string
header
required

Sanctum token-based authentication using the Bearer scheme. This is provided by the GrailPay Customer Support Team

Path Parameters

transaction_uuid
string<uuid>
required

Transaction UUID

Example:

"9c2af585-9fea-4c47-ac12-e00f42943cd8"

Response

Refunds retrieved successfully

status
boolean
Example:

true

message
string
Example:

""

data
object
errors
object | null
error_code
string | null