Send Invoice
Changed onIssues a draft and emails it to its recipients, with reminders after the due date. A draft with no payment_method_id needs invoice:update, invoice:create, or payment:charge, and is never charged. A draft with a payment_method_id needs payment:charge: with a charge_at, or when its due_at is still ahead, it is emailed now and charged to that method at that time (see scheduled_charge_at); otherwise it is charged right away instead of emailed. Voiding the invoice, marking it uncollectible, or paying it first cancels the scheduled charge, and its recipients get the payment link if a charge fails. Sending an open invoice needs payment:charge and emails it again, up to three emails a day including the first send. With send_at, the draft is sent at that time instead, and cannot be edited, except its recipients, until it is sent or unscheduled. Each email, reminders included, is sent separately to the customer email shown on the invoice and to each address in recipient_emails, so recipients never see each other's addresses.
Request
- Base URLhttps://api.whop.com/api/v1
- URLhttps://api.whop.com/api/v1/invoices/{id}/send
- Auth
- HTTP bearer
- or HTTP bearer
- or HTTP bearer
Headers
A unique key that makes this request safe to retry. See Idempotent requests.
Request body
Response
invoice sent
Example response
{
"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.eyJfcmFpbHMiOnsiZGF0YSI6WzEsZmFsc2VdLCJwdXIiOiJSZWNlaXB0XG5jaGVja291dF9tb3VudFxuIn19--xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"created_at": "2026-01-01T12:00:00.000Z",
"customer_name": "Dana",
"email_address": "marcus@shinetime.example",
"id": "pay_xxxxxxxxxxxxxx",
"line_items": [
{
"discount_amount": {
"amount": "-1234.56",
"currency": "usd",
"decimals": 2,
"display_decimals": 2
},
"id": "li_xxxxxxxxxxxxxx",
"label": "Ceramic Coating Package",
"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",
"metadata": {},
"number": "#xxxxxxxx",
"object": "invoice",
"recipient_emails": [
"marcus@shinetime.example"
],
"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
},
"total": {
"amount": "-1234.56",
"currency": "usd",
"decimals": 2,
"display_decimals": 2
},
"totals_status": "final",
"updated_at": "2026-01-01T12:00:00.000Z"
}Changes
- info
the security scope
invoice:updatewas added to the endpoint's security schemebearerAuth - info
the security scope
payment:chargewas removed from the endpoint's security schemebearerAuth
- info
- info
the security scope
invoice:updatewas added to the endpoint's security schemebearerAuth - info
the security scope
payment:chargewas removed from the endpoint's security schemebearerAuth
- info