CONSULTANDO UM PIX

Endpoint utilizado:

Tipo de Operação: GET 

/Orders/PixPayments/{paymentToken}

HEADER REQUEST:

BODY RESPONSE MODELO:

{  

     "payment": {

    "paymentStatus": "Undefined",

    "boleto": {

      "amount": 0,

      "expirationDate": "2023-02-16T18:13:08.064Z",

      "emissionDate": "2023-02-16T18:13:08.064Z",

      "boletoNumber": "string",

      "digitableLine": "string",

      "boletoInstruction": [

        {

          "code": "string",

          "status": 0,

          "type": "string",

          "date": "2023-02-16T18:13:08.064Z",

          "value": "string"

        }

      ],

      "demonstrative": "string"

    },

    "received": [

      {

        "amount": 0,

        "abatement": 0,

        "discount": 0,

        "additions": 0,

        "processedDate": "2023-02-16T18:13:08.064Z",

        "creditDate": "2023-02-16T18:13:08.064Z"

      }

    ],

    "paymentToken": "string",

    "recurrencePlan": {

      "merchantPlanId": "string",

      "name": "string",

      "description": "string",

      "interval": "Monthly",

      "amount": 0,

      "created": "2023-02-16T18:13:08.064Z",

      "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"

}