Skip to main content
DELETE
Delete Invoice

Autorisationer

Authorization
string
header
påkrævet

An Account API key, an App API key, an account access token, an account-scoped user token, or a user OAuth token. Prepend the key or token with Bearer, for example Bearer ***************************. See Auth & API keys for how to get each one.

Scopes

invoice:update
payment:charge

Overskrifter

Api-Version-Date
string

Pins the request to a dated API version.

Eksempel:

"2026-11-17"

Sti-parametre

id
string
påkrævet

The invoice's pay_ ID.

Svar

invoice deleted

deleted
boolean
påkrævet

Always true.

Eksempel:

true

id
string
påkrævet

The ID of the deleted invoice, prefixed pay_.

Eksempel:

"pay_xxxxxxxxxxxxxx"