Active Card

DescriptionActivating card by POS dealer
Request Path{{base_url}}/dealers/card-activate/
MethodPost

 Usage

         This method is called for activating a card by POS dealer.

Request Parameters

ParameterData TypePositionRequiredDescription 
AuthorizationStringHeaderYesUsed retrieving token in a header: Authorization: JWT {token}
terminal_idIntegerBodyYesStore Terminal id
terminal_pinStringBodyNoTerminal user password
barcodeStringBodyYes30 digit characters 
transaction_idStringBodyYesUse a Universally Unique Identifier (UUID) algorithm to enforce uniqueness
product_idIntegerBodyYesRetrieved from check API
amountStringBodyYesIf the product has range of price (min_price not equal to max_price) then send needed amount, else send the min_price.

Response Parameters

ParameterDescriptionNullable 
status_codeStatus code:{01, 04, 05, 07, 08, 09, 10, 12}No 
statusOperation status for example:Success No 
expire_dateExpiration of cardNo 
remainingRemaining amountNo 
transaction_idThe transaction id which user sent in bodyNo 
tracking_idTrack id of activationNo 
currency_detailDetail of currencyNo 
    titleTitle of currencyNo 
    abbrAbbreviation of currencyNo 
    symbolSymbol of currencyNo 
    iso_codeUnique number of currencyNo