---
title: "Token"
method: POST
path: "/oauth-service/oauth/token"
---

# Token

`POST /oauth-service/oauth/token`

## Headers

- `Content-Type` string
- `Authorization` string

## Request body

- object
  - `grant_type` string — Método a través del cuál la aplicación obtiene acceso.
  - `username` string — Usuario para solicitar token de acceso
  - `password` string — Contraseña del usuario para solicitar token de acceso.

## Response `200`

200

- object
  - `access_token` string
  - `token_type` string
  - `refresh_token` string
  - `expires_in` integer
  - `scope` string
  - `jti` string

## Other responses

- `401` — 401
- `4XX` — 4XX

---

[API](https://skmtc.dev/netpay/apis/api-sandbox-netpay-loop.md) · [All operations](https://skmtc.dev/netpay/apis/api-sandbox-netpay-loop/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/netpay/api-sandbox-netpay-loop/revisions/0868ffa4ca50/schema)
