Hi Gift
--------------------------
Home
About
Services
Blog
Contact
Login
[email protected]
Home
Docs
Distributor APIs
Active Card
Table of Contents
Usage
Request Parameters
Response Parameters
Description
Activating card by POS dealer
Request Path
{{base_url}}
/dealers/card-activate/
Reversible
Yes
Method
Post
Usage
This method is called for activating a card by POS dealer.
Request Parameters
Parameter
Data Type
Position
Required
Description
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
Required
status_code
01: success
02: card 1 is active
03: card 1 is inactive
04: invalid: card count not matched!
06: insufficient budget
07: incorrect amount
400: amount is not in valid range!
Yes
status
Operation status for example:
Success
Yes
expire_date
Expiration of card
Yes
remaining
Remaining amount
product_detail
Information about product
id
Product id
Yes
currency_symbol
Currency symbol
Yes
name
Product name
Yes
logo
Product logo
Yes
description
Description about product
Yes
website
Product website
Yes
email
Product email
Yes
phone_number
User phone number
Yes
card_type
0: disposable
1: multi_use
Yes
min_price
Min price of product
Yes
max_price
Max price of product
Yes
is_enable
If product is enable or not
Yes
pin_regex
First characters of pin.
No
currency
Currency id
Yes
wallet_detail
Information about wallet
Yes
id
Wallet id
Yes
currency_symbol
Currency symbol
Yes
brand_name
Brand name
Yes
created_time
Wallet created time
Yes
updated_time
Wallet updated time
Yes
name
Wallet name
Yes
description
Information about wallet
Yes
budget
budget
Yes
balance
balance
Yes
is_enable
Check if the wallet is active or not.
Yes
brand
Brand id
Yes
currency
Currency id
Yes
dealer
Distributor
id
Yes
Check Card
Charge Card
Shopping Basket