Cancel invoice
Cancels an open invoice. Not available for WooCommerce dedicated keys.
Authorizations
Store-scoped API key. Prefix with sk_live_.
Example: Authorization: Bearer sk_live_EXAMPLE_DO_NOT_USE
Path Parameters
Invoice ID from create or list responses (starts with inv_).
^(inv_|txn_|plink_|wh_|whd_|evt_|int_)[0-9a-z]{20,32}$Response
Invoice cancelled
Full invoice record returned by list and get endpoints.
Unique invoice ID (inv_...).
^(inv_|txn_|plink_|wh_|whd_|evt_|int_)[0-9a-z]{20,32}$Your order reference from when the invoice was created.
"order_demo_1048"
Where the invoice is in the payment flow:
pending: created, not yet ready for paymentquoted: price quote ready; customer can proceed to payawaiting_payment: waiting for the customer to send fundspaid: payment received and confirmedunderpaid: customer paid less than the requested amountexpired: not paid before the deadlinefailed: payment or processing failedrefunded: payment was returned to the customercancelled: invoice was cancelled before completion
pending, quoted, awaiting_payment, paid, underpaid, expired, failed, refunded, cancelled Amount you requested to receive (decimal string, e.g. "100.00").
"100.00"
Currency of amount (e.g. USD).
"USD"
Original order total before conversion, if different from amount.
"100.00"
Currency of order_amount.
"USD"
How much the customer actually paid. null until payment starts.
"100.00"
Stablecoin paid out to you (e.g. USDC).
"USDC"
Payment page URL while the invoice can still be paid. null if no longer payable.
Where the customer is redirected after checkout, if you set one at creation.
Internal customer record ID, if linked. Usually not needed for basic integrations.
Pay Link that created this invoice, if applicable.
Blockchain transaction ID after payment is confirmed. null until paid.
Custom data you attached when creating the invoice.
When the invoice was created (UTC).
When the invoice was last updated (UTC).
When payment was confirmed. null until the invoice is paid.
Deadline to pay before the invoice expires (UTC).