do_payment

To make a payment, use the account/do_payment method:

Copied!
svc=account/do_payment&params={"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.

If you find a mistake in the text, please select it and press Ctrl+Enter.

Report a mistake

Your message was sent. Thank you!

An error occurred while submitting the form

Download PDF file
Download Word document

See also