curl --request POST \
  --url https://api.ext.dbs.moneyp.dev.br/api/Arquivo/EnviarArquivo \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: multipart/form-data' \
  --header 'IdempotencyKey: <idempotencykey>' \
  --header 'IgnoraHandshake: <ignorahandshake>' \
  --form 'ContaDto.Agencia=<string>' \
  --form 'ContaDto.AgenciaDigito=<string>' \
  --form 'ContaDto.Conta=<string>' \
  --form 'ContaDto.ContaDigito=<string>' \
  --form 'ContaDto.ContaPgto=<string>' \
  --form ContaDto.TipoConta=1 \
  --form ContaDto.ModeloConta=1 \
  --form ArquivoDto.TipoArquivo=1 \
  --form 'NumeroCedente=<string>' \
  --form 'NumeroCarteira=<string>' \
  --form InstrucaoViaAprovacao=true
{
  "sucesso": true,
  "mensagem": "<string>",
  "jsonErros": "<string>",
  "codigoImportaArquivo": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

Through this endpoint, partners can send a CNAB 400 or 240 file to register boletos or process payments, transfers, and Pix transactions in the case of a 240 file.

Before registering the boleto, the issuer must have a payer number linked to the account and a registered portfolio, with “1” for a simple boleto and “9” for CNAB, which applies to this endpoint. The payer registration should be done via the /api/Cedente endpoint, and linking the payer to a portfolio should be done via the /api/Cedente/AdicionarCarteira endpoint.

Authorizations

Authorization
string
header
required

Copie 'Bearer ' + token

Headers

IdempotencyKey
string
required

Chave única para garantir que uma operação seja executada apenas uma vez.

IgnoraHandshake
boolean
default:true
required

(somente em homologação)

Body

multipart/form-data

Response

200 - application/json

Success

The response is of type object.