DELETE
Excluir cartão

Authorizations

Authorization
string
header
required

HTTP Basic com o token como usuário e o secret como senha: curl -u dpz_tk_…:dpz_sk_…. Crie a chave em https://despezzas.com/settings/api-keys.

Path Parameters

id
string
required

Identificador do recurso.

Example:

"8f1c2a34-5b6d-4e7f-8a9b-0c1d2e3f4a5b"

Response

Sucesso.

account_id
string
required

Conta de pagamento.

Example:

"3a9e7d21-4b5c-4d6e-8f70-1a2b3c4d5e6f"

closing_date
string
required

Dia do fechamento (1–31).

Example:

"3"

expiring_date
string
required

Dia do vencimento (1–31).

Example:

"10"

id
string
required

Id do cartão.

Example:

"c4d5e6f7-0a1b-4c2d-9e3f-4a5b6c7d8e9f"

Bandeira/logo (URL).

Example:

"https://cdn.despezzas.com/banks/nubank.png"

name
string
required

Nome.

Example:

"Nubank Mastercard"

user_id
string
required

Dono.

Example:

"0d6b923c-3392-424e-a152-2ee32474e8d5"

available_limit
integer | null

Limite disponível. Em centavos.

Example:

1315000

createdAt
string<date-time>

Criação.

Example:

"2026-09-01T09:00:00.000Z"

is_unlimited
boolean | null

Sem limite definido.

Example:

false

limit
integer | null

Limite total. Em centavos.

Example:

1500000

needs_closing_date_review
boolean | null

Se o dia de fechamento importado precisa de confirmação.

Example:

false

profile_id
string | null

Perfil de Acesso / empresa.

Example:

null

updatedAt
string<date-time>

Última alteração.

Example:

"2026-09-15T14:32:10.000Z"