---
title: "VerifyRule:Create"
method: POST
path: "/v2/verifyrules"
tags: ["VerifyRule"]
---

# VerifyRule:Create

`POST /v2/verifyrules`

Mark certain data points as reliable (positive) or unreliable (negative) and our VERIFY module will take this into account in the decision making. If a merchant is supplied then you need to have access to that merchant. You need to authenticate with an AT-code as username and a token as password.

## Request body

- VerifyRuleVerifyRuleInput — The payload for creating a verify rule for a merchant.
  - `merchantCode` string, required
  - `verifyRule` VerifyRuleVerifyRuleInputVerifyRule, required — The verify rule details within the payload.
    - `verifyRuleType` string, nullable
    - `label` string, nullable
    - `value` string, nullable
    - `score` integer, nullable
    - `expiresAt` string, nullable

## Response `201`

Created

- VerifyRuleVerifyRuleOutput — A single verify rule with its type.
  - `code` string, nullable — The RV-code for a Rule verify
  - `verifyRuleType` string, nullable — The verify rule verifyRuleType
  - `label` string — The verify rule label.
  - `value` string — The verify rule value.
  - `score` integer — The verify rule score.
  - `merchant` VerifyRuleVerifyRuleOutputMerchant — The merchant linked to a verify rule.
    - `code` string — The merchant id of your company starting with M.
    - `status` string — The status of the merchant.
    - `name` string — The public company name.
  - `expiresAt` string, date-time, nullable — The expiration date date time presented in the correct ISO-8601 (a.k.a. ATOM) notation
  - `createdAt` string, date-time, nullable — The date and time at which this entity was created in ISO-8601 (ATOM) notation
  - `createdBy` string, nullable — The reference to an account or token whom created the entity
  - `modifiedAt` string, date-time, nullable — The date and time at which this entity was modified in ISO-8601 (ATOM) notation.
  - `modifiedBy` string, nullable — The reference to an account or token whom modified this entity
  - `deletedAt` string, date-time, nullable — The date and time at which this entity was deleted in ISO-8601 (ATOM) notation.
  - `deletedBy` string, nullable — The reference to an account or token whom deleted the entity
  - `_links` LinkOutput[], nullable
    - `href` string, nullable — The URI to the linked resource
    - `rel` string, nullable — The name of the linked resource
    - `type` string, nullable — The (http(s)) method needed to approach the linked resource

## Other responses

- `400` — Bad request, see response body for more information
- `401` — Unauthorized. Supplied credentials are invalid
- `403` — Forbidden. Supplied credentials have no rights
- `404` — Resource not found
- `405` — Used HTTP method is not allowed
- `406` — Not acceptable. The supplied content type in the accept parameter in the header is not supported
- `410` — Indicates that this resource is no longer available for use
- `415` — Unsupported media. The supplied content type in the content-type parameter in the header is not supported
- `422` — Unprocessable entity, see response body for more information
- `429` — Rate limit reached.
- `500` — An internal error occurred.
- `503` — The server is currently unable to handle your request

---

[API](https://skmtc.net/pay/apis/pay-transaction-gateway-unit-api.md) · [All operations](https://skmtc.net/pay/apis/pay-transaction-gateway-unit-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pay/pay-transaction-gateway-unit-api/versions/2bc260c7bdfc/schema)
