Retrieve Invoice
Changed onRetrieves a receipt-backed invoice by its pay_ ID.
Request
- Base URLhttps://api.whop.com/api/v1
- AuthHTTP bearer
Path parameters
The invoice's pay_ ID.
Headers
Pins the request to a dated API version.
Response
invoice
The account that sent the invoice.
True when the customer pays only the initial fee of each item now and is first charged the renewal price at subscription_starts_at. Until then the membership is scheduled and has no access.
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, and for an invoice whose membership was canceled. Also null unless you have payment:charge, or invoice:create or invoice:update on an invoice with no payment_method_id.
True when DELETE /invoices/{id} can delete this invoice. A draft qualifies unless it is scheduled or bills a subscription. A void invoice qualifies unless it collected money or still awaits a bank wire.
When the invoice was issued, as an ISO 8601 timestamp. This is when it left draft, which can be after created_at for an invoice drafted or scheduled ahead. null while the invoice is a draft, and for invoices issued before this field was introduced.
The membership this invoice bills, prefixed mem_. For a renewal invoice, it is the subscription that renews. For an invoice with a recurring item, it is the membership created when the invoice is issued. Null for one-off invoices, for a draft not yet issued, and without the member:basic:read permission.
A note to the customer, shown on the invoice email, PDF, and checkout page with its line breaks kept. null when none is set.
Key-value pairs the seller stored on the invoice. Empty when the invoice is read without a credential.
When the customer accepted and signed the quote, as an ISO 8601 timestamp. An edit to the draft clears it, unless the edit changes only recipient_emails. null when the quote was not accepted.
The share of the quote billed as a deposit when the customer signs, such as 30 for 30%. null when the deposit is a fixed amount or there is none.
Where the customer pays the next unpaid invoice in quote_invoice_ids. Only returned when the quote is read with its customer token. null otherwise, and when nothing is waiting to be paid.
When the draft was last emailed to its recipients as a quote, as an ISO 8601 timestamp. A quote stays a draft and cannot be paid. It is not issued on its due_at. null when the invoice was never sent as a quote.
A link to the signature the customer drew, as a PNG image with a transparent background. The link expires after a short time. null when the quote was not accepted, and for a credential without the member:basic:read permission.
The email address of the Whop user who signed the quote. null when the quote was not accepted, when the signer was not signed in to Whop, and without the member:email:read permission.
The full name the customer typed to sign the quote. null when the quote was not accepted, and for a credential without the member:basic:read permission.
When the invoice's saved payment method will be charged, as an ISO 8601 timestamp. It is the charge_at the invoice was sent or issued with. Without one, it is due_at when an invoice with a payment_method_id is sent or issued before it is due. On a draft, it is the charge_at of its scheduled send. null otherwise, once the charge starts, and once the invoice is paid, void, or uncollectible.
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.
Whether this draft is issued automatically when its due_at arrives. Issuing it charges its payment_method_id, or emails its payment link to its recipient_emails. false for an invoice that is not a draft, for a draft with a scheduled send, and for a draft sent as a quote. false while sending the draft would fail for missing recipients or an unavailable payment link. false for a draft that had no future due_at when it was last saved. false for a draft created before 2026-11-12T22:00:00Z.
When the first billing period of the invoice's recurring items starts, as an ISO 8601 timestamp. Renewals count from this moment. null starts the period when the invoice is paid, and so does a time that has passed by then. An invoice with a start date skips its variants' free trial. With charge_at_subscription_start, the subscription and its access begin at this moment instead.
The IANA time zone for the dates on the invoice's email and PDF, such as America/New_York. UTC unless one was set.
The amount the invoice charges, including tax. On a draft, it includes the estimated tax_amount, if any.
Example response
{
"account": {
"id": "biz_xxxxxxxxxxxxxx",
"title": "Shine Time Auto Detailing"
},
"account_id": "biz_xxxxxxxxxxxxxx",
"amount_due": {
"amount": "-1234.56",
"currency": "usd",
"decimals": 2,
"display_decimals": 2
},
"billing_address": {
"city": "Austin",
"country": "US",
"line1": "1114 Bouldin Ave",
"line2": "Unit B",
"name": "Dana Whitfield",
"postal_code": "78704",
"state": "TX"
},
"buyer_fee_amount": {
"amount": "-1234.56",
"currency": "usd",
"decimals": 2,
"display_decimals": 2
},
"checkout_link": "pay_xxxxxxxxxxxxxx.xxxxxxxxxxxxxxxx",
"created_at": "2026-01-01T12:00:00.000Z",
"customer_name": "Dana",
"email_address": "marcus@shinetime.example",
"id": "pay_xxxxxxxxxxxxxx",
"issued_at": "2026-01-01T12:00:00.000Z",
"line_items": [
{
"description": "Deposit toward invoice #xxxxxxxx: $225.00 of $750.00, $525.00 left after this",
"discount_amount": {
"amount": "-1234.56",
"currency": "usd",
"decimals": 2,
"display_decimals": 2
},
"id": "li_xxxxxxxxxxxxxx",
"initial_price": {
"amount": "-1234.56",
"currency": "usd",
"decimals": 2,
"display_decimals": 2
},
"label": "Deposit (30%)",
"product_id": "prod_xxxxxxxxxxxxxx",
"quantity": 1,
"subtotal": {
"amount": "-1234.56",
"currency": "usd",
"decimals": 2,
"display_decimals": 2
},
"tax_amount": {
"amount": "-1234.56",
"currency": "usd",
"decimals": 2,
"display_decimals": 2
},
"unit_amount": {
"amount": "-1234.56",
"currency": "usd",
"decimals": 2,
"display_decimals": 2
},
"variant_id": "plan_xxxxxxxxxxxxxx"
}
],
"member_id": "mber_xxxxxxxxxxxxxx",
"membership_id": "mem_xxxxxxxxxxxxxx",
"metadata": {},
"number": "#xxxxxxxx",
"object": "invoice",
"payment_method_configuration": {
"disabled": [
"card"
],
"enabled": [
"card"
],
"include_platform_defaults": true
},
"payment_method_id": "payt_xxxxxxxxxxxxxx",
"quote_accepted_at": "2026-01-01T12:00:00.000Z",
"quote_amount_paid": {
"amount": "-1234.56",
"currency": "usd",
"decimals": 2,
"display_decimals": 2
},
"quote_amount_remaining": {
"amount": "-1234.56",
"currency": "usd",
"decimals": 2,
"display_decimals": 2
},
"quote_deposit_amount": {
"amount": "-1234.56",
"currency": "usd",
"decimals": 2,
"display_decimals": 2
},
"quote_sent_at": "2026-01-01T12:00:00.000Z",
"quote_signature_url": "https://whop-assets-example.s3.amazonaws.com/xxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"quote_signer_name": "Dana Whitfield",
"recipient_emails": [
"marcus@shinetime.example"
],
"scheduled_collection_method": "charge_automatically",
"status": "open",
"subtotal": {
"amount": "-1234.56",
"currency": "usd",
"decimals": 2,
"display_decimals": 2
},
"tax_amount": {
"amount": "-1234.56",
"currency": "usd",
"decimals": 2,
"display_decimals": 2
},
"time_zone": "UTC",
"total": {
"amount": "-1234.56",
"currency": "usd",
"decimals": 2,
"display_decimals": 2
},
"totals_status": "final",
"updated_at": "2026-01-01T12:00:00.000Z"
}Changes
- info
added the required property
charge_at_subscription_startto the response with the status
- info
- info
added the required property
issued_atto the response with the status
- info