Invoices
Cancel Scheduled Send
Changed onCancels a draft's scheduled send, so it can be edited again. An invoice with no scheduled send is returned unchanged. A draft with no payment_method_id needs invoice:update, invoice:create, or payment:charge; any other invoice needs payment:charge.
post/invoices/{id}/unschedule
Request
- Base URLhttps://api.whop.com/api/v1
- URLhttps://api.whop.com/api/v1/invoices/{id}/unschedule
- Auth
- HTTP bearer
- or HTTP bearer
- or HTTP bearer
Headers
Idempotency-Keystring
Example:d9105228-4a08-46b1-8b91-42fed586d383
A unique key that makes this request safe to retry. See Idempotent requests.
Response
invoice unscheduled
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