- JAVA 8+
- MAVEN 3+
- Criar boleto
- Listar boletos
- Ver detalhes
- Pagar um boleto
- Cancelar um boleto
{
"due_date":"2018-01-01",
"total_in_cents":"100000",
"customer":"Trillian Company",
"status":"PENDING"
}
- 400 : Bankslip not provided in the request body
- 422 : Invalid bankslip provided.The possible reasons are:
- A field of the provided bankslip was null or with invalid values
- 200 : Ok
EX: [
{
"id":"b8ef0f43-e873-4da0-8465-2d7af03a0b3c",
"due_date":"2018-02-03",
"total_in_cents":"50",
"customer":"TESTE",
"status":"PAID",
"fine":null
},
{
"id":"cd90034d-e0f4-4ea7-95f2-0da8ba157d55",
"due_date":"2018-01-01",
"total_in_cents":"100000",
"customer":"Trillian Company",
"status":"CANCELED",
"fine":null
}
]
- Até 10 dias: Multa de 0,5% (Juros Simples)
- Acima de 10 dias: Multa de 1% (Juros Simples)
- 200 : Ok
- 400 : Invalid id provided - it must be a valid UUID
- 404 : Bankslip not found with the specified id
- 204 : Bankslip paid
- 404 : Bankslip not found with the specified id
- 204 : Bankslip canceled
- 404 : Bankslip not found with the specified id