Step 1: Call Get all Payment links Endpoint
...
Panel | ||
---|---|---|
| ||
HTTP Method : GET |
First, you need to gather the payment details. Here are the details you'll need:
...
...
amount
: The amount to charge the customer.
...
currency Code
: A three-letter ISO code for the currency in which you want to accept the payment. A unique code that represents a defined business currency. E.g NGN=Nigerian Naira, USD =United state Dollars etc (Required) If you don't specify a value, we'll assume "NGN"
...
Tax Enabled:
Specify if Tax/fees is applicable on the purchase value (true, false)
...
name
: This is the name of the item to be purchased via the payment link
...
description: This is the description of the item to be purchased
...
link Type
: This specify how often the payment link can be used. (Reusable, One-time)
...
Query Request Params
Code Block |
---|
filterParam
string
(query)
filterParam
pageSize
integer($int32)
(query)
pageSize
pageNumber
integer($int32)
(query) |
Panel | ||
---|---|---|
| ||
Response Body Response code : 200 |
Code Block |
---|
{ "isSuccess": true, "error": "string", "value": { "message": "string", "responseCode": "string", "items": [ { "id": "d574c37c3fa85f64-cf555717-46a54562-9556b3fc-08db1c659f7d2c963f66afa6", "name": "REDMIstring", "description": "JJstring", "alias": "0-mjlyfibstring", "link": "https://app-aaaspaymentlink-dev.azurewebsites.net/0-mjlyfibstring", "amountInfo": { "currencyCode": "NGNstring", "amount": 50000 }, "linkType": "Reuseablestring", "status": "Newstring", "createdDate": "2023-03-04T0415T16:0432:59.6635547+00:0038.605Z", "environment": "Teststring" }, "isSuccess": true], "errorpageParams": "",{ "messagepageNumber": "Request Successful"0, "typepageSize": null0, "titletotalCount": null,0 "status": null, "detail": null, "instance": null } |
Info |
---|
Highlight important information in a panel like this one. To edit this panel's color or style, select one of the options in the menu.}
} |
\uD83D\uDCCB Related articles
...