API Reference
API Pix: authenticationPOSTGet a token
Billing · AuthenticationPOSTGet a token (Billing)
Billing · NotificationsGETGet a notification
Payment split

Create or revise a split configuration

PUT/v2/gn/split/config/{id}
Base URL: https://pix.efi.mimicr.dev · provider: https://pix-h.api.efipay.com.br

Creates a split configuration with the given id, or revises the existing one (new revisao). The body is the same as POST /v2/gn/split/config.

Scope: gn.split.write.

Authorization

Bearer token in the Authorization: Bearer <token> header. See Authentication.

Path parameters

idstringrequired

Split configuration id (^[a-zA-Z0-9]{1,35}$).

Body

application/json
descricaostring

Description.

Example: "Loja e parceiro"
lancamentoobjectrequired

When the transfer is posted.

Show child attributes
imediatobooleanrequired

true: the transfer happens when the payment is made.

Example: true
splitobjectrequired

Split rules.

Show child attributes
divisaoTarifastringrequired

Who pays the fee: assumir_total (you) or proporcional (shared among the parties).

assumir_totalproporcional
Example: "assumir_total"
minhaParteobjectrequired

The share that stays in your account.

Show child attributes
tipostringrequired

porcentagem or fixo.

porcentagemfixo
Example: "porcentagem"
valorstringrequired

Amount in BRL, a string with two decimals (\d{1,10}\.\d{2}).

Example: "60.00"
repassesobject[]required

Transfers to other Efí accounts (up to 20).

Show child attributes
tipostring

porcentagem or fixo.

porcentagemfixo
Example: "porcentagem"
valorstring

Amount in BRL, a string with two decimals (\d{1,10}\.\d{2}).

Example: "40.00"
favorecidoobject

Efí account that receives the transfer (cpf or cnpj and conta).

Show child attributes
cpfstring

CPF, digits only (11 digits).

Example: "12345678909"
contastring

Account, with check digit and no hyphen.

Example: "1234567"

Responses

201Configuration created or revised.
idstring

Identifier.

Example: "f6edb05d64f64a02a9a36eecc7ee868c"
statusstring

Configuration status: ATIVA or INATIVA.

Example: "ATIVA"
revisaointeger

Revision of the resource. Starts at 0 and increases on every change.

Example: 0
descricaostring

Description.

Example: "Loja e parceiro"
lancamentoobject

When the transfer is posted.

Show child attributes
imediatoboolean

true: the transfer happens when the payment is made.

Example: true
splitobject

Split rules.

Show child attributes
repassesobject[]

Transfers to other Efí accounts (up to 20).

Show child attributes
tipostring

porcentagem or fixo.

Example: "porcentagem"
valorstring

Amount in BRL, a string with two decimals (\d{1,10}\.\d{2}).

Example: "40.00"
favorecidoobject

Efí account that receives the transfer (cpf or cnpj and conta).

Show child attributes
cpfstring

CPF, digits only (11 digits).

Example: "12345678909"
contastring

Account, with check digit and no hyphen.

Example: "1234567"
minhaParteobject

The share that stays in your account.

Show child attributes
tipostring

porcentagem or fixo.

Example: "porcentagem"
valorstring

Amount in BRL, a string with two decimals (\d{1,10}\.\d{2}).

Example: "60.00"
divisaoTarifastring

Who pays the fee: assumir_total (you) or proporcional (shared among the parties).

Example: "assumir_total"
400SplitConfigOperacaoInvalida: the configuration does not match the schema (for example, percentages adding up to more than 100%).
typestringrequired

URI that identifies the problem type, under https://pix.bcb.gov.br/api/v2/error/.

Example: "https://pix.bcb.gov.br/api/v2/error/NaoEncontrado"
titlestringrequired

Short title of the problem.

Example: "Não Encontrado"
statusintegerrequired

HTTP status code of the problem.

Example: 404
detailstringrequired

Description of the problem.

Example: "Entidade não encontrada."
violacoesobject[]

Violations found in the request.

Show child attributes
razaostring

Reason for the violation.

propriedadestring

Property that caused the violation.

401Missing, invalid or expired token, or a token issued for another API (invalid_token).
errorstringrequired

OAuth error code.

invalid_clientinvalid_tokeninsufficient_scopeunsupported_grant_type
error_descriptionstringrequired

Error description.

Example: "Access token has insufficient scope"
403The token lacks the required scope (insufficient_scope).
errorstringrequired

OAuth error code.

invalid_clientinvalid_tokeninsufficient_scopeunsupported_grant_type
error_descriptionstringrequired

Error description.

Example: "Access token has insufficient scope"