Ir para o conteúdo
Infopago Developersv1.0.3
Referência da APIAPI de ContasPix

Consultar Pix por end-to-end-id.

Consulta um Pix pelo `endToEndId` gerado na liquidação. Use para acompanhar o status depois de iniciar o pagamento ou para localizar um recebimento já notificado.

GET
/pix/payments/{endToEndId}

Autorização

OAuth2 pix.read
headerAuthorizationBearer <token>

Escopo: pix.read

Parâmetros de caminho

endToEndId*string

EndToEndId do Pix.

Corpo da resposta

Sucesso

application/json
  1. response
data?
Exemplo de requisição
curl -X GET 'https://cashout.infopago.com.br/api/v2/pix/payments/string'
Exemplo de resposta
{  "data": {    "id": 0,    "idempotencyKey": "string",    "endToEndId": "string",    "pixKey": "string",    "transactionType": "PIX",    "status": "CANCELED",    "errorCode": "AB03",    "creditDebitType": "CREDIT",    "localInstrument": "MANU",    "createdAt": "2019-08-24T14:15:22Z",    "creditorAccount": {      "ispb": "string",      "issuer": "string",      "number": "string",      "accountType": "SLRY",      "document": "string",      "name": "string"    },    "debtorAccount": {      "ispb": "string",      "issuer": "string",      "number": "string",      "accountType": "SLRY",      "document": "string",      "name": "string"    },    "remittanceInformation": "string",    "txId": "string",    "payment": {      "currency": "BRL",      "amount": 0.1    },    "refunds": [      {        "endToEndId": "string",        "status": "CANCELED",        "errorCode": "AB03",        "pixRefundAmount": {          "currency": "BRL",          "amount": 0.1        }      }    ]  }}