|
#1
|
|||
|
|||
|
Hello
Which function of the API should I use to get the total credits of a customer? |
|
#2
|
||||
|
||||
|
I believe you will want to use gettransreceived http://www.blesta.com/manual/API:Get...tions_Received
and sum the credited field for all transactions There should be an easier, more direct way in the API for v3, but this should do it in 2.x |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Need help with a credit and how payments work! | Marco | General Discussion | 3 | 01-07-2012 01:53 AM |
| Credit problems? | BitEntity | General Discussion | 1 | 09-08-2010 04:48 PM |
| Credit cards - on file and offline processing? | crystal | Pre-Sale Questions | 0 | 04-06-2010 08:12 PM |
| add credit to client ? | naja7host | General Discussion | 2 | 10-07-2009 11:30 PM |
| What is Total Credit for? | naro | General Discussion | 3 | 02-15-2008 04:27 PM |