Create Invoice
Creates a draft invoice backed by a receipt, with saved items, quantities, prices, and recipients. Issue the draft to resolve final tax and open the invoice. The pay_ ID stays the same when paid. Needs invoice:create or payment:charge; a payment_method_id needs payment:charge.
Authorizations
An Account API key, an App API key, an account access token, an account-scoped user token, or a user OAuth token. Prepend the key or token with Bearer, for example Bearer ***************************. See Auth & API keys for how to get each one.
Headers
A unique key that makes this request safe to retry. See Idempotent requests.
255"d9105228-4a08-46b1-8b91-42fed586d383"
Pins the request to a dated API version.
"2026-11-07"
Body
The issuing account.
"biz_xxxxxxxxxxxxxx"
The variants being invoiced, all in the same currency. Each variant may appear once; use quantity for multiple units. Product and price come from each variant; a recurring variant must belong to a product, bills its renewal price and, once the invoice is paid, renews as a subscription collected by the collection_method the invoice was sent or issued with. With several items, every item that has a product must be a regular product, and all items need compatible payment, tax, and access settings.
1 - 50 elements- Option 1
- Option 2
Create a billing address linked to this member.
The buyer's adjustable fee in percentage points, with at most two decimal places: 0 for none, or between 5 and 100. The account keeps it, and Whop waives its take rate on the invoice.
0 <= x <= 1005
The contact name when creating an email-only member.
When payment is due, as an ISO 8601 timestamp.
Resolve or create the member for this email, creating a Whop user when none exists. Mutually exclusive with member_id.
"marcus@shinetime.example"
An address associated with the member. Mutually exclusive with billing_address.
The billed customer, a member of the account, prefixed mber_. It can't change once the draft is created. Changing email recipients does not change this buyer.
"mber_xxxxxxxxxxxxxx"
A note to the customer, shown on the invoice email, PDF, and checkout page with its line breaks kept. Trimmed; null or blank clears it. Can be updated on draft, open, or uncollectible invoices.
1000"Thanks for your business. Payment terms: net 30."
Up to 50 caller-owned string key/value pairs. The invoice_memo key is reserved and ignored; set memo instead.
A saved payment method belonging to the member, prefixed payt_. Sending or issuing the invoice charges this method at the charge_at passed to that call, otherwise on due_at, or right away when there is no due_at or it has passed. Sending also emails the invoice now when the charge is later; issuing does not. Setting it needs payment:charge.
"payt_xxxxxxxxxxxxxx"
Email addresses saved for invoice delivery, independent of the billed customer. Saving them sends no email. Defaults to the customer email when omitted on create. Can be updated on draft, open, or uncollectible invoices.
50Response
invoice created
"biz_xxxxxxxxxxxxxx"
0
A signed link that opens this invoice in a checkout session so the buyer can pay it: pass it as link to POST /checkout_sessions. Present while the invoice is open; null in any other status, for an invoice billed to a business buyer or whose membership was canceled, and unless you have payment:charge, or invoice:create or invoice:update on an invoice with no payment_method_id.
"pay_xxxxxxxxxxxxxx.eyJfcmFpbHMiOnsiZGF0YSI6WzEsZmFsc2VdLCJwdXIiOiJSZWNlaXB0XG5jaGVja291dF9tb3VudFxuIn19--xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
"2026-01-01T12:00:00.000Z"
"Dana"
null
"marcus@shinetime.example"
"pay_xxxxxxxxxxxxxx"
null
null
"mber_xxxxxxxxxxxxxx"
The membership this invoice bills, prefixed mem_: the subscription a renewal invoice renews, or the one created when an invoice with a recurring item is issued. Null for one-off invoices, for a draft not yet issued, and without the member:basic:read permission.
"mem_xxxxxxxxxxxxxx"
A note to the customer, shown on the invoice email, PDF, and checkout page with its line breaks kept. null when none is set.
null
"#xxxxxxxx"
invoice "invoice"
false
null
"payt_xxxxxxxxxxxxxx"
Invoice email recipients, independent of the billed customer.
When the invoice's saved payment method will be charged, as an ISO 8601 timestamp: the charge_at it was sent or issued with, or due_at when an invoice with a payment_method_id is sent or issued before it is due without one. On a draft, the charge_at of its scheduled send. null otherwise, once the charge starts, and once the invoice is paid, void, or uncollectible.
null
The collection_method a draft's scheduled send applies when it fires. null when the draft has no scheduled send or it was scheduled without one, and once the invoice is issued.
charge_automatically, send_invoice, null "charge_automatically"
null
draft, open, authorized, paid, pending, uncollectible, unresolved, void "open"
estimated, final "final"
"2026-01-01T12:00:00.000Z"

