QR Code
Get QR Code information and calculate payment
Get QR Code information and, at the same time, calculate payment information depending on query parameters passed.
get/v1/pix/qrcode/jws/{access-token}
Request
- Base URLhttps://sandbox.pismolabs.io/passport
- URLhttps://sandbox.pismolabs.io/passport/v1/pix/qrcode/jws/{access-token}
- Authnone declared. Required headers: Authorization
Path parameters
access-tokenstring required
QR Code ID
Query parameters
desired-payment-datestring date
Payer's desired payment date. Format = yyyy-mm-dd. Default is current date.
payer-city-idstring
Payer city (in Brazil) dialing code identifier. Cities in Brazil can have their own holidays, which is needed to calculate fees and payment. Default city is Brasilia ("61").
Headers
Authorizationstring required
Account token - token encoded with a Pismo account ID. Tokens can expire quickly, which can result in a <b>401 Unauthorized</b> message
Response
Generate COB QR Code response
Example response
{
"id": "442e992a-2f89-46fb-820a-958693bde84d",
"access_token": "1234567890",
"external_id": "my-external-id-9999-6474",
"emv": "00020101021226980014br.gov.bcb.pix2576api-h.developer.btgpactual.com/pc/p/v2/...***63040441",
"status": "PROCESSING",
"qrcode_imageb64": "dfkk7830o*&#)@#9FEE",
"version": 1,
"jws": "eYqqqwq.heif.jk2w",
"creation_date": "2023-04-12T23:20:50.52Z",
"last_update": "2023-04-12T23:20:50.52Z"
}Changes
No recorded changes to this operation across all 1 revision of this API.