---
title: "Merchant - Create Bearer Token"
method: POST
path: "/api/valor/login?token"
---

# Merchant - Create Bearer Token

`POST /api/valor/login?token`

## Request body

- object
  - `mailId` string, required — E-mail id of the iso office - Varchar (Ex: test@domain.com, Max length of 50 chars)
  - `SubmailId` string, required — Submail / the username of the sub office - Varchar (Ex: test@domain.com, Max length of 50 chars)
  - `passCode` string, required — The password of the office login on which the merchant to be boarded

## Response `200`

200

- object
  - `message` string
  - `status` boolean
  - `code` integer
  - `data` object
    - `user_id` integer
    - `userType_id` integer
    - `access_token` string

## Other responses

- `400` — 400

---

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