Check Card

DescriptionChecking the card based on pin or pan 
Request Path{{base_url}}/stores/card-check/
MethodPost

Usage

         Clients can check card status by using the card’s PAN (barcode) on the back of the physical card. Or they can do it  by using the card’s PIN and PAN or PIN and brand ID.

Request Parameters

ParameterData TypePositionRequiredDescription 
AuthorizationStringHeaderYesUsed retrieving token in a header: Authorization: JWT {token}
barcodeStringBodyYes30 digit number
pinStringBodyYes16 digit numbers and characters 
brandIntegerBodyYesBrand id

Response Parameters

ParameterDescriptionNullable 
status_codeStatus code:{02, 03, 04, 05, 08, 10, 11}No 
statusOperation status for example:Success No 
expire_dateExpiration dateNo 
remainingRemaining amountNo 
product_detailInformation about productNo 
  id Product idNo 
  Brand Brand idNo 
  Brand_nameName of the brand No 
  nameProduct nameNo 
  logoProduct  logo pictureNo 
  card_typecode of Type of card No 
  card_type_displayShowing type of card : (oo,om,mm)No 
  product_typeCode of type of  productNo 
  product_type_displayShowing type of product :digital , physicalNo 
  min_priceMin price of a productNo 
  max_priceMax price of a productNo 
  is_enableIf a product is enable or notNo 
  currency_detailDetail of currencyNo 
        titleCurrency titleNo 
        abbrAbbreviation of currency nameNo 
        symbolSymbol of currencyNo 
        iso_codeA unique code each currencyNo