v1

latestOpenAPI 3.0.02026-07-242035712.0 MB
Rules action

Create Decline action

This web service is used to create decline action

post/pws/pws_action_decline/

Request body

action_namestring required
<p>This is just a name given to decline action</p></br>Eg.Decline for decline action.</br>Alert for Alert action
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

de39string required
<p>Indicates transaction Approval or Decline.</br> possible value of de39 are listed below:</p><table > <tbody> <tr> <th ><strong>DE39 Value</strong></th> <th ><strong>Description</strong></th> <th ><strong>Decision</strong></th> </tr> <tr> <td >0</td> <td >Approved or complete completely</td> <td >Approve</td> </tr> <tr> <td >1</td> <td >Refer to card issuer</td> <td >Call issuer</td> </tr> <tr> <td >3</td> <td >Invalid Merchant</td> <td >Decline</td> </tr> <tr> <td >4</td> <td >Capture card</td> <td >Capture</td> </tr> <tr> <td >5</td> <td >Do not honor</td> <td >Decline</td> </tr> <tr> <td >8</td> <td >Honor with Id</td> <td >Approve</td> </tr> <tr> <td >10</td> <td> Partial Approval</td> <td >Approve</td> </tr> <tr> <td >12</td> <td >Invalid transaction</td> <td >Decline</td> </tr> <tr> <td >13</td> <td >Invalid Amount</td> <td >Decline</td> </tr> <tr> <td >14</td> <td >Invalid account Number</td> <td >Decline</td> </tr> <tr> <td >15</td> <td >Invalid Issuer</td> <td >Decline</td> </tr> <tr> <td >30</td> <td >Format error</td> <td >Decline</td> </tr> <tr> <td >41</td> <td >Lost card</td> <td >Capture</td> </tr> <tr> <td >43</td> <td >Stolen card</td> <td >Capture</td> </tr> <tr> <td >51</td> <td >Insufficient funds/over credit limit</td> <td >Decline</td> </tr> <tr> <td >54</td> <td >Expire card</td> <td >Decline</td> </tr> <tr> <td >55</td> <td >Invalid pin</td> <td >Decline</td> </tr> <tr> <td >57</td> <td >transaction not permitted to issuer/cardholder</td> <td >Decline</td> </tr> <tr> <td >58</td> <td >transaction not permitted to acquirer/terminal</td> <td >Decline</td> </tr> <tr> <td >61</td> <td >Exceeds withdrawl amount limit</td> <td >Decline</td> </tr> <tr> <td >62</td> <td >Restricted card</td> <td >Decline</td> </tr> <tr> <td >63</td> <td >Security Violation</td> <td >Decline</td> </tr> <tr> <td >65</td> <td >Exceeds withdrawl count limit</td> <td >Decline</td> </tr> <tr> <td >70</td> <td >Contact card issuer</td> <td >card Issuer</td> </tr> <tr> <td >71</td> <td >PIN Not Changed</td> <td >Decline</td> </tr> <tr> <td >75</td> <td >Allowable number of PIN tries exceeded</td> <td >Decline</td> </tr> <tr> <td >76</td> <td >Invalid/nonexistent 'To account' specified</td> <td >Decline</td> </tr> <tr> <td >77</td> <td >Invalid/nonexistent 'From account' specified</td> <td >Decline</td> </tr> <tr> <td >78</td> <td >Invalid/nonexistent account specified(general)</td> <td >Decline</td> </tr> <tr> <td >81</td> <td >Domestic Debit transaction Not Allowed(Regional Use only)</td> <td >Decline</td> </tr> <tr> <td >84</td> <td >Invalid Authorization Life Cycle</td> <td >Decline</td> </tr> <tr> <td >85</td> <td >Not declined Valid for all zero amount</td> <td >Valid</td> </tr> <tr> <td >86</td> <td >PIN Validation not possible</td> <td >Decline</td> </tr> <tr> <td >87</td> <td >Purchase Amount Only,No Cash Back Allowed</td> <td >Approve</td> </tr> <tr> <td >88</td> <td >Cryptographic Failure</td> <td >Decline</td> </tr> <tr> <td >89</td> <td >Unacceptable PIN-transaction Declined-Retry</td> <td >Decline</td> </tr> <tr> <td >91</td> <td >Authorization System or issuer system incorporate</td> <td >Decline</td> </tr> <tr> <td >92</td> <td >Unable to route transaction</td> <td >Decline</td> </tr> <tr> <td >94</td> <td >Duplicate transmission detected</td> <td >Decline</td> </tr> <tr> <td >96</td> <td >System error</td> <td >Decline</td> </tr> </tbody> </table> <p>Eg.5 (Do not Honor) which means decline transaction<p>Source:<a href="https://support.banking.live/confluence/pages/viewpage.action?pageId=4161687" target="_blank">Paymentology Confluence</a></p>
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

Example request

{
  "action_name": "decline",
  "api_call_unique_identifier": "438574845790657485",
  "client_id": 760131,
  "de39": "05",
  "rule_id": 366
}

Response

Successful Response

Example response

{
  "header": {
    "error_desc": "success"
  },
  "body": {
    "id": 1853
  }
}