Detalhar chave Pix


Esse endpoint deve ser chamado para detalhar uma chave Pix.

GET /api/v1/pix/{{account_id}}/entries/{{id}}
HEADERS

x-stone-idempotency-key string
Chave de idempotência

authorization string
Bearer Token

User-Agent string
Nome da sua aplicacão


PATH PARAMS

account_id string
Identificador da conta

id string
Identificador da chave a ser deletada. Caso não saiba o id da chave, liste as chaves da conta por esse endpoint e pegue o id.

RESPONSE

200 OK

Body

{
  "id": "d990cc41-e514-4343-a84c-80c677102b17",
  "key": "+5510998765432",
  "key_type": "phone",
  "key_status": "active",
  "account_id": "968cc34d-d827-448b-ac1b-e6e29836a160",
  "participant_ispb": "1234567890",
  "beneficiary_account": {
     "branch_code": "0001",
     "account_code": "00016583",
     "account_type": "CC",
     "created_at": "2019-11-18T03:00:00Z"
  },
  "beneficiary_entity": {
     "name":"Maria Clara Gomes",
     "document_type": "cpf",
     "document": "13152256685"
  },
  "events": [
    {
      "id": "38963369-533c-42aa-a49e-b5369ff4bd52",
      "created_at": "20200-09-18T03:00:00Z",
      "type": "created",
      "from_status": null,
      "to_status": "active"
    },
    {
      "id": "7eb6ee15-1485-468a-ad38-411320878815",
      "created_at": "20200-09-22T03:00:00Z",
      "type": "deleted",
      "from_status": "active",
      "to_status": "deleted"
    }
  ]
}

Última modificação: 21.09.2020