Differences

This shows you the differences between two versions of the page.

Link to this comparison view

en:sidebar:remoteapi:apiref:account:do_payment [30/01/2013 14:49]
zuve
en:sidebar:remoteapi:apiref:account:do_payment [29/11/2013 13:31]
Line 1: Line 1:
-{{indexmenu_n>​10}} 
-====== Do payment ====== 
  
-To do payment use command **account/​do_payment**: ​ 
- 
-<code javascript>​ 
-svc=account/​do_payment&​params={"​itemId":<​long>,​ 
-        "​balanceUpdate":<​double>,​ 
-        "​daysUpdate":<​int>,​ 
-        "​description":<​text>​} 
-</​code>​ 
- 
-===== Parameters ===== 
-^ Name ^ Description ^ 
-| itemId | resource(account) ID | 
-| balanceUpdate | sum of payment (can be negative) | 
-| daysUpdate | quantity of days added (can be negative) | 
-| description | description (required parameter) | 
- 
-===== Response ===== 
-<​code=javascript>​ 
-{} /* empty object if execution successful, if not - error code */ 
-</​code>​ 
Follow us on Facebook Gurtam Wialon Twitter Gurtam Wialon info@gurtam.com   |   Copyright © 2002-2019 Gurtam