Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Panel
bgColor#79E2F2

Description : This endpoint may be used to get all transactions linked to a specific Payment link

Panel
bgColor#79E2F2

URL: api /payment/payment-link/{id}/transactions?pageSize=10&pageNumber=1

Panel
bgColor#79E2F2

HTTP Method : GET

Panel
bgColor#79E2F2

Headers : authorization Set value to Bearer SECRET_KEY

string

First, you pass the unique id associated to a payment link. Here are the details you'll need:

js

Code Block
language

 

Panel
bgColor#FFC400

Response Body Response code : 200

Code Block
languagejs
{
 
"isSuccess": true,   "erroritems": "string",
  "message": "string",[
    "responseCode": "string",   "items":{
[     {       "linkAlias": "string0-k2tmbuy",
            "customerName": "stringOghale-Oghene Etomu",
            "paymentChannel": "stringCard",
            "currencyCode": "stringNGN",
            "amount": 0,100.00,
            "transactionDate": "2023-03-04T2031T10:5659:4108.036Z3830937",
            "status": "stringNew"
        }
    ],
    "pageParams": {
        "pageNumber": 01,
        "pageSize": 010,
        "totalCount": 1
 0   },
    "isSuccess": true,
    "error": }
"",
    "message": "Request Successful",
    "responseCode": null
}

...