Versions Compared

Key

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

Get Payment link Information by Alias

...

Panel
bgColor#F4F5F7

Description : This endpoint may be used to get a unique payment link by passing an Alias

Panel
bgColor#F4F5F7

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

Panel
bgColor#F4F5F7

HTTP Method : GET

Panel

...

Headers: authorization Set value to X-API: SECRET_KEY

...

panelIconIdatlassian-info
panelIcon:info:
bgColor

...

#B3D4FF

First, you pass the alias associated with a payment link. The response body below is returned;

 

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"
}

...