Account Service
string · uuid · requirednumber · decimal · requiredstring · requiredstring · requiredstring · uuid · requiredstring · uuid · requiredstring · uuid · requiredstring · uuid · required string · uuid
cashbox-transfer
Operations addressed under /cashbox-transfer — 1 operation.
create-cashbox-transfer
POST
https://dg-sandbox.dgpays.com/account-service
/cashbox-transfer
Add Authorization: Bearer <token> yourself — generated samples and Try it do not attach a credential.
Response body, read from the service source
The route returns AuraCommandDto<Guid>, which is the response body itself and not a wrapper around one: the framework declares it as a class with a single property, Id, of type Guid. A caller gets a JSON OBJECT with one field, not a bare value. The field is id on the wire.
| Field | Name on the wire | Declared type | Nullable |
|---|---|---|---|
Id | id | Guid | no |
Member names are the service's declaration names.
Error codes this operation is known to raise
| Code | Status | Meaning | Message |
|---|---|---|---|
ERR_ACCNT_131 | 400 | SENDER_AND_RECEIVER_USER_CANNOT_BE_THE_SAME | Sender and receiver user cannot be the same. |
ERR_ACCNT_132 | 400 | SENDER_AND_RECEIVER_CASHBOX_CANNOT_BE_THE_SAME | Sender and receiver cashbox cannot be the same. |
ERR_ACCNT_138 | 400 | DESCRIPTION_CANNOT_BE_EMPTY_OR_HAVE_WHITE_SPACE | Description field cannot be empty |
ERR_ACCNT_18 | 400 | CURRENCY_ID_NOT_FOUND | Currency not found. |
ERR_ACCNT_85 | 400 | CASH_NOT_FOUND | Cash definition is not found. |
ERR_ACCNT_87 | 400 | CASH_USER_MAP_NOT_FOUND | Cash User Map not found. |
create-cashbox-transfer › Request Body
accountingEntryIdamountcurrencyNumberdescriptionreceiverCashBoxIdreceiverUserIdsenderCashBoxIdsenderUserIdcreate-cashbox-transfer › Responses
Success. An exact, uniquely bound route registration declares the command-id envelope, so this schema is the code-backed body contract.
Body shape declared by the exact route registration for the catalog's 200 response.
idIdentifier returned by the command.