Payment Transactions

Balance Inquiry

Balance Inquiry

This method is used to check the amount remaining on a customer’s card.

Sample Request:

{
   "amount": "0.0",
   "method": "EBT",
   "type": "11",
   "nonce": {{$timestamp}},
   "test": "0",
   "reference_transaction_id": "",
   "client_ip": "172.26.15.177",
   "device_code": "",
   "market_code": "R",
   "notes": "100037310010",
   "card": {
      "track_data": "%B5053490000000115^FDCS TEST CARD /MASTERCARD^25121010001111123456789012?;5053490000000115=2512101100000123456?",
      "pin_block": "F187455E109DBC50",
      "ksn": "F876543210000A20007E"
   },
   "Customer": {
        "first_name": "Oscar",
        "last_name": "Brady",
        "street_1": "55",
        "street_2": "Airport Drive",
        "city": "Pensacola",
        "state": "FL",
        "zip": "32503",
        "country": "US",
        "phone_number": "2025550197",
        "company": "Ferry Group",
        "customer_id": "AUTO",
        "invoice_number": null,
        "email": "oscar@brady.com",
        "email_receipt": "YES",
        "notes": "Sample Test ",
    }
}

Sample Response:

{  
 "transaction_response": 
   {   
    "result_code": 1, 
    "result_sub_code":"000",
    "result_text": "APPROVAL",  
    "transaction_id": "1035511", 
    "transaction_datetime":"20200819T111206Z",  
    "account_type":"MC",   
    "account_last_4":"0115",   
    "amount":"0.00",  
    "approved_amount": "0.00",  
    "method": "EBT",   
    "auth_code": "002353",  
    "account_code_result": "",   
    "type": "11",  
    "expiration_date": "",  
    "token": "",  
    "emv": "",  
    "emv_tag_data": "",   
    "entry_mode": ""
    }, 
    "nonce":"1597835519",
    "test": "0",  
        "customer": 
     {    
     "first_name": "Oscar",    
     "last_name": "Brady",    
     "street_1": "55",    
     "street_2": "Airport Drive",    
     "city": "Pensacola",    
     "state": "FL",    
     "zip": "32503",    
     "country": "US",    
     "phone_number": "2025550197",    
     "company": "Ferry Group",    
     "customer_id": "1000461",    
     "email": "oscar@brady.com",    
     "email_receipt": "YES",    
     "notes": "Sample Test",    
     },
    "card_info": {    
    "card_class": "",    
    "product_id": "",    
    "prepaid_indicator": "",    
    "detailcard_indicator": "",    
    "debitnetwork_indicator": ""  
    }
}