| Description | Activating card by POS dealer |
| Request Path | {{base_url}}/dealers/card-activate/ |
| Method | Post |
Usage
This method is called for activating a card by POS dealer.
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 |
| amount | String | Body | Yes | If the product has range of price (min_price not equal to max_price) then send needed amount, else send the min_price. |
Response Parameters
| Parameter | Description | Nullable |
| status_code | Status code:{01, 04, 05, 07, 08, 09, 10, 12} | No |
| status | Operation status for example:Success | No |
| expire_date | Expiration of card | No |
| remaining | Remaining amount | No |
| transaction_id | The transaction id which user sent in body | No |
| tracking_id | Track id of activation | No |
| currency_detail | Detail of currency | No |
| title | Title of currency | No |
| abbr | Abbreviation of currency | No |
| symbol | Symbol of currency | No |
| iso_code | Unique number of currency | No |