Generates a new dynamic QR Code
POST/api/transaction/generate_qr_code_pix
Generates a new dynamic QR Code.
Request
- application/json
Body
required
- Array [
- ]
Value to be paid
Description of the transaction
Name of the person the charge is being designed to
Email of the person the charge is being designed to
Document of the person the charge is being designed to
Reference of the store that requests the QrCode
UTC date informing when the QrCode is going to expire
client_bank_accounts object[]
Bank accounts of the person the charge is being designed to
Possible values: >= 8 characters
and <= 8 characters
Bank ISPB
Account Number
Possible values: >= 4 characters
and <= 4 characters
Account Branch
Responses
- 201
- 400
- 401
- 403
- 408
- 500
Successful operation
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
Possible values: [200
, 422
, 404
, 408
, 500
]
Response code
Possible values: [pending
, failed
]
Transaction status
Message about the request
PIX EMV QrCode
Reference of the QrCode for conciliation
Reference of the store that requests the QrCode
client_bank_accounts object[]
Bank accounts of the person the charge is being designed to
{
"code": "200",
"status": "pending",
"message": null,
"qr_code": "00020101021126330014br.gov.bcb.pix0111082853887515204000053039865406100.005802BR5912API DE TESTE6009SAO PAULO620605022163045927",
"transaction_uuid": "7da0c9af-215e-4625-b484-b8cfc87aaa09",
"merchant_id": "271e4016-47de-45e0-9340-6f2560ce3a90"
}
Bad Request
Unauthenticated
- application/json
- Schema
- Example (from schema)
Schema
Response 401
{
"message": "Invalid x-api-key"
}
Forbidden
Request timeout
Error