Bank slip
Validate bank slip
Validate bank slip with provider partner.<br> You need to call this endpoint before calling Pay bank slip. If this endpoint returns an external_authorization field value, you must pass it in the Pay bank slip call.<br> For this endpoint, either bar_code or digitable_line must be passed.
post/v1/bankslips/validate
Request
- Base URLhttps://sandbox.pismolabs.io/integrated-payments
- URLhttps://sandbox.pismolabs.io/integrated-payments/v1/bankslips/validate
- AuthHTTP bearer
Headers
Authorizationstring required
Account token. Getting an account token requires you call the Server login endpoint with an account ID. Tokens can expire quickly, which can result in an <b>Unauthorized</b> message. Enter this field under AUTHENTICATION.
Request body
Example request
{
"type": 1,
"bar_code": "22323423423423423",
"digitable_line": "20890001091000001090980008176705191030000002000"
}Response
Response Body
Example response
{
"amount": 10,
"assignor": "BANCO ITAU S.A.",
"bar_code": "22323423423423423",
"beneficiary_document_number": "123456789",
"beneficiary_name": "Beneficiary name",
"digitable_line": "34192374039002121400385000334004688970000050227",
"due_date": "2022-08-15T00:00:00.000Z",
"external_authorization": "123",
"limit_date": "2022-08-15T00:00:00.000Z",
"max_value": 10,
"min_value": 10,
"original_value": 10,
"payer_document_number": "923456789",
"payer_name": "Payer's name",
"settle_date": "2022-08-15T00:00:00.000Z",
"type": 1
}Changes
No recorded changes to this operation across all 1 revision of this API.