Persists Balance of Accounts
post
/accountbalance
This endpoint is used to create new balance of the account.
Request
Supported Media Types
- application/json
- application/xml
Request Body that contains data required for creating a new account
Nested Schema : GenericDto
Match All
Show Source
-
object
GenericDto-allOf[0]
Discriminator:
resource_type
Nested Schema : GenericDto-allOf[0]
Type:
object
Discriminator:
resource_type
Nested Schema : LmdTbCustomerAccountBalanceDTO-allOf[1]
Type:
Show Source
object
-
accountNumber(optional):
string
Maximum Length:
30
-
availableBalance(optional):
number
-
branchCode(optional):
string
Maximum Length:
4
-
cityName(optional):
string
Maximum Length:
50
-
countryName(optional):
string
Maximum Length:
50
-
currencyCode(optional):
string
Maximum Length:
3
-
customerId(optional):
string
Pattern:
[a-zA-Z0-9]{1,20}
-
latitude(optional):
number
-
longitude(optional):
number
-
region(optional):
string
Maximum Length:
100
-
structureId(optional):
string
Pattern:
[A-Z0-9]{1,30}
-
valueDate(optional):
string(date)
Response
Supported Media Types
- application/json
- application/xml
201 Response
Returns message of success or failure
Headers
-
Location: string
URL of newly created account
Nested Schema : ResponseResourceSupport
Type:
object
Nested Schema : items
Type:
object
400 Response
Malformed syntax.
401 Response
Request does not have sufficient credentials.
403 Response
Request is not authorized.
405 Response
Invalid input
500 Response
Internal error