---
title: "Create a waiver for a Decision Engine Tree"
method: POST
path: "/pws/pws_create_decision_tree_waiver"
tags: ["Decision Engine"]
---

# Create a waiver for a Decision Engine Tree

`POST /pws/pws_create_decision_tree_waiver`

This web service allows to create a waiver for a Decision Engine Tree.

## Request body

- PwsCreateDecisionTreeWaiverModel — This web service allows the creation of a decision tree waiver. A decision tree waiver is used to bypass a decision tree for a specific transaction.
  - `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
  - `tree_id` integer, required — The id of the decision tree
  - `user_id` string — User Id of the Customer who triggered the API request.
  - `remarks` string — Remarks for API request
  - `scope` 'ACCOUNT' | 'ACCOUNT_GROUP' | 'PRODUCT' | 'CLIENT' | 'TOKEN' | 'ACCOUNT,ACCOUNT_GROUP,PRODUCT,CLIENT,TOKEN' — The scope of the entity that will be waived
  - `scope_id` string — The ID of the entity that will be waived.
  - `expiry_date` string — The date and time when the waiver expires, formatted in ISO 8601 style yyyy-MM-dd'T'HH:mm:ss[.SSS]. If not provided, the waiver will not expire.

## Response `200`

Successful Response

## 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)
