Skip to main content

Payload de Pix QR Code

Pix QR Code

Os webhooks de Pix QR Code enviam objetos com os seguintes campos no seu payload:

  • pixQrCode: Objeto com detalhes do QR Code
  • pix: Objeto com detalhes da transação Pix
  • company: Empresa a que a Transação pertence
  • account: Detalhes da conta que a Transação pertence

Exemplo

{
"pixQrCode": {
"name": "Pix QrCode",
"value": 1000,
"comment": "Pagamento OpenPix",
"identifier": "ea83401ed4834b3ea6f1f283b389af29",
"correlationID": "417bae21-3d08-4cdb-9c2d-fee63c89e9e4",
"paymentLinkID": "34697ed2-3790-4b60-8512-e7465b142d84",
"createdAt": "2021-03-12T12:43:54.528Z",
"updatedAt": "2021-03-12T12:44:09.360Z",
"brCode": "https://api.openpix.com.br/openpix/openpix/testing?idenfifier=ea83401ed4834b3ea6f1f283b389af29"
},
"charge": null,
"pix": {
"charge": null,
"pixQrCode": {
"name": "Pix QrCode",
"value": 1000,
"comment": "Pagamento OpenPix",
"identifier": "ea83401ed4834b3ea6f1f283b389af29",
"correlationID": "417bae21-3d08-4cdb-9c2d-fee63c89e9e4",
"paymentLinkID": "34697ed2-3790-4b60-8512-e7465b142d84",
"createdAt": "2021-03-12T12:43:54.528Z",
"updatedAt": "2021-03-12T12:44:09.360Z",
"brCode": "https://api.openpix.com.br/openpix/openpix/testing?idenfifier=ea83401ed4834b3ea6f1f283b389af29"
},
"customer": {
"correlationID": "9134e286-6f71-427a-bf00-241681624586",
"email": "[email protected]",
"name": "Loma",
"phone": "+5511999999999",
"taxID": {
"taxID": "47043622050",
"type": "BR:CPF"
}
},
"payer": {
"correlationID": "9134e286-6f71-427a-bf00-241681624586",
"email": "[email protected]",
"name": "Loma",
"phone": "+5511999999999",
"taxID": {
"taxID": "47043622050",
"type": "BR:CPF"
}
},
"time": "2021-03-12T12:44:09.269Z",
"value": 1,
"transactionID": "ea83401ed4834b3ea6f1f283b389af29",
"infoPagador": "OpenPix testing"
},
"company": {
"id": "624f46f9e93f9f521c8308d7",
"name": "Pizzaria do José",
"taxID": "4722767300014"
},
"account": {
"clientId": "ZOJ64B9B-ZM1W-89MI-4UCI-OP2LVIU6NY75"
}
}