---
title: "Generate OTP - Verify"
method: POST
path: "/api/merchant/payout/generateOTP/verify"
tags: ["Payout APIs"]
---

# Generate OTP - Verify

`POST /api/merchant/payout/generateOTP/verify`

## Headers

- `X-Portone-Client-Key` string
- `Authorization` string

## Request body

- object
  - `email` string, required — The email_address of the approver user
  - `two_fa_type` 'email' | 'phone', required — The type of 2FA setup. Accepted values are email, phone
  - `environment` 'live' | 'sandbox', required — The environment of the transaction is either live OR sandbox

## Response `200`

Successful response

- object
  - `action` string — The action type of OTP. Either verify or approve.
  - `message` string — The description of the API request execution result
  - `status_code` string — The status_code for API request execution result
  - `status_reason` string — The status_reason for API request execution result
  - `type` string — The type of the 2fa setup. e.g. phone or email

## Other responses

- `400` — Failure response
- `401` — Failure response

---

[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/versions/f3ccea652555/schema)
