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.
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-10-24"
Body
The issuing account.
"biz_xxxxxxxxxxxxxx"
The one-time 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. Multiple items require unlimited stock and 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 <= x <= 1002.5
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. Changing email recipients does not change this buyer.
"mber_xxxxxxxxxxxxxx"
Up to 50 caller-owned string key/value pairs.
A saved payment method belonging to the member. Issuing the invoice charges it.
"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
"2026-01-01T12:00:00.000Z"
"Dana"
null
"marcus@shinetime.example"
"pay_xxxxxxxxxxxxxx"
null
null
"mber_xxxxxxxxxxxxxx"
"#xxxxxxxx"
invoice "invoice"
false
null
null
Invoice email recipients, independent of the billed customer.
draft, open, authorized, paid, pending, uncollectible, unresolved, void "open"
estimated, final "final"
"2026-01-01T12:00:00.000Z"

