Create Cash Account
POST/v1.2/customer/account/cash
This can be used to create a cash account for a given currency.
Request
Header Parameters
Throttle-Key string
- application/json
Body
required
customerNumber stringrequired
Customer Number
currency stringrequired
Currency
Responses
- 200
- 401
OK
- */*
- Schema
- Example (from schema)
- example
Schema
cashAccountNumber string
Possible values: non-empty
status stringrequired
Possible values: non-empty
, [SUCCESS
, FAILED
]
reason string
Possible values: non-empty
rejectCode number
Find error codes here
{
"cashAccountNumber": "string",
"status": "SUCCESS",
"reason": "string",
"rejectCode": 0
}
{
"status": "SUCCESS",
"cashAccountNumber": "C003313290"
}
Unauthorized
- application/json
- Schema
- Example (from schema)
- Invalid Token
- Expired Token
Schema
timestamp string
status string
error string
message string
path string
rejectCode string
{
"timestamp": "string",
"status": "string",
"error": "string",
"message": "string",
"path": "string",
"rejectCode": "string"
}
{
"timestamp": "2023-12-28T09:51:50.682Z",
"status": "401",
"error": "Unauthorized",
"message": "Invalid Token",
"path": "/api/v1.2/customer/account/cash",
"rejectCode": "1008"
}
{
"timestamp": "2023-12-28T09:51:50.682Z",
"status": "401",
"error": "Unauthorized",
"message": "Expired Token",
"path": "/api/v1.2/customer/account/cash",
"rejectCode": "1007"
}
Loading...
Is this page helpful for you?