Create Invoice

Create an Invoice

Creating a new Invoice

curl --location -g --request POST '{{BASE_URL}}/v2/create-invoice' \
--header 'Authorization: Bearer {{API_KEY}}' \
--header 'Content-Type: application/json' \
--data-raw '{
    "name": "api Invoice test",
    "invoice_number": "1234",
    "subject":   "API test",
    "description": "Rent for Q1",
    "amount": 30,
    "currency_name": "USD",
    "items": {
		"1": {
			"name": "Test Item 1",
			"price": 10
		"2": {
			"name": "Test Item 2",
			"price": 20

Create an invoice.


Creates a new invoice.

Request Body

    "success": true,
    "data": {
        "checkout_page_url": "",
        "payment_status": "waiting"
    "message": "Invoice successfully created. Waiting for the payment."

After order creation, our system will send you a checkout page URL. You should redirect your customers to that URL.

If you send information about items, this will be displayed on the checkout page:

Last updated