v1

latestOpenAPI 3.0.02026-07-242035712.0 MB
Rules (Deprecated)

Manage Rule Group

This web service allows to Link/unlink/view groups to a card.

post/pws/pws_manage_rulegroup/

Request body

actioninteger required
<p>action can be</p> <ul> <li class="docBullet">1==&gt;View</li> <li class="docBullet">2==&gt;Link</li> <li class="docBullet">3==&gt;UnLink</li> <li class="docBullet">4==&gt;Link Overriding Previous List</li> <li class="docBullet">5==&gt;Link token with token group</li> <li class="docBullet">6==&gt;UnLink token from token group</li> <li class="docBullet">7==&gt;View token groups</li> </ul>
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

tokeninteger required

public token for card

user_idstring

User Id of the Customer who triggered the API request.

remarksstring

Remarks for API request

groupsstring

comma separated group Id's. We can get group Id from <a class="external-link" href="#operation/pws_group_list"> list group</a>

Example request

{
  "action": 2,
  "api_call_unique_identifier": "438574845790657485",
  "client_id": 760131,
  "token": 311012081,
  "groups": "1267"
}

Response

Successful Response

Example response

{
  "header": {
    "error_desc": "success"
  },
  "body": [
    {
      "group_id": 103,
      "group_desc": "Container For Fraud rules ",
      "group_name": "Test group"
    }
  ]
}