Versions Compared

Key

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

Step 1: Get Payment link Information by Alias

...

Panel
bgColor#79E2F2

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

Panel
bgColor#79E2F2

URL: api /payment/payment-link/by-alias/{alias}

Panel
bgColor#79E2F2

HTTP Method : GET

Panel
bgColor#79E2F2

Headers : authorization Set value to Bearer SECRET_KEY

string

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

 

Panel
bgColor#FFC400

Response Body Response code : 200

Code Block
languagejs
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "isSuccess": true,
  "error": "string",
  "message": "string",
  "responseCode": "string",
  "value": {
    "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "name": "string",
    "description": "string",
    "alias": "string",
    "link": "string",
    "amountInfo": {
      "currencyCode": "string",
      "amount": 0
    },
    "linkType": "string",
    "status": "string",
    "createdDate": "2023-03-04T21:03:06.094Z",
    "environment": "string"
  },
  "additionalProp1": "string",
  "additionalProp2": "string",
  "additionalProp3": "string"
}

...