Testing Pix QR Code Payment
If you are looking for a way to test the integration flow of a static QR Code, there is a very simple method.
After creating a static QR Code in Sandbox, use the Pay a QR Code endpoint by sending the payload of your generated QR Code.
POST
/v3/pix/qrCodes/pay
Check the full reference for this endpoint
{
"qrCode": {
"payload": "00020126710014br.gov.bcb.pix01362ae3db4c-9f04-44de-9a39-adcc98a334c20209Churrasco520400005303986540550.005802BR5913John Doe6009Joinville62290525JHOND00000000465493ASA6304DB5E"
},
"value": 50
}
When performing this action, a Pix-type charge will automatically be created, receiving this payment with the fields pixTransaction
and pixQrCodeId
filled.
Updated 7 days ago