Skip to content
FFastPay Docs

Invoices

Cancel an invoice

POST/api/v1/invoices/{invoiceID}/cancel

Cancel an unpaid invoice; its page stops taking payment

AuthorizationBearer sk_test_… or sk_live_…

Path parameters#

  • invoiceIDuuidRequired

Responses#

  • 200OK
  • 401The secret key is missing, invalid or revoked.
  • 403The key is not allowed to do this, or the request came from an address that is not on its allowlist.
  • 404Nothing was found for this business and mode.
  • 409The request clashes with the current state, such as a reference reused with different details.