Payment API
Create Payment Link
POST
/
api
/
v1
/
payment_link
Headers
X-Api-Key
string
requiredBody
application/json
line_items
object[]
requiredorder_price
object
requiredenv_mode
enum<string>
requiredSpecify 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
requiredcancel_callback_url
string
requiredfailure_callback_url
string
requiredmetadata
object
Response
200 - application/json
payment_order_id
string
payment_url
string