Adjust Customer Credit

Records a manual adjustment in the customer's credit ledger and recalculates the customer's outstanding balance. amount is a signed change to the credit balance (positive increases the balance, negative decreases it). The ledger entry's note is stored as "Manual Adjustment - {remark}". Requires the p/r-customer permission.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required

Customer id.

Body Params
number
required

Signed credit change.

string
required
length ≤ 200

Reason recorded on the ledger entry.

Headers
string
required

The merchant install this request acts on (install.store_id from the app.installed webhook).

Response

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json