v1

latestOpenAPI 3.1.02026-07-24680631.6 KB

Generate Payment Link

The Generate Pay Link API allows the API user to create a Payment link for the application user at the Payment Gateway for the payment to complete the transaction

post/v1/client/transaction/gen-payment-link

Headers

api-keystring required

API Key

auth-keystring required

The Auth Key via the Generate Auth Key API

userIdstring required

User Id as generated via the "Create Account (sign-Up) API". Identifier of an individual user, you can map this to the User identification at your end.

Request body

transactionIdstring required

Transaction ID from the Generate Quote API

redirectUrlstring

The URL where the application ser is redirected to post completion/ termination of payment at PG

Response

200

statusinteger
messagestring

Example response

{
  "status": 200,
  "message": "Success",
  "data": {
    "paymentLink": "https://prod.CF.com/non/capitalTransPay/e37dd971-789e-4fe5-b845-52f73586ebd2",
    "status": "WAITING_FOR_FUND",
    "amount": 83448.57,
    "createdAt": "2024-03-17T05:51:50.000+00:00",
    "expiry": "2024-03-17T06:21:50.000Z",
    "transactionId": "ER391111"
  }
}