Charge Card

DescriptionCharging card by POS dealer
Request Path{{base_url}}/dealers/card-charge/
MethodPost

 Usage

         This method is called for charging a physical card. A card which is reusable, can charge.

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 a range of prices (min_price not equal to max_price) then send the 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_idTransaction id of chargeNo 
tracking_idTrack id of chargeNo 
Currency_detailDetail of currencyNo 
    titleTitle of currencyNo 
    abbrAbbreviation of currencyNo 
    symbolSymbol of currencyNo 
    Iso_codeAn unique number for currencyNo