do_payment
To make a payment, use the account/do_payment command:
svc=account/do_payment¶ms={"itemId":<long>,
"balanceUpdate":<double>,
"daysUpdate":<int>,
"description":<text>}
Parameters
The request must contain the following parameters:
Parameter | Description |
---|---|
itemId | Resource (account) ID |
balanceUpdate | Sum of payment. The value can be negative. |
daysUpdate | Quantity of days added. The value can be negative. |
description | Description. |
Response
If the payment is successful, an empty object is returned.
Otherwise, an error code is returned.