Pular para o conteúdo principal
POST
Devolver cobrança no sandbox

Autorizações

Authorization
string
header
obrigatório

Chave de API MingoPay com prefixo mp_test_ ou mp_live_.

Parâmetros de caminho

id
string<uuid>
obrigatório

UUID da cobrança.

Resposta

Cobrança devolvida.

id
string<uuid>
obrigatório
organizationId
string<uuid>
obrigatório
amountCents
integer
obrigatório
feeCents
integer
obrigatório

Total descontado: mingoFeeCents + commissionCents.

netCents
integer
obrigatório
currency
string
obrigatório
Allowed value: "BRL"
method
enum<string>
obrigatório
Opções disponíveis:
pix,
card
status
enum<string>
obrigatório
Opções disponíveis:
created,
pending,
processing,
paid,
failed,
cancelled,
partially_refunded,
refunded
metadata
object
obrigatório
createdAt
string<date-time>
obrigatório
updatedAt
string<date-time>
obrigatório
environment
enum<string>
obrigatório
Opções disponíveis:
sandbox,
production
providerFeeCents
integer
obrigatório
platformFeeCents
integer
obrigatório

Receita Mingo: mingoFeeCents - providerFeeCents, sem a comissão do criador.

commissionCents
integer
obrigatório

Comissão do criador da subconta, incluída em feeCents.

Intervalo obrigatório: x >= 0
mingoFeeCents
integer
obrigatório

Tarifa Mingo, incluindo o custo do provedor.

Intervalo obrigatório: x >= 0
customerId
string<uuid> | null
externalReference
string | null
provider
string | null
providerReference
string | null
description
string | null
expiresAt
string<date-time> | null
paidAt
string<date-time> | null
subaccountId
string<uuid> | null