Endpoint utilizado:
get /Orders/PixPayments
Utilize este método para consultar múltiplos pix pelo paymentToken.
HEADER REQUEST:
BODY RESPONSE MODELO:
[
{
"payment": {
"paymentStatus": "Undefined",
"pix": {
"amount": 0,
"expirationDate": "2023-02-16T18:34:37.960Z",
"txid": "string",
"location": "string",
"emv": "string",
"qrcode": "string",
"merchantId": 0,
"conciliationId": "string"
},
"received": [
{
"amount": 0,
"abatement": 0,
"discount": 0,
"additions": 0,
"processedDate": "2023-02-16T18:34:37.960Z",
"creditDate": "2023-02-16T18:34:37.960Z"
}
],
"paymentToken": "string",
"recurrencePlan": {
"merchantPlanId": "string",
"name": "string",
"description": "string",
"interval": "Monthly",
"amount": 0,
"created": "2023-02-16T18:34:37.960Z",
"active": true,
"isAutoRenewable": true
},
"customer": {
"tag": "string",
"name": "string",
"identity": "string",
"identityType": "string",
"email": "string",
"birthdate": "string",
"address": {
"country": "string",
"zipCode": "string",
"number": "string",
"street": "string",
"complement": "string",
"city": "string",
"state": "string",
"neighborhood": "string"
}
},
"amount": 0
},
"merchantOrderId": "string"
}
]