Rules V2

Create Basic Velocity Rule

Changed on

Version 2 Advance Rules api support idempotency

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
post/pws/v2/pws_rule_create_basic/

Request

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

Request body

api_call_unique_identifierstring required

Unique number that must be passed at each API request. Identifier to make each API request unique

client_idinteger required

Unique identifier for the client which Paymentology will provide at outset

group_idinteger required

Group id

limit_typeinteger required

Limit type values are configurable by client.

limit_valuestring 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>
scopestring 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_idstring

User Id of the Customer who triggered the API request.

remarksstring

Remarks for API request

tokeninteger

Public token. Required when scope=C

Example request

{
  "api_call_unique_identifier": "438574845790657485",
  "client_id": 760131,
  "group_id": 1267,
  "limit_type": 1,
  "limit_value": "(5,0,10)",
  "scope": "G",
  "token": 311012081
}

Response

Successful Response

Example response

{
  "header": {
    "error_desc": "success"
  },
  "body": {
    "rule_id": 103
  }
}

Changes