Pular para o conteúdo principal
DELETE
Void a service charge

Autorizações

api_access_token
string
header
obrigatório

Token de um Platform App, gerado pelo super admin. Usado para provisionar contas, usuários, papéis e bots.

Parâmetros de caminho

invoice_id
integer
obrigatório

Identifier of the service charge.

account_id
string
obrigatório

The numeric ID of the account

Resposta

Charge voided

A billing document of the account. Scheduled charges and unpaid first charges of abandoned checkouts are not listed.

id
integer
kind
enum<string>

service is a one-off charge raised by Super Admin or the platform API (consulting, onboarding...).

Opções disponíveis:
subscription,
proration,
addons,
credit_package,
service
amount_cents
integer
currency
string
status
enum<string>
Opções disponíveis:
open,
paid,
overdue,
void,
refunded,
chargeback
provider
enum<string>

Gateway that charges the invoice.

Opções disponíveis:
stripe,
asaas,
dlocal_go,
paypal,
shopify,
manual
description
string | null

What a service charge is for; null for the other kinds.

payable
boolean

True for an unpaid service charge, which the account pays with POST billing/invoices/{invoice_id}/pay.

pending_checkout
boolean

True for the first charge of a checkout the customer left unpaid.

hosted_invoice_url
string<uri> | null

Gateway-hosted page to pay or review the invoice.

fiscal_document_number
string | null
fiscal_document_pdf_url
string<uri> | null

Only returned once the fiscal document is authorized.

due_at
string<date-time> | null
paid_at
string<date-time> | null
created_at
string<date-time>