| Description | Charging card by POS dealer |
| Request Path | {{base_url}}/dealers/card-charge/ |
| Method | Post |
Usage
This method is called for charging a physical card. A card which is reusable, can charge.
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 a range of prices (min_price not equal to max_price) then send the 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 | Transaction id of charge | No |
| tracking_id | Track id of charge | 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 for currency | No |