POST
/
api
/
v1
/
payment_link

Headers

X-Api-Key
string
required

Body

application/json
line_items
object[]
required
order_price
object
required
env_mode
enum<string>
required

Specify the env_mode to indicate the environment (e.g., test or live). On successful payment, webhook events are sent to subscriptions with the same env_mode as the payment link.

Available options:
test,
live
success_callback_url
string
required
cancel_callback_url
string
required
failure_callback_url
string
required
metadata
object

Response

200 - application/json
payment_order_id
string
payment_url
string