PayZuDocs

Decode Pix code

Extracts the data in a Pix copy-and-paste code, such as key and amount, without querying the bank.

POSThttps://api.hub.payzu.com.br/api/v1/transactions/pix/decode
POST
/transactions/pix/decode

Body Params

Responses

curl -X POST "https://api.hub.payzu.com.br/api/v1/transactions/pix/decode" \  -H "Authorization: Bearer {{token}}" \  -H "Content-Type: application/json" \  -d '{    "brCode": "00020126400014br.gov.bcb.pix0118fulano@exemplo.com520400005303986540525.005802BR5913FULANO DE TAL6009SAO PAULO62140510PEDIDO482163048572"  }'
{
"pixKey": "fulano@exemplo.com",
"url": null,
"amount": 2500,
"merchantName": "FULANO DE TAL",
"merchantCity": "SAO PAULO",
"txid": "PEDIDO4821",
"isDynamic": false,
"isAmountFixed": true
}