---
title: "Login"
method: POST
path: "/Login"
---

# Login

`POST /Login`

## Request

- Base URL: `https://testpayarcconnectapi.curvpos.com`
- URL: `https://testpayarcconnectapi.curvpos.com/Login`
- Auth: API key in header `Authorization`

Used to retrieve authorization information. All parameters can be found in the Payarc portal at https://dashboard.payarc.net/

## Headers

- `Accept` string, required
- `Content-Type` string, required

## Request body

- object
  - `Email` string, required: Email used to sign into PayArc portal.<br><table style='width: 100%; border-collapse: collapse;'><tr><td style='text-align: center;'><b>Type</b></td><td style='text-align: center;'><b>Format</b></td></tr><tr><td>String</td><td>Alphanumeric</td></tr></table>
  - `MID` string, required: Merchant ID, can be found in the Merchant Profile section.<br><table style='width: 100%; border-collapse: collapse;'><tr><td style='text-align: center;'><b>Type</b></td><td style='text-align: center;'><b>Format</b></td></tr><tr><td>Numeric</td><td>Numeric</td></tr></table>
  - `ClientSecret` string, required: Found in the API section.<br><table style='width: 100%; border-collapse: collapse;'><tr><td style='text-align: center;'><b>Type</b></td><td style='text-align: center;'><b>Format</b></td></tr><tr><td>String</td><td>Alphanumeric</td></tr></table>
  - `SecretKey` string, required: Found in the API section.<br><table style='width: 100%; border-collapse: collapse;'><tr><td style='text-align: center;'><b>Type</b></td><td style='text-align: center;'><b>Format</b></td></tr><tr><td>String</td><td>Alphanumeric</td></tr></table>

## Response `200`

200

- object
  - `ErrorCode` integer
  - `ErrorMessage` string
  - `Terminals` object[]
    - `Object` string
    - `Id` string
    - `Terminal` string
    - `Type` string
    - `Code` string
    - `Is_enabled` boolean
    - `Device_id` string
    - `Pos_identifier` string
    - `Created_at` string
    - `Updated_at` string
  - `BearerTokenInfo` object
    - `TokenType` string
    - `AccessToken` string
    - `ExpiresIn` integer
    - `RefreshToken` string

## Other responses

- `400`: 400

---

[API](https://skmtc.dev/payarc/apis/payarc-connect.md) - [All operations](https://skmtc.dev/payarc/apis/payarc-connect/llms.txt) - [OpenAPI document](https://skmtc.dev/payarc/apis/payarc-connect/revisions/fe0e5f7f50be?raw)
