Description | Deactivating card by POS dealer |
Request Path | {{base_url}}/dealers/card-deactivate/ |
Method | Post |
Usage
This method is called for deactivating physical cards. A card which doesn’t have any redeem transaction, can deactivate.
Request Parameters
Parameter | Data Type | Position | Required | Description |
Authorization | String | Header | Yes | Used retrieving token in a header: Authorization: JWT {token} |
terminal_id | Integer | Body | Yes | Store Terminal id |
terminal_pin | String | Body | No | Terminal user password |
barcode | String | Body | Yes | 30 digit characters |
transaction_id | String | Body | Yes | Use a Universally Unique Identifier (UUID) algorithm to enforce uniqueness |
product_id | Integer | Body | Yes | Retrieved from check API |
Response Parameters
Parameter | Description | Nullable |
status_code | Status code:{01, 03, 04, 05, 08, 09, 10, 11} | No |
status | Operation status for example:Success | No |
expire_date | Expiration of card | No |
remaining | Remaining amount | No |
transaction_id | Transaction id of deactivation | No |
tracking_id | Track id for this transaction | No |
currency_detail | Detail of currency | No |
title | Title of currency | No |
abbr | Abbreviation of currency | No |
symbol | Symbol of currency | No |
iso_code | An unique number of currency | No |