---
title: "Create Decline action"
method: POST
path: "/pws/v2/pws_action_decline/"
tags: ["Rules action V2"]
---

# Create Decline action

`POST /pws/v2/pws_action_decline/`

This web service is used to create decline action<p>Version 2 Action Alert api support idempotency;</p>

## Request body

- DeclineActionModel — -- This web service allows to decline the different type of action
  - `action_name` string, 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_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
  - `de39` string, 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_id` integer, required — Id of rule in which we want to add decline action.Rule Id is returned when creating rule.
  - `user_id` string — User Id of the Customer who triggered the API request.
  - `remarks` string — Remarks for API request

## Response `200`

Successful Response

- CreateActionResponseModel
  - `header` ResponseHeader
    - `error_id` integer — Error Id
    - `error_desc` string — Error Message
  - `body` CreateActionResponseModelBody
    - `id` integer — action Id

## Other responses

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

---

[API](https://skmtc.net/paymentology/apis/payapi-docs.md) · [All operations](https://skmtc.net/paymentology/apis/payapi-docs/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/paymentology/payapi-docs/revisions/a675891b0365/schema)
