Authorizations
The app API key from an app from the /dashboard/developer page
Body
- CreateInvoiceInputWithProductAndMemberId
- CreateInvoiceInputWithProductAndEmailAddress
- CreateInvoiceInputWithProductIdAndMemberId
- CreateInvoiceInputWithProductIdAndEmailAddress
Parameters for CreateInvoice Autogenerated input type of CreateInvoice
The company ID to create this invoice for.
"biz_xxxxxxxxxxxxxx"
The properties of the product to create for this invoice. Include this if you want to create an invoice for a new product.
The member ID to create this invoice for. Include this if you want to create an invoice for an existing member. If you do not have a member ID, you must provide an email_address and customer_name.
"mber_xxxxxxxxxxxxx"
The properties of the plan to create for this invoice.
The method of collection for this invoice. If using charge_automatically, you must provide a payment_token.
send_invoice, charge_automatically The date the invoice is due, if applicable.
"2023-12-01T05:00:00.401Z"
The name of the customer to create this invoice for. This is required if you want to create an invoice for a customer who does not have a member of your company yet.
Whether or not to charge the customer a buyer fee.
The payment token ID to use for this invoice. If using charge_automatically, you must provide a payment_token.
"payt_xxxxxxxxxxxxx"
Response
A successful response
A statement that defines an amount due by a customer.
The ID of the invoice.
"inv_xxxxxxxxxxxxxx"
The date the invoice was created.
"2023-12-01T05:00:00.401Z"
The status of the invoice.
open, paid, past_due, void The number of the invoice.
The date the invoice is due.
"2023-12-01T05:00:00.401Z"
The email address that the invoice was created for.
A signed token that allows fetching the invoice data publically without being authenticated.
The plan that the invoice was created for.
The user that the invoice was created for.

