This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
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] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
{{indexmenu_n>10}} | {{indexmenu_n>10}} | ||
- | ====== Do payment ====== | + | ====== Make payment ====== |
- | To do payment use command **account/do_payment**: | + | To make a payment, use the command **account/do_payment**: |
<code javascript> | <code javascript> | ||
Line 13: | Line 13: | ||
===== Parameters ===== | ===== Parameters ===== | ||
^ Name ^ Description ^ | ^ Name ^ Description ^ | ||
- | | itemId | resource(account) ID | | + | | itemId | resource (account) ID | |
| balanceUpdate | sum of payment (can be negative) | | | balanceUpdate | sum of payment (can be negative) | | ||
| daysUpdate | quantity of days added (can be negative) | | | daysUpdate | quantity of days added (can be negative) | |
|