- Print
- DarkLight
Lock Credit for Modification, fetching current credit amount
Lock credit associated with a specific entity such as a contract so it can be safely modified. Response will return the current credit amount and the lock key to use when modifying.
Retrieved and Locked Credit
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].
The credit lock, used to restrict modifications to a credit holders credit.
The unique key for this lock, the key is required to modify a credit holders credit.
The time at which the lock will expire if not explicitly released.
Additional information about the resource.
Unauthorized
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.
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.
Too Many Requests
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.