PaystationdocsPaystation

Describe the key used on the request ​

GET /v1/me

Describe the key used on the request

GET/v1/me

Autenticação

  • Chave secretask_…, só no seu servidor

Envie a chave no cabeçalho Authorization: Bearer <chave>.

Resposta

200OK

  • client_idstringobrigatório
  • environmentstringobrigatório

    Valores: testlive

  • key_typestringobrigatório

    Valores: publicsecret

Erros

401Missing or invalid key, or a public key (`secret_key_required`).
429Rate limited.
500Unexpected error, or `api_unavailable`.

Todo erro vem no mesmo envelope: error.type, error.code, error.message e error.request_id, também devolvido no cabeçalho X-Request-Id.