Fetch A Refund By Reference
GET
/collection-middleware/fetch/{refundReference}
This endpoint fetches a refund by its reference, allowing a partner to retrieve the details of a specific refund. A partner would call this endpoint when they need to access the status and details of a refund that has been processed through the CSL Pay platform. The endpoint returns the refund details in a structured format.
Path parameters
| Name | Type | Description |
|---|---|---|
| refundReferencerequired | string | — |
Request body (optional)
This endpoint accepts a body with no declared schema.
Response 200
| Field | Type | Description |
|---|---|---|
| success | boolean | — |
| data | object | — |
| refundReference | string | — |
| referenceTransactionId | string | — |
| status | string | — |
| refundAmount | number | — |
| feeReversedAmount | number | — |
| currencyCode | string | — |
| payerAccountNumber | string | — |
| payerBankCode | string | — |
| payerName | string | — |
| settlementRoute | string | — |
| feePolicy | string | — |
| providerReference | string | — |
| providerResponse | string | — |
| reason | string | — |
| failureReason | string | — |
| initiatedAt | string | — |
| completedAt | string | — |
| error | object | — |
| code | string | — |
| message | string | — |