v1

latestOpenAPI 3.0.02026-07-242035712.0 MB
Rules action

List Action

This API is used to list the action that are applied to group or rule

post/pws/pws_action_list/

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

rule_idinteger required

Id of rule in which we want to add decline action.Rule Id is returned when creating rule.

user_idstring

User Id of the Customer who triggered the API request.

remarksstring

Remarks for API request

action_idinteger
<p>action Id ==Optional. Incase we need to get action list for the particular type of action, it will be mandatory.</p>
typestring
<p>action Type .&nbsp; These are type of action :</p><ul><li class="docBullet">alert indicates Alert action</li><li class="docBullet">decline indicates Decline action</li><li class="docBullet">crdr indicates Credit Debit action</li><li class="docBullet">dynblk indicates Dynamic Block action</li></ul>

Example request

{
  "api_call_unique_identifier": "438574845790657485",
  "client_id": 760131,
  "rule_id": 366,
  "type": "decline"
}

Response

Successful Response

Example response

{
  "header": {
    "error_desc": "success"
  },
  "body": [
    {
      "action_id": 153,
      "act_type": "decline",
      "action": "Decline transaction",
      "action_detail": "Decline with De39 = 10",
      "ap_status": 1
    }
  ]
}