Body
Parameters for CreateInvoice
The company ID to create this invoice for.
"biz_xxxxxxxxxxxxxx"
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.
1701406800
The properties of the access pass to create for this invoice. Include this if you want to create an invoice for a new product.
The access pass ID to create this invoice for. Include this if you want to create an invoice for an existing product.
"prod_xxxxxxxxxxxxx"
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.
The email address to create this invoice for. This is required if you want to create an invoice for a user who does not have a member of your company yet.
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"
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"