curl --request POST \
  --url https://api.ext.dbs.moneyp.dev.br/api/CNAB/240/Importar \
  --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
{
  "sucesso": true,
  "mensagem": "<string>",
  "jsonErros": "<string>",
  "codigoImportaArquivo": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

Through this endpoint, partners can execute the import of the CNAB 240 file, which is exclusively used for TED transactions, internal transactions, boleto payments, and transactions via PIX.

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.