---
title: "Create Basic Velocity Rule"
method: POST
path: "/pws/pws_rule_create_basic/"
tags: ["Rules"]
---

# Create Basic Velocity Rule

`POST /pws/pws_rule_create_basic/`

## Request

- Base URL: `https://api.uat.paymentology.com/ppws/api`
- URL: `https://api.uat.paymentology.com/ppws/api/pws/pws_rule_create_basic/`
- Auth: none declared

This web service allows to set limits for restricting ATM and ECOM transactions like :

*   Daily ATM Cash Limit
*   Weekly ATM Cash Limit
*   Monthly ATM Cash Limit
*   Yearly ATM Cash Limit
*   Daily ECOM Limit
*   Weekly ECOM Limit
*   Monthly ECOM Limit
*   Yearly ECOM Limit
*   Daily ATM Txn Count
*   Daily POS Txn Count
*   Daily ECOM Txn Count
*   Daily MOTO Txn Count

## Request body

- CreateBasicRuleModel: This web service allows to set Limits for restricting ATM and ECOM transactions
  - `api_call_unique_identifier` string, required: Unique number that must be passed at each API request. Identifier to make each API request unique
  - `client_id` integer, required: Unique identifier for the client which Paymentology will provide at outset
  - `group_id` integer, required: Group id
  - `limit_type` integer, required: Limit type values are configurable by client.
  - `limit_value` string, required: <p>Limit Value. Format depends on scope value.</p><ul><li class="docBullet">When scope is 'C' : Decimal number example "5".</li><li class="docBullet">When scope is 'G' : Limit value with default limit, minimum limit and maximum limit "(default,min,max)" like "(5,0,10)" where 5 is default value 0 is minimum limit and 10 is maximum limit</li></ul>
  - `scope` string, required: Rule applicable scope. Values of scope can be : <ul><li class="docBullet">C = Direct card rules</li><li class="docBullet">G = Group rules</li></ul>
  - `user_id` string: User Id of the Customer who triggered the API request.
  - `remarks` string: Remarks for API request
  - `token` integer: Public token. Required when scope=C

## Response `200`

Successful Response

- CreateRuleResponseModel
  - `header` ResponseHeader
    - `error_id` integer: Error Id
    - `error_desc` string: Error Message
  - `body` CreateRuleResponseModelBody
    - `rule_id` integer: Rule Id

## Other responses

- `404`: Webservices does not exist
- `500`: Internal Server error

## Changes

- **2026-11-03** `73c2771493b1`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/paymentology/apis/payapi-docs/changes/pws/pws_rule_create_basic/post.md)

---

[API](https://skmtc.dev/paymentology/apis/payapi-docs.md) - [All operations](https://skmtc.dev/paymentology/apis/payapi-docs/llms.txt) - [OpenAPI document](https://skmtc.dev/paymentology/apis/payapi-docs/revisions/73c2771493b1?raw)
