Create Invoice
Create an invoice.
Authorizations
Your API key. This is required by all endpoints to access our API programatically. You can view your API Key by navigating to the app settings
Body
ISO 4217 currency code for the link. Retrieve codes from the /currencies endpoint.
3
List of items associated with this link, including name and amount.
Customer ID, Get the customer id from /customer api
Invoice title
50
Invoice due date
Discount percentage.
0 < x < 100
Invoice number
30
A note to describle what you're selling
280
Whether shipping address is required.
Invoice start date
Custom fields to add. Maximum of 5 allowed
URL to redirect to upon successful transaction completion
URL to redirect to if the transaction fails.
Response
URL of the link or invoice,
enabled
- Enableddisabled
- disabledarchived
- Archivedpaid
- Paidunpaid
- Unpaidoverdue
- Overduecancelled
- Cancelledscheduled
- Scheduled
enabled
, disabled
, archived
, paid
, unpaid
, overdue
, cancelled
, scheduled
Redirects to the success URL after the invoice is completed.
Redirects to the failure URL if the invoice payment fails.