Versions Compared

Key

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

...

...

...

...

...

Panel
bgColor#79E2F2

Title: Get unique Payment link

Panel
bgColor#F4F5F7

Description: This endpoint may be used to get a unique payment link

Panel
bgColor#F4F5F7

URL: https://laas.leatherback.co/api /payment/payment-link/{id}

Panel
bgColor#F4F5F7

HTTP Method: GET

Panel
bgColor#F4F5F7

Headers: authorization Set value to X-API: SECRET_KEY

string

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

Panel
bgColor#FFC400

Sample Request Payload

Code Block
languagejs
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",

 

 

Panel
bgColor#FFC400

Response Body Response code : 200

Code Block
languagejs
{
    "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"
}

...