curl --request POST \
  --url https://api.ext.dbs.moneyp.dev.br/api/Cedente/AdicionarCarteira \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --header 'IdempotencyKey: <idempotencykey>' \
  --header 'IgnoraHandshake: <ignorahandshake>' \
  --data '{
  "numeroCedente": 123,
  "conta": {
    "agencia": "<string>",
    "agenciaDigito": "<string>",
    "conta": "<string>",
    "contaDigito": "<string>",
    "contaPgto": "<string>",
    "tipoConta": 1,
    "modeloConta": 1
  },
  "carteira": {
    "codigo": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "codigoCedente": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "codigoCarteira": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "numero": 123,
    "descricao": "<string>",
    "tipoJuros": 1,
    "vlrJuros": 123,
    "tipoMulta": 1,
    "vlrMulta": 123,
    "diasLimitePagamento": 123,
    "especie": 1,
    "tipoPagamento": 1,
    "origemNossoNumero": 1,
    "cnabHabilitado": true,
    "codigoEmpresaCNAB": "<string>",
    "codCartTit": 1,
    "hibrido": true
  }
}'
{
  "sucesso": true,
  "mensagem": "<string>",
  "codigoEmpresaCNAB": "<string>"
}

Through this endpoint, partners can link a wallet.

To use this endpoint, it is necessary to have a registered payer with BMP. The registration can be completed through the /api/Cedente 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

Response

200 - application/json

Success

The response is of type object.