Versions Compared

Key

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

...

...

...

Get Payment link Information by Alias

Panel
bgColor#79E2F2

Title: Get unique Payment link

Panel
bgColor#79E2F2#F4F5F7

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

Panel
bgColor#79E2F2#F4F5F7

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

Panel
bgColor#79E2F2#F4F5F7

HTTP Method : GET

 

Panel
panelIconIdatlassian-info
panelIcon:info:
bgColor#B3D4FF

First, you pass the alias associated

to

with a payment link.

Here are the details you'll need:

Code Block
Alias

 

  • 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)

  • metadata (optional): An object containing any extra information you'd like to store alongside the transaction e.g {CVV

 

The response body below is returned;

 

Panel
bgColor#79E2F2#FFC400

Response Body Response code : 200

Code Block
languagejs
{
    "typevalue": "string", {
      "titleid": "string3fa85f64-5717-4562-b3fc-2c963f66afa6",
   "status": 0,     "detailname": "stringNike Air",
    "instance": "string",   "isSuccessdescription": "Payment true,For Nike Air "error":- INV100000000"string",
    "message": "string",   "responseCodealias": "string0-k2tmbuy",
  "value": {     "idlink": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "name": "string",https://app-aaaspaymentlink-stg.azurewebsites.net/0-k2tmbuy",
        "descriptionamountInfo": "string", {
      "alias": "string",     "linkcurrencyCode": "stringNGN",
    "amountInfo": {       "currencyCodeamount": "string",100
      "amount": 0 },
   },     "linkType": "stringReuseable",
        "status": "stringNew",
        "createdDate": "2023-03-04T2131T10:0343:06.094Z09.1931541+00:00",
        "environment": "stringTest"
    },
    "additionalProp1isSuccess": "string"true,
  "additionalProp2": "string",   "additionalProp3message": "stringRequest Successful"
}

 

...

Filter by label (Content by label)
showLabelsfalse
max5
spacescom.atlassian.confluence.content.render.xhtml.model.resource.identifiers.SpaceResourceIdentifier@1256f
sortmodified
showSpacefalse
reversetrue
typepage
cqllabel = "kb-how-to-article" and type = "page" and space = "LAD"
labelskb-how-to-article