Create an account
POST
/createAccount
Accounts
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/createAccount' \
--header 'Content-Type: application/json' \
--data-raw '{
"accountHolderCode": "string",
"bankAccountUUID": "string",
"description": "string",
"metadata": {
"property1": "string",
"property2": "string"
},
"payoutMethodCode": "string",
"payoutSchedule": "BIWEEKLY_ON_1ST_AND_15TH_AT_MIDNIGHT",
"payoutScheduleReason": "string",
"payoutSpeed": "STANDARD"
}'
Response Response Example
200 - Example 1
{
"accountCode": "string",
"accountHolderCode": "string",
"bankAccountUUID": "string",
"description": "string",
"invalidFields": [
{
"errorCode": 0,
"errorDescription": "string",
"fieldType": {
"field": "string",
"fieldName": "accountCode",
"shareholderCode": "string"
}
}
],
"metadata": {
"property1": "string",
"property2": "string"
},
"payoutMethodCode": "string",
"payoutSchedule": {
"nextScheduledPayout": "2019-08-24T14:15:22Z",
"schedule": "BIWEEKLY_ON_1ST_AND_15TH_AT_MIDNIGHT"
},
"payoutSpeed": "INSTANT",
"pspReference": "string",
"resultCode": "string",
"status": "Active"
}
Request
Body Params application/json
Responses
Modified at 2023-08-15 06:33:33