curl --request POST \
  --url https://api.bmpdigital.moneyp.dev.br/AgendaRecebivel/GerarMultiplasCobrancas \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --header 'IdempotencyKey: <idempotencykey>' \
  --data '{
  "dto": {
    "codigoProposta": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "codigoOperacao": "<string>"
  },
  "dtoGerarMultiplasLiquidacoes": {
    "descricaoLiquidacao": "<string>",
    "notificarCliente": true,
    "tipoRegistro": 123,
    "pagamentoViaBoleto": true,
    "pagamentoViaPIX": true,
    "parcelas": [
      {
        "nroParcela": 123,
        "dtVencimento": "2023-11-07T05:31:56Z",
        "dtExpiracao": "2023-11-07T05:31:56Z",
        "vlrDesconto": 123,
        "permiteDescapitalizacao": true
      }
    ]
  }
}'
{
  "msg": "<string>",
  "hasError": true,
  "messages": [
    {
      "messageType": 1,
      "code": "<string>",
      "context": "<string>",
      "description": "<string>",
      "field": "<string>"
    }
  ],
  "cobrancas": [
    {
      "codigoLiquidacao": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "parcelas": [
        123
      ]
    }
  ]
}

This endpoint enables the simultaneous issuance of multiple charges, being ideal for contracts that have several installments or when there is a need to generate several charges at the same time. It automates the process of issuing billing for multiple installments, making the process more agile and reducing the time spent on manual operations.

This feature is especially useful for partners who need to generate invoices in bulk simply and efficiently, with the same payment options.

The SettlementID field, generated in this endpoint’s response, needs to be saved. This amount is required to request cancellation of the charges issued for the installments, in endpoint 6 - Cancel Installment Charges.

Authorizations

Authorization
string
header
required

Informe o token

Headers

IdempotencyKey
string
required

Body

Response

200
text/plain

OK

The response is of type object.