Documentation

Get Transaction Refunds

📘

Authentication Route

This route is secured with processor and vendor token authentication.

This API returns a list of refund requests for a specific transaction.


Endpoint

   /3p/api/v1/transactions/{transaction_uuid}/refunds

 

Response Object

{
    "status": true,
    "message": "",
    "data": {
        "total": 50,
        "refunds": [
            {
                "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",
                "created_at": "2024-05-30 18:32:37",
                "updated_at": "2024-05-30 18:32:37"
            },
            {
                "transaction_uuid": "9c2af585-9fea-4c47-ac12-e00f42943cd8",
                "refund_uuid": "9c2b361d-7075-4831-9f26-bea0917ba85d",
                "amount": 40,
                "status": "REFUND_ACH_PENDING",
                "client_reference_id": "infiniRefundW@12",
                "payer_uuid": "4a9d2b92-55e6-4234-8732-a4296f73ee21",
                "payee_uuid": "7a70d56c-ee4d-43f1-9021-fc060fb4c460",
                "created_at": "2024-05-30 18:34:14",
                "updated_at": "2024-05-30 18:34:14"
            }
        ]
    },
    "errors": null,
    "error_code": null
}

Errors & Warnings

CodeMessage
401
422