API Reference
Create a split configuration
/v2/gn/split/confighttps://pix.efi.mimicr.dev · provider: https://pix-h.api.efipay.com.brCreates a split configuration: how much stays in your account (minhaParte) and how much goes to other Efí accounts (repasses). Efí generates the id. Link the configuration to a cob or cobv before payment.
Scope: gn.split.write.
Authorization
Bearer token in the Authorization: Bearer <token> header. See Authentication.
Body
application/jsonDescription.
"Loja e parceiro"When the transfer is posted.
Show child attributes
true: the transfer happens when the payment is made.
trueSplit rules.
Show child attributes
Who pays the fee: assumir_total (you) or proporcional (shared among the parties).
assumir_totalproporcional"assumir_total"The share that stays in your account.
Show child attributes
porcentagem or fixo.
porcentagemfixo"porcentagem"Amount in BRL, a string with two decimals (\d{1,10}\.\d{2}).
"60.00"Transfers to other Efí accounts (up to 20).
Show child attributes
porcentagem or fixo.
porcentagemfixo"porcentagem"Amount in BRL, a string with two decimals (\d{1,10}\.\d{2}).
"40.00"Efí account that receives the transfer (cpf or cnpj and conta).
Show child attributes
CPF, digits only (11 digits).
"12345678909"Account, with check digit and no hyphen.
"1234567"Responses
201Configuration created.
Identifier.
"f6edb05d64f64a02a9a36eecc7ee868c"Configuration status: ATIVA or INATIVA.
"ATIVA"Revision of the resource. Starts at 0 and increases on every change.
0Description.
"Loja e parceiro"When the transfer is posted.
Show child attributes
true: the transfer happens when the payment is made.
trueSplit rules.
Show child attributes
Transfers to other Efí accounts (up to 20).
Show child attributes
porcentagem or fixo.
"porcentagem"Amount in BRL, a string with two decimals (\d{1,10}\.\d{2}).
"40.00"Efí account that receives the transfer (cpf or cnpj and conta).
Show child attributes
CPF, digits only (11 digits).
"12345678909"Account, with check digit and no hyphen.
"1234567"The share that stays in your account.
Show child attributes
porcentagem or fixo.
"porcentagem"Amount in BRL, a string with two decimals (\d{1,10}\.\d{2}).
"60.00"Who pays the fee: assumir_total (you) or proporcional (shared among the parties).
"assumir_total"400SplitConfigOperacaoInvalida: the configuration does not match the schema (for example, percentages adding up to more than 100%).
URI that identifies the problem type, under https://pix.bcb.gov.br/api/v2/error/.
"https://pix.bcb.gov.br/api/v2/error/NaoEncontrado"Short title of the problem.
"Não Encontrado"HTTP status code of the problem.
404Description of the problem.
"Entidade não encontrada."Violations found in the request.
Show child attributes
Reason for the violation.
Property that caused the violation.
401Missing, invalid or expired token, or a token issued for another API (invalid_token).
OAuth error code.
invalid_clientinvalid_tokeninsufficient_scopeunsupported_grant_typeError description.
"Access token has insufficient scope"403The token lacks the required scope (insufficient_scope).
OAuth error code.
invalid_clientinvalid_tokeninsufficient_scopeunsupported_grant_typeError description.
"Access token has insufficient scope"