πŸ’°Generate Payment Link

This API allows you to generate a secure, one-time PayLater arrow-up-rightpayment link for a specific order. The response includes a URL that must be used to redirect the customer to complete their PayLater arrow-up-righttransaction. Ideal for web and app checkouts where you want to initiate the PayLater arrow-up-rightflow externally and return to your platform post-payment.

Endpoint

Sandbox

POST https://connect-sandbox.paylaterapp.com/api/paylater/merchant-portal/web-checkout/

Production

POST https://connect.paylaterapp.com/api/paylater/merchant-portal/web-checkout/

Headers

  • x-api-key: Your API key (Required)

  • Content-Type: application/json

Request Body

merchantId

String

βœ…

Unique ID assigned to your business

outletId

Long

βœ…

Storefront or outlet identifier

currency

String

βœ…

Must be QAR

amount

Double

βœ…

Range: 300–25,000

orderId

String

βœ…

Merchant unique transaction identifier

successRedirectUrl

String

βœ…

URL to redirect customer on success

failRedirectUrl

String

βœ…

URL to redirect customer on failure

Sample cURL

Success Response

Error Response (Example)

Last updated