Get a boleto batch
Reads one boleto batch of the X-Organization-Id organization: its outcome, its counts and every item, by ascending position.
Providers: BTG.
How it works
- The outcome, the counts,
closed,finishedand each itemβsoverdueare derived from the items on every read. - A batch that does not exist and a batch of another organization both return
404, with the same body.
GET
Get a boleto batch
Headers
Path Parameters
Response
OK. The batch with its outcome, its counts and every item, as of the read.
Issuance outcome of the batch, derived from its items on every read. CREATED: some item is still PENDING. COMPLETED: no item is PENDING and none is FAILED. PARTIAL_FAILURE: no item is PENDING and some, not all, are FAILED; those carry errorCode and errorMessage. FAILED: every item is FAILED. Only issuance moves it: payment, cancellation and write-off do not, and it never moves back to CREATED.
Available options:
CREATED, COMPLETED, PARTIAL_FAILURE, FAILED 
