Adjust a user's credit balance
Increases or decreases the credit balance for the specified user. Each adjustment is recorded as a ledger entry. The idempotency_key parameter ensures that duplicate requests are safely handled.
Path parameters
The ID of the user whose credit balance to adjust
Request body
Response
A credit ledger entry.
Changes
Changed in 1 of the 15 revisions of this API.24
- ▲
the
amountresponse's property type/format changed frominteger/int64toobject/for status200response-property-type-changed
- ▲
removed the required property
currencyfrom the response with the200statusresponse-required-property-removed
- ○
added the required property
amount/amountto the response with the200statusresponse-required-property-added
- ○
added the required property
amount/amount_formattedto the response with the200statusresponse-required-property-added
- ○
added the required property
amount/currencyto the response with the200statusresponse-required-property-added
- ○
added the required property
amount/currency_symbolto the response with the200statusresponse-required-property-added
- ▲