POST

Headers

string
required
Your API access key.
string
required
Your API secret key.

Body

string
required
A short title for the payment (e.g. “Order #1234” or “Monthly subscription”).
number
required
Payment amount in taka (e.g. 500 for ৳500).
string
Optional description shown to the customer on the payment page.
string
default:"BDT"
Currency code. Currently only BDT is supported.
boolean
default:"false"
Set to true to allow multiple customers to pay using the same link. When false, the link deactivates after the first successful payment.
number
Maximum number of successful payments allowed. Only applicable when is_reusable is true. Omit for unlimited uses.
string
ISO 8601 datetime string after which the link will no longer accept payments (e.g. "2025-12-31T23:59:59Z"). Omit for no expiry.
string
URL to redirect the customer to after a successful payment.

Response

Returns the newly created payment link object.
string
Unique payment link ID.
string
The shareable payment link URL to send to your customers.
string
The URL slug identifier.
string
Payment link title.
string
Description, if provided.
number
Amount in BDT.
string
Currency code.
boolean
Whether the link is reusable.
boolean
Always true on creation.
number
Always 0 on creation.
number
Max uses limit, if set.
string
Expiry datetime, if set.
string
Redirect URL after payment.
string
ISO 8601 timestamp.
string
ISO 8601 timestamp.