---
title: "Create JWT Token"
method: POST
path: "/api/merchant/auth-token"
tags: ["Payment APIs"]
---

# Create JWT Token

`POST /api/merchant/auth-token`

This endpoint is used to authenticate the merchant and obtain an authentication token. Upon successful validations, the response will include the authentication token.

## Headers

- `Content-Type` string

## Request body

- object
  - `portone_key` string, required — The merchant's Portone API key.
  - `portone_secret` string, required — The merchant's Portone secret key.

## Response `200`

Successful response

- object
  - `content` AuthTokenContent — The JSON object containing the authentication token information.
    - `token` string — The authentication token.
    - `expires_in` integer — The time in seconds until the token expires.
  - `message` string — The description of the API request execution result
  - `status_code` string — The status code of API response
  - `status_reason` string — The status reason of API response

## Other responses

- `400` — Bad Request

---

[API](https://skmtc.net/portone/apis/payment-apis.md) · [All operations](https://skmtc.net/portone/apis/payment-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/portone/payment-apis/revisions/f3ccea652555/schema)
