v1

latestOpenAPI 3.1.02026-07-24680631.6 KB

Submit quote & generate payment link

This API is required to fix the quote that was requested earlier. and submit the same for getting the payment link generated. remember that the quote is valid only for 30 minutes. Payment link is valid till the quote is valid. Post that the payment link will be required to be regenerated.

get/fund/customer/paymentlink/get

Headers

api-keystring

API Key

auth-keystring

Auth key generated using API & Access key

Request body

customerIDstring required

This customer ID provide by API user. This is unique id.

quoteIDstring required

Selected quote id from get quote api response

bankIDstring required

Select Bank from banks list

redirectUrlstring

Url to which we must redirect after payment is successful or failed. (Optional)

Response

200

statusinteger

Example response

{
  "status": 200,
  "doc": {
    "payLink": "https://sandbox.fairexpay.com/non/capitalTransPay/59186f2e-4c42-41f4-bfd1-3d8bb868d5d7",
    "fromAmount": 1560.91,
    "toAmount": 20,
    "transactionId": "7d6fb642-83f7-4e24-bebc-52a1e0f686ba",
    "exchangeRate": 0.012813,
    "baseAmount": 1560.91,
    "gst": 45,
    "bankCharge": 200,
    "handleCharge": 225,
    "totAdditionalAmount": 470,
    "finalPaymentAmount": 2030.91
  }
}