Versions Compared

Key

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

...

...

...

...

...

...

...

...

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

Panel
bgColor#79E2F2#F4F5F7

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

Panel
bgColor#79E2F2#F4F5F7

HTTP Method: GET

...

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

Code Blockpanel
bgColor

 

...

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)

...

#FFC400

Sample Request Payload

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

 

 

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": true,
  "error": "string",
  "message": "string","Payment For Nike Air - INV100000000",
        "responseCodealias": "string0-k2tmbuy",
  "value": {     "idlink": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
https://app-aaaspaymentlink-stg.azurewebsites.net/0-k2tmbuy",
   "name": "string",     "descriptionamountInfo": "string", {
      "alias": "string",     "linkcurrencyCode": "stringNGN",
    "amountInfo": {       "currencyCodeamount": "string",100
      "amount": 0 },
   },     "linkType": "stringReuseable",
        "status": "stringNew",
        "createdDate": "2023-03-04T2031T10:3943:20.627Z09.1931541+00:00",
        "environment": "stringTest"
    },
    "additionalProp1isSuccess": "string"true,
  "additionalProp2": "string",   "additionalProp3message": "stringRequest Successful"
}

 

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.

...