---
title: "Charge Invoice"
method: POST
path: "/invoices/{id}/charge"
tags: ["Invoices"]
---

# Charge Invoice

`POST /invoices/{id}/charge`

## Request

- Base URL: `https://api.whop.com/api/v1`
- URL: `https://api.whop.com/api/v1/invoices/{id}/charge`
- Auth: HTTP bearer

Charges an open invoice now to one of its customer's saved payment methods, canceling any charge scheduled for later. The charge completes asynchronously: the invoice becomes `paid`, or, if declined, stays `open` and its recipients are emailed the `checkout_link`. Refused for drafts and while another payment is in progress.

## Path parameters

- `id` string, required

## Headers

- `Api-Version-Date` string
- `Idempotency-Key` string

## Request body

- object
  - `payment_method_id` string, nullable: The saved payment method to charge, prefixed `payt_`. It must belong to the invoice's customer and be chargeable without the customer present. Omit it to charge the invoice's own `payment_method_id`.

## Response `200`

charge started

- Invoice
  - `account` AccountSummary, required: The account that sent the invoice.
    - `id` string, required: Account ID, prefixed `biz_`.
    - `title` string, required: Account display name.
  - `account_id` string, required
  - `amount_due` Money, required
    - `amount` string, required: The amount in major units, as an exact decimal string. For example, `"10.00"` is ten dollars. It is a string so that no float rounds it in transit.
    - `currency` string, required: Three-letter ISO 4217 currency code, lowercase.
    - `decimals` integer, required: How many decimal places the amount carries. This is the precision the charge itself runs at.
    - `display_decimals` integer, required: How many decimal places to SHOW. Usually equal to `decimals`, and deliberately not always: COP is charged in centavos but written in whole pesos, so it is `2` and `0`. Format the number in your own locale using this.
  - `billing_address` PaymentAddress, nullable, required
    - `city` string, nullable, required: The city.
    - `country` string, nullable, required: The ISO 3166-1 alpha-2 country code.
    - `line1` string, nullable, required: The first street address line.
    - `line2` string, nullable, required: The second street address line.
    - `name` string, nullable, required: The name on the address.
    - `postal_code` string, nullable, required: The postal or ZIP code.
    - `state` string, nullable, required: The state, province or region.
  - `buyer_fee_amount` Money, required
    - `amount` string, required: The amount in major units, as an exact decimal string. For example, `"10.00"` is ten dollars. It is a string so that no float rounds it in transit.
    - `currency` string, required: Three-letter ISO 4217 currency code, lowercase.
    - `decimals` integer, required: How many decimal places the amount carries. This is the precision the charge itself runs at.
    - `display_decimals` integer, required: How many decimal places to SHOW. Usually equal to `decimals`, and deliberately not always: COP is charged in centavos but written in whole pesos, so it is `2` and `0`. Format the number in your own locale using this.
  - `buyer_fee_percentage` number, required
  - `charge_at_subscription_start` boolean, required: 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.
  - `checkout_link` string, nullable, required: 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`.
  - `created_at` string, required
  - `customer_name` string, nullable, required
  - `deletable` boolean, required: 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.
  - `due_at` string, nullable, required
  - `email_address` string, nullable, required
  - `id` string, required
  - `invoice_prefix` string, nullable, required
  - `issued_at` string, nullable, required: 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.
  - `line_items` InvoiceLineItem[], required
    - `description` string, nullable, required: Text shown under the item on the invoice, its email, and its PDF, read from the variant's `description`. A custom charge sets it with the item's `description`. A product variant keeps its own. Null when the variant has none or has since been deleted.
    - `discount_amount` Money, nullable, required
      - `amount` string, required: The amount in major units, as an exact decimal string. For example, `"10.00"` is ten dollars. It is a string so that no float rounds it in transit.
      - `currency` string, required: Three-letter ISO 4217 currency code, lowercase.
      - `decimals` integer, required: How many decimal places the amount carries. This is the precision the charge itself runs at.
      - `display_decimals` integer, required: How many decimal places to SHOW. Usually equal to `decimals`, and deliberately not always: COP is charged in centavos but written in whole pesos, so it is `2` and `0`. Format the number in your own locale using this.
    - `id` string, nullable, required: Line item ID, prefixed `li_`. Null when the payment predates item snapshots and the item is read from the payment's variant.
    - `initial_price` Money, nullable, required
      - `amount` string, required: The amount in major units, as an exact decimal string. For example, `"10.00"` is ten dollars. It is a string so that no float rounds it in transit.
      - `currency` string, required: Three-letter ISO 4217 currency code, lowercase.
      - `decimals` integer, required: How many decimal places the amount carries. This is the precision the charge itself runs at.
      - `display_decimals` integer, required: How many decimal places to SHOW. Usually equal to `decimals`, and deliberately not always: COP is charged in centavos but written in whole pesos, so it is `2` and `0`. Format the number in your own locale using this.
    - `label` string, nullable, required: The item's name as shown at checkout (the product title, else the variant title).
    - `product_id` string, nullable, required: The product the variant belongs to, prefixed `prod_`. Null for a variant with no product.
    - `quantity` number, required: How many units were bought.
    - `subtotal` Money, nullable, required
      - `amount` string, required: The amount in major units, as an exact decimal string. For example, `"10.00"` is ten dollars. It is a string so that no float rounds it in transit.
      - `currency` string, required: Three-letter ISO 4217 currency code, lowercase.
      - `decimals` integer, required: How many decimal places the amount carries. This is the precision the charge itself runs at.
      - `display_decimals` integer, required: How many decimal places to SHOW. Usually equal to `decimals`, and deliberately not always: COP is charged in centavos but written in whole pesos, so it is `2` and `0`. Format the number in your own locale using this.
    - `tax_amount` Money, nullable, required
      - `amount` string, required: The amount in major units, as an exact decimal string. For example, `"10.00"` is ten dollars. It is a string so that no float rounds it in transit.
      - `currency` string, required: Three-letter ISO 4217 currency code, lowercase.
      - `decimals` integer, required: How many decimal places the amount carries. This is the precision the charge itself runs at.
      - `display_decimals` integer, required: How many decimal places to SHOW. Usually equal to `decimals`, and deliberately not always: COP is charged in centavos but written in whole pesos, so it is `2` and `0`. Format the number in your own locale using this.
    - `trial_period_days` integer, nullable, required: Free trial days before this recurring item's first renewal charge, from the variant's `trial_period_days`. The invoice then bills only the variant's `initial_price` for the item. `null` for one-time items and renewal invoices, and when the customer already had a subscription to the variant.
    - `unit_amount` Money, nullable, required
      - `amount` string, required: The amount in major units, as an exact decimal string. For example, `"10.00"` is ten dollars. It is a string so that no float rounds it in transit.
      - `currency` string, required: Three-letter ISO 4217 currency code, lowercase.
      - `decimals` integer, required: How many decimal places the amount carries. This is the precision the charge itself runs at.
      - `display_decimals` integer, required: How many decimal places to SHOW. Usually equal to `decimals`, and deliberately not always: COP is charged in centavos but written in whole pesos, so it is `2` and `0`. Format the number in your own locale using this.
    - `variant_id` string, nullable, required: The variant bought, prefixed `plan_`. Null when the variant has since been deleted.
  - `mailing_address_id` string, nullable, required
  - `member_id` string, nullable, required
  - `membership_id` string, nullable, required: 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.
  - `memo` string, nullable, required: A note to the customer, shown on the invoice email, PDF, and checkout page with its line breaks kept. `null` when none is set.
  - `metadata` object, required: Key-value pairs the seller stored on the invoice. Empty when the invoice is read without a credential.
  - `number` string, required
  - `object` 'invoice', required
  - `overdue` boolean, required
  - `paid_at` string, nullable, required
  - `payment_method_configuration` CheckoutSessionPaymentMethodConfiguration, nullable, required
    - `disabled` string[], required
    - `enabled` string[], required
    - `include_platform_defaults` boolean, required: Whether Whop's default set is the starting point. When `false`, only `enabled` is offered.
  - `payment_method_id` string, nullable, required
  - `quote_accepted_at` string, nullable, required: 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.
  - `quote_amount_paid` Money, nullable, required
    - `amount` string, required: The amount in major units, as an exact decimal string. For example, `"10.00"` is ten dollars. It is a string so that no float rounds it in transit.
    - `currency` string, required: Three-letter ISO 4217 currency code, lowercase.
    - `decimals` integer, required: How many decimal places the amount carries. This is the precision the charge itself runs at.
    - `display_decimals` integer, required: How many decimal places to SHOW. Usually equal to `decimals`, and deliberately not always: COP is charged in centavos but written in whole pesos, so it is `2` and `0`. Format the number in your own locale using this.
  - `quote_amount_remaining` Money, nullable, required
    - `amount` string, required: The amount in major units, as an exact decimal string. For example, `"10.00"` is ten dollars. It is a string so that no float rounds it in transit.
    - `currency` string, required: Three-letter ISO 4217 currency code, lowercase.
    - `decimals` integer, required: How many decimal places the amount carries. This is the precision the charge itself runs at.
    - `display_decimals` integer, required: How many decimal places to SHOW. Usually equal to `decimals`, and deliberately not always: COP is charged in centavos but written in whole pesos, so it is `2` and `0`. Format the number in your own locale using this.
  - `quote_deposit_amount` Money, nullable, required
    - `amount` string, required: The amount in major units, as an exact decimal string. For example, `"10.00"` is ten dollars. It is a string so that no float rounds it in transit.
    - `currency` string, required: Three-letter ISO 4217 currency code, lowercase.
    - `decimals` integer, required: How many decimal places the amount carries. This is the precision the charge itself runs at.
    - `display_decimals` integer, required: How many decimal places to SHOW. Usually equal to `decimals`, and deliberately not always: COP is charged in centavos but written in whole pesos, so it is `2` and `0`. Format the number in your own locale using this.
  - `quote_deposit_percentage` number, nullable, required: 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.
  - `quote_invoice_ids` string[], required
  - `quote_payment_url` string, nullable, required: 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.
  - `quote_sent_at` string, nullable, required: 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.
  - `quote_signature_url` string, nullable, required: 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.
  - `quote_signer_email` string, nullable, required: 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.
  - `quote_signer_name` string, nullable, required: 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.
  - `recipient_emails` string[], required
  - `scheduled_charge_at` string, nullable, required: 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.
  - `scheduled_collection_method` 'charge_automatically' | 'send_invoice' | 'null', nullable, required: 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.
  - `scheduled_send_at` string, nullable, required
  - `sends_on_due_date` boolean, required: 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.
  - `status` 'draft' | 'open' | 'authorized' | 'paid' | 'pending' | 'uncollectible' | 'unresolved' | 'void', required
  - `subscription_starts_at` string, nullable, required: 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.
  - `subtotal` Money, required
    - `amount` string, required: The amount in major units, as an exact decimal string. For example, `"10.00"` is ten dollars. It is a string so that no float rounds it in transit.
    - `currency` string, required: Three-letter ISO 4217 currency code, lowercase.
    - `decimals` integer, required: How many decimal places the amount carries. This is the precision the charge itself runs at.
    - `display_decimals` integer, required: How many decimal places to SHOW. Usually equal to `decimals`, and deliberately not always: COP is charged in centavos but written in whole pesos, so it is `2` and `0`. Format the number in your own locale using this.
  - `tax_amount` Money, nullable, required
    - `amount` string, required: The amount in major units, as an exact decimal string. For example, `"10.00"` is ten dollars. It is a string so that no float rounds it in transit.
    - `currency` string, required: Three-letter ISO 4217 currency code, lowercase.
    - `decimals` integer, required: How many decimal places the amount carries. This is the precision the charge itself runs at.
    - `display_decimals` integer, required: How many decimal places to SHOW. Usually equal to `decimals`, and deliberately not always: COP is charged in centavos but written in whole pesos, so it is `2` and `0`. Format the number in your own locale using this.
  - `time_zone` string, required: The IANA time zone for the dates on the invoice's email and PDF, such as `America/New_York`. `UTC` unless one was set.
  - `total` Money, required: The amount the invoice charges, including tax. On a draft, it includes the estimated `tax_amount`, if any.
    - `amount` string, required: The amount in major units, as an exact decimal string. For example, `"10.00"` is ten dollars. It is a string so that no float rounds it in transit.
    - `currency` string, required: Three-letter ISO 4217 currency code, lowercase.
    - `decimals` integer, required: How many decimal places the amount carries. This is the precision the charge itself runs at.
    - `display_decimals` integer, required: How many decimal places to SHOW. Usually equal to `decimals`, and deliberately not always: COP is charged in centavos but written in whole pesos, so it is `2` and `0`. Format the number in your own locale using this.
  - `totals_status` 'estimated' | 'final', required
  - `updated_at` string, required

## Other responses

- `400`: Invalid Parameters
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Resource not found
- `409`: Conflict

## Changes

- **2026-11-26** `23f1924893a8`: 1 info
  - added the required property `charge_at_subscription_start` to the response with the `200` status
- **2026-11-24** `7a7d8b7a0b5d`: 1 info
  - added the required property `issued_at` to the response with the `200` status
- **2026-11-24** `33057c6510dd`: 2 info
  - added the required property `quote_deposit_amount` to the response with the `200` status
  - added the required property `quote_deposit_percentage` to the response with the `200` status
- **2026-11-23** `08fe0ec6ae18`: 4 info
  - added the required property `quote_amount_paid` to the response with the `200` status
  - added the required property `quote_amount_remaining` to the response with the `200` status
  - added the required property `quote_invoice_ids` to the response with the `200` status
  - added the required property `quote_payment_url` to the response with the `200` status
- **2026-11-21** `58eefea0495e`: 4 info
  - added the required property `quote_accepted_at` to the response with the `200` status
  - added the required property `quote_signature_url` to the response with the `200` status
  - added the required property `quote_signer_email` to the response with the `200` status
  - added the required property `quote_signer_name` to the response with the `200` status

[Operation history](https://skmtc.dev/whop/apis/whop-api/changes/invoices/:id/charge/post.md)

---

[API](https://skmtc.dev/whop/apis/whop-api.md) - [All operations](https://skmtc.dev/whop/apis/whop-api/llms.txt) - [OpenAPI document](https://skmtc.dev/whop/apis/whop-api/revisions/b10d1ab093e8?raw)
