API Documentation

Check Balance

URL: http://gsbi1.com/squirrelService2/api.php
Method: POST

  • $merchantkey An API code with check balance permission.
  • $merchant Merchant ID
  • $cno Card Number
  • $pin Pin Number
Response: 200 OK, application/json
{
  success : True/False, 
  errortext : error message if success false, 
  balance : balance if success true, 
  code : response code
}
				
Examples:
{ "success" : true, "errortext" : "", "balance" : "$25.00", "code" : "000" }
{ "success" : false, "errortext" : "Invalid card number/pin number", "balance" : "", "code" : "900011" }
{ "success" : false, "errortext" : "Sorry No Results For This Entry.", "balance" : "", "code" : "010" }
{ "success" : false, "errortext" : "Merchant is down", "balance" : "", "code" : "900017" }
{ "success" : false, "errortext" : "Timeout", "balance" : "", "code" : "179" }
{ "success" : false, "errortext" : "Invalid Merchant", "balance" : "", "code" : "900016" }
				


Get Merchant List

URL: http://gsbi1.com/squirrelService2/api.php
Method: POST

  • $merchantkey An API code with check balance permission.
  • $merchant Keyword "list" should be set.
Response: 200 OK, application/json
{
  ID : an ID of merchant, 
  Name : name of merchant,
  v2 : true if merchant have reCaptcha v2, 
  Active : true if merchant is available to check balance,
  VoIP : true if merchant is VoIP
}
				
Examples:
[{"ID":"5001", "Name":"1 800 Flowers.com", "v2":false, "Active":true, "VoIP":true},
 {"ID":"5008", "Name":"76 Gas", "v2":true, "Active":true, "VoIP":false},
 {"ID":"5017", "Name":"Abercrombie & Fitch", "v2":true, "Active":false, "VoIP":false},
 {"ID":"5075", "Name":"BabiesRUs", "v2":false, "Active":true, "VoIP":false},
 ...,
 ...,
]
				

Contact Us

Copyright 2014 © Gift Card Computer Consulting Inc. All rights reserved