Ir para o conteúdo
Infopago Developersv1.0.3

Consultar transferência interna por chave de idempotência

Consulta a transferência interna criada com a mesma chave de idempotência. Útil para retomar uma chamada que ficou sem resposta e evitar um segundo envio.

GET
/internal-transfers/idempotencyKey/{idempotencyKey}

Autorização

OAuth2 internal-transfer.read
headerAuthorizationBearer <token>

Escopo: internal-transfer.read

Parâmetros de caminho

idempotencyKey*string

Chave de idempotência usada na criação.

Padrão[a-zA-Z0-9]{1,50}

Corpo da resposta

Transferência encontrada

application/json
  1. response
data?
Exemplo de requisição
curl -X GET 'https://cashout.infopago.com.br/api/v2/internal-transfers/idempotencyKey/string'
Exemplo de resposta
{  "data": {    "id": 0,    "endToEndId": "string",    "status": "PROCESSING",    "transactionType": "INTERNAL",    "createdAt": "2019-08-24T14:15:22Z",    "eventDate": "2019-08-24T14:15:22Z",    "idempotencyKey": "string",    "payment": {      "currency": "BRL",      "amount": 0.1    },    "creditorAccount": {      "document": "string",      "name": "string",      "issuer": "string",      "number": "string",      "accountType": "SLRY",      "ispb": "string"    },    "debtorAccount": {      "document": "string",      "name": "string",      "issuer": "string",      "number": "string",      "accountType": "SLRY",      "ispb": "string"    },    "remittanceInformation": "string",    "refunds": [      {        "id": 0,        "amount": 0.1,        "reason": "string",        "status": "string",        "createdAt": "2019-08-24T14:15:22Z"      }    ]  }}