---
title: "Update EMV Script"
method: POST
path: "/pws/pws_update_emv_script/"
tags: ["EMV"]
---

# Update EMV Script

`POST /pws/pws_update_emv_script/`

This web service is used to update the emv script which will be used during authorization transaction on ATM terminal.

## Request body

- UpdateChipAccountScriptModel
  - `api_call_unique_identifier` string, required — Unique number that must be passed at each API request. Identifier to make each API request unique
  - `chip_accounts` ChipAccount[], required — list of chip account
    - `account_currency_code` string, required — The currency code of the account
    - `account_number` string, required — The account number that would be included in script to update the account number in chip
    - `account_type` string, required — Account Type can be one of the following<ul><li> 01 = Saving Account</li><li> 02 = Current Account</li><li> 03 = Credit Card Account or Federal Card Account</li><li> 05 = No-passbook Savings Account</li><li> 07 = Loan Account</li><li> 08 = Integrated Account (Other Currency)</li><li> 09 = Integrated Account (Savings)</li><li> 10 = Integrated Account (Current)</li></ul>
    - `account_restriction` integer — Account Restriction can be one of the following (The default value is 0 if not provided)<ul><li> 0 = No restriction applied</li><li> 1 = Debits prohibited (deposits, transfer to allowed)</li><li> 2 = Credit prohibited (withdrawal & transfer from allowed)</li></ul>
  - `client_id` integer, required — Unique identifier for the client which Paymentology will provide at outset
  - `token` integer, required — Public token for the card

## Response `200`

Successful Response

- UpdateChipAccountScriptResponseModel
  - `header` Header
    - `error_desc` string, required — Error Description
    - `error_id` integer, required — Error Id
  - `body` UpdateChipAccountScriptResponseBody
    - `script_identifier` integer — The identifier of the script update

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