Body
The deposit to create.
-
The unique id.
-
The date and time of creation in UTC time.
-
The date and time last modification in UTC time.
-
The date the deposit was received.
-
The amount of the deposit.
-
If the deposit has been received or not.
-
If the deposit accumulates interest.
-
If the deposit is held or not.
-
Who the deposit is held by.
-
If the deposit is direct or not.
-
The reference number for the deposit.
Responses
-
OK
-
Request succeeded.
-
Invalid request. See response body for details.
-
Unauthorized. See response body for details.
-
Permission denied. See response body for details.
-
Not found. See response body for details.
-
Conflict. See response body for details.
-
Validation failed. See response body for details.
POST
/v1/transactions/{transactionId}/deposits
curl \
--request POST 'https://api.lwolf.com/backoffice/v1/transactions/{transactionId}/deposits' \
--header "Content-Type: application/json" \
--data '{"id":"string","date":"string","held":true,"amount":0,"direct":true,"heldBy":"string","interest":true,"received":true,"reference":"string","createdTimestamp":"string","modifiedTimestamp":"string"}'
Request example
{
"id": "string",
"date": "string",
"held": true,
"amount": 0,
"direct": true,
"heldBy": "string",
"interest": true,
"received": true,
"reference": "string",
"createdTimestamp": "string",
"modifiedTimestamp": "string"
}
Response examples (201)
{
"id": "string",
"date": "string",
"held": true,
"amount": 0,
"direct": true,
"heldBy": "string",
"interest": true,
"received": true,
"reference": "string",
"createdTimestamp": "string",
"modifiedTimestamp": "string"
}
Response examples (400)
{
"id": "string",
"code": 0,
"details": [
"string"
],
"message": "string"
}
Response examples (401)
{
"id": "string",
"code": 0,
"details": [
"string"
],
"message": "string"
}
Response examples (403)
{
"id": "string",
"code": 0,
"details": [
"string"
],
"message": "string"
}
Response examples (404)
{
"id": "string",
"code": 0,
"details": [
"string"
],
"message": "string"
}
Response examples (409)
{
"id": "string",
"code": 0,
"details": [
"string"
],
"message": "string"
}
Response examples (422)
{
"id": "string",
"code": 0,
"details": [
"string"
],
"message": "string"
}