Step 1: Call Get a unique Payment link Endpoint
Title: Get unique Payment link
Description: This endpoint may be used to get a unique payment link
URL: api /payment/payment-link/{id}
HTTP Method: GET
Headers: authorization Set value to Bearer SECRET_KEY
string
First, you pass the unique id associated with a payment link. Here are the details you'll need:
Sample Request
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
Response Body Response code : 200
{ "value": { "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "name": "Nike Air", "description": "Payment For Nike Air - INV100000000", "alias": "0-k2tmbuy", "link": "https://app-aaaspaymentlink-stg.azurewebsites.net/0-k2tmbuy", "amountInfo": { "currencyCode": "NGN", "amount": 100 }, "linkType": "Reuseable", "status": "New", "createdDate": "2023-03-31T10:43:09.1931541+00:00", "environment": "Test" }, "isSuccess": true, "message": "Request Successful" }
0 Comments