Deactivate Card

DescriptionDeactivating card by POS dealer
Request Path{{base_url}}/dealers/card-deactivate/
ReversibleYes
MethodPost

 Usage

         This method is called for deactivating the card by POS dealer.

Request Parameters

ParameterData TypePositionRequiredDescription 
terminal_idIntegerBodyYesTerminal id
terminal_pinStringBodyNoTerminal user password
barcodeStringBodyYes30 digit characters 
transaction_idStringBodyYesUse a Universally Unique Identifier (UUID) algorithm to enforce uniqueness
product_idIntegerBodyYesRetrived from check API

Response Parameters

ParameterDescriptionRequired
status_code01: success02: card 1 is active03: card 1 is inactive04: invalid: card count not matched!06: insufficient budget07: incorrect amount400: amount is not in valid range!Yes
statusOperation status for example:Success Yes
expire_dateExpiration of cardYes
remainingRemaining amountYes
product_detailInformation about productYes
  id Product idYes
  currency_symbolCurrency symbolYes
  nameProduct nameYes
  logoProduct logoYes
  description Description about productYes
  websiteProduct websiteYes
  emailProduct emailYes
  phone_numberUser phone numberYes
  card_type0: disposable1: multi_useYes
  min_priceMin price of productYes
  max_priceMax price of productYes
  is_enableIf product is enable or notYes
  pin_regexFirst characters of pin. No
  currencyCurrency idYes
wallet_detailInformation about walletYes
transaction_idTransaction idYes
tracking_idTracking idYes