- Print
- DarkLight
Modify the credit associated with a specific entity such as contract or customer. Note that modifying credit requires that you acquire a lock and then provide a key during modification, otherwise the request is rejected. Locks are valid for 120s.
A textual reason for modification(s)
The modifications to make to the credit holder's credit. Each credit type (i.e. monetary etc.) can only be modified once per operation.
Modify the monetary credit
The currency to price the order in. The currency code should be provided in the 3 letter (ISO 4217 standard)[https://www.iso.org/iso-4217-currency-codes.html].
Amount to update the current credit by, represented in the base denomination e.g. pence for GBP. A positive value will increase the current credit of the account, whilst a negative value will decrease the current credit.
Modified Credit Holder
Entity that holds the credit
ID of the entity that holds the credit.
Current value of each credit type the entity holds.
Current value of each credit type the entity holds.
Type of credit the holder has
The currency the credit is priced in. The currency code should be provided in the 3 letter (ISO 4217 standard)[https://www.iso.org/iso-4217-currency-codes.html].
Value of the credit represented in the base denomination e.g. pence for GBP.
Timestamp of when the credit was updated in (ISO 8601)[https://www.iso.org/iso-8601-date-and-time-format.html].
Additional information about the resource.
Invalid request body
Details of problems encountered processing the request.
Details of a problem encountered processing the request.
The HTTP status code applicable to the problem
A short-human readable description of the problem, this should not change from occurrence to occurrence.
A human-readable explanation specific to this occurrence of the problem.
Unauthorised
Details of problems encountered processing the request.
Details of a problem encountered processing the request.
The HTTP status code applicable to the problem
A short-human readable description of the problem, this should not change from occurrence to occurrence.
A human-readable explanation specific to this occurrence of the problem.
Forbidden
Details of problems encountered processing the request.
Details of a problem encountered processing the request.
The HTTP status code applicable to the problem
A short-human readable description of the problem, this should not change from occurrence to occurrence.
A human-readable explanation specific to this occurrence of the problem.
Not Found
Details of problems encountered processing the request.
Details of a problem encountered processing the request.
The HTTP status code applicable to the problem
A short-human readable description of the problem, this should not change from occurrence to occurrence.
A human-readable explanation specific to this occurrence of the problem.
Unprocessable Content
Details of problems encountered processing the request.
Details of a problem encountered processing the request.
The HTTP status code applicable to the problem
A short-human readable description of the problem, this should not change from occurrence to occurrence.
A human-readable explanation specific to this occurrence of the problem.
Locked
Details of problems encountered processing the request.
Details of a problem encountered processing the request.
The HTTP status code applicable to the problem
A short-human readable description of the problem, this should not change from occurrence to occurrence.
A human-readable explanation specific to this occurrence of the problem.
Internal Server Error
Details of problems encountered processing the request.
Details of a problem encountered processing the request.
The HTTP status code applicable to the problem
A short-human readable description of the problem, this should not change from occurrence to occurrence.
A human-readable explanation specific to this occurrence of the problem.
Service Unavailable
Details of problems encountered processing the request.
Details of a problem encountered processing the request.
The HTTP status code applicable to the problem
A short-human readable description of the problem, this should not change from occurrence to occurrence.
A human-readable explanation specific to this occurrence of the problem.