To create a new invoice, use the Generate Invoice endpoint. Provide details like the invoice currency, amount, and callback URL. In response, you’ll get a unique payment link that your customer can use to complete the payment.
The main required fields are:
Merchant API Key
— The key you generated from your dashboard for merchant services
amount
— the product price you want to display on the invoice.-
currency
— the currency that is shown next to the product price (like USD, EUR, etc.)
You can also optionally include:
-
-
callback_url
— where payment updates will be sent. -
return_url
— where the user is redirected after payment. -
email
,order_id
,description
, andthanks_message
for custom data.
-