Knowledge Base/Support & Answers

Can I query the program for a balance only to integrate into my site?

Tiago Soromenho
posted this on January 30, 2010 02:53 pm

QUESTION:

Is possible that the balance of consumer information be returned without any HTML format so I can integrate into my site when my customers log into it?

 

ANSWER:

Yes, you need to use following URL template.  It will allow you to query your account with the following information:

where:

  1. "XXX" is the account ID of your account
  2. "BBB" is the client Card # / Unique ID
  3. "CCC" is the campaign for which the balance is being requested. Note that the campaign name is case-sensitive and any spaces in the campaign name have to be replaced with "%20".

This should thus result in a numerical value being returned, without any HTML formatting.