Deactivate Card

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

 Usage

         This method is called for deactivating physical cards. A card which doesn’t have any redeem transaction, can deactivate.

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

Response Parameters

ParameterDescriptionNullable 
status_codeStatus code:{01, 03, 04, 05, 08, 09, 10, 11}No 
statusOperation status for example:Success No 
expire_dateExpiration of cardNo 
remainingRemaining amountNo 
transaction_idTransaction id of deactivationNo 
tracking_idTrack id for this transactionNo 
currency_detailDetail of currencyNo 
      titleTitle of currencyNo 
      abbrAbbreviation of currencyNo 
      symbolSymbol of currencyNo 
      iso_codeAn unique number of currencyNo