---
title: "View credentials"
method: POST
path: "/user/v3/login"
tags: ["User Management"]
---

# View credentials

`POST /user/v3/login`

Retrieves authentication credentials based on username and password.

<!-- theme: warning -->
> ⚠️ Try It
> 
> To use the Try It feature for this endpoint, you must use the credentials for your [Sandbox API user](https://docs.nexiopay.com/docs/sandbox-environments).


<div style="display:none;">

## Request parameters
- username
- password

## Response parameters
- idToken
- accessToken
- refreshToken
- expiresIn

</div>

## Request body

- object
  - `username` string, required — Your username.
  - `password` string, required — Your password.

## Response `200`

Success

- object
  - `idToken` string — The ID token.
  - `accessToken` string — The access token.
  - `refreshToken` string — The refresh token, for use in the [Refresh](https://docs.nexiopay.com/reference/refreshcredentials) endpoint.
  - `expiresIn` integer — The amount of time until the access credentials expire, in seconds.

## Other responses

- `401` — Unauthorized. For help with this error and other error codes, see [Common errors](https://docs.nexiopay.com/docs/common-errors) in the Guides area.

---

[API](https://skmtc.dev/nexiopay/apis/payments-api-reference.md) · [All operations](https://skmtc.dev/nexiopay/apis/payments-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/nexiopay/payments-api-reference/revisions/b414b73979e5/schema)
