Appearance
Get Payment Link Transactions
GET /api/payment/payment-link/{id}/transactions
Lists payments made through one payment link.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string | Yes | Payment link ID |
pageNumber | query | string | No | Page number |
pageSize | query | string | No | Items per page |
Request
bash
curl "https://laas.rexel.ng/api/payment/payment-link/3fa85f64-5717-4562-b3fc-2c963f66afa6/transactions?pageNumber=1&pageSize=10" \
-H "X-Api: sk_test_xxx"Response
json
{
"items": [
{
"linkAlias": "0-k2tmbuy",
"customerName": "Oghale-Oghene Etomu",
"paymentChannel": "Card",
"currencyCode": "NGN",
"amount": 100,
"transactionDate": "2023-03-31T10:59:08.3830937",
"status": "New"
}
],
"pageParams": { "pageNumber": 1, "pageSize": 10, "totalCount": 1 },
"isSuccess": true,
"message": "Request Successful"
}