Get Bank Slip PDF
API data
Conciliation & Bank Slips API
These APIs are used for additional features such as bank slip issuance and management:
- Production: https://integration.enoqbank.com/enoq
- Sandbox: https://api-hmg.sopague.com.br/integration
- Architecture: Representational State Transfer (REST)
This endpoint returns the PDF of a bank slip ready for printing. The PDF is returned as base64, which can be easily converted for viewing or storage.
GET /api/billissuer/pdf?accountNumber={accountNumber}&id_bill={id_bill}
Receives the unique bank slip identifier and returns the corresponding PDF.
Request
{
"accountNumber": "long",
"id": "string"
}
Data dictionary - Parameters
| PARAMETER | DESCRIPTION | TYPE | SIZE | NOTES |
|---|---|---|---|---|
| accountNumber | Account number that issued the bank slip | long | - | - |
| id | Unique bank slip identifier | String | - | Bank slip identifier |
- 🟢 200
Response
{
"id": "string",
"pdfBytes": "JVBERi0xLjQK[...]adsfasd"
}
Data dictionary - Response
| FIELD | DESCRIPTION | TYPE | SIZE | NOTES |
|---|---|---|---|---|
| Id | Unique bank slip identifier | String | - | Bank slip identifier |
| pdfBytes | PDF bytes (Base64-encoded) | String | - | - |
Availability
Requests can be made at any time.
Additional Information
You can convert the returned base64 to a PDF in your application; the bank slip will be ready for viewing/printing.