To make a payment, use the command account/do_payment:
svc=account/do_payment¶ms={"itemId":<long>, "balanceUpdate":<double>, "daysUpdate":<int>, "description":<text>}
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
{} /* empty object if execution successful, if not - error code */