get https://infrapay.stg.libercapital.com.br/api/payment/bill/
Get Bill By Id
Role-based access control
Required role customerBillStatusRead
REQUEST PATH HAS THE FOLLOWING PROPERTIES:
Attribute | Type | Description |
---|---|---|
id | string | Id of bill |
Response object has the following properties:
Attribute | Type | Description |
---|---|---|
_id | string | Id of bill |
valuePaid | number | Paid value of bill |
barCode | string | Bar code |
digitableLine | string | Digitable line |
externalId | string | Your id reference |
value | number | Value of bill |
dueDate | date | Due Date, ISO String format YYYY-MM-DDTHH:mm:ss.sssZ |
status.id | number | Id of status |
status.statusText | string | Text of status |
customer.name | string | Customer name |
customer.document | string | Customer document(cpf/cnpj) |
company._id | string | Id of company of billing |
company.name | string | Name of company of billing |
company.document | string | Document(CNPJ) of company of billing |
createDate | date | Create date, ISO String format YYYY-MM-DDTHH:mm:ss.sssZ |
Response status code
status | Description |
---|---|
200 | OK |
500 | INTERNAL_SERVER_ERROR |
403 | FORBIDDEN |
404 | NOT_FOUND |