Boleto Registrado

Quando o banco faz o registro do boleto no DDA, é disparado o evento de Boleto Registrado.

Segue abaixo um exemplo do Payload:

Path: /bill

{
  "sponsorId": 4026534,
  "sellerId": 111111,
  "buyerId": 222222,
  "externalId":"kqiqXUHzoO",
  "invoiceNumber":"y7QUndm52N",
  "innstallment": 1, [*]
  "totalInstallment": 1, [*]
  "line":"23790.00108 20000.000313 67000.000207 8 80870000019989",
  "url":"https://bole.to/3/nqobgx",
  "eventType":"BillRegisteredEvent",
  "_links":{
    "sponsor":{
      "href":"https://zuul.monkeyecx.com/v1/sponsors/4026534",
      "type":"GET"
    },
    "payable":{
      "href":"https://zuul.monkeyecx.com/v2/sponsors/4026534/payables/qEZrZTRWNm",
      "type":"GET"
    },
    "bill":{
      "href":"https://bole.to/3/nqobgx",
      "type":"GET"
    }
  }
}

[*] Os campos installment e totalInstallment são utilizados apenas quando o título é pago de forma parcelada, quando é pago de forma a vista o valor default é 1.