POST api/v1/account/create-account
Request Information
URI Parameters
None.
Body Parameters
CreateAccountRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Salutation | string |
Matching regular expression pattern: (^[ A-Za-z0-9.^/-]+$) |
|
| FirstName | string |
Matching regular expression pattern: (^[ A-Za-z0-9.^/-]+$) |
|
| LastName | string |
Matching regular expression pattern: (^[ A-Za-z0-9.^/-]+$) |
|
| MiddleName | string |
Matching regular expression pattern: (^[ A-Za-z0-9.^/-]+$) |
|
| MobileNumber | string |
Matching regular expression pattern: ^(?!0+$)(\+\d{1,3}[- ]?)?(?!0+$)\d{6,15}$ |
|
| string |
None. |
||
| DateOfBirth | date |
None. |
|
| Gender | string |
Matching regular expression pattern: (^[ A-Za-z0-9./-]+$) |
|
| HouseNumber | string |
Matching regular expression pattern: (^[ A-Za-z0-9./,-]+$) |
|
| StreetName | string |
Matching regular expression pattern: (^[ A-Za-z0-9.^/,-]+$) |
|
| Address | string |
Matching regular expression pattern: (^[ A-Za-z0-9.^/,-]+$) |
|
| Country | string |
Matching regular expression pattern: (^[ A-Za-z0-9.^/,-]+$) |
|
| State | string |
Matching regular expression pattern: (^[ A-Za-z0-9.^/-]+$) |
|
| City | string |
Matching regular expression pattern: (^[ A-Za-z0-9.^/-]+$) |
|
| Region | string |
Matching regular expression pattern: (^[ A-Za-z0-9]+$) |
|
| PostalCode | string |
Matching regular expression pattern: (^[ A-Za-z0-9.^/-]+$) |
|
| Signature | string |
None. |
|
| MaritalStatus | string |
Matching regular expression pattern: (^[ A-Za-z0-9.^/-]+$) |
|
| ReferralCode | string |
Matching regular expression pattern: (^[ A-Za-z0-9./-]+$) |
|
| BranchCode | string |
Matching regular expression pattern: (^[ A-Za-z0-9./-]+$) |
|
| AccountType | string |
Matching regular expression pattern: (^[ A-Za-z0-9./-]+$) |
|
| Occupation | string |
Matching regular expression pattern: (^[ A-Za-z0-9./-]+$) |
|
| Nationality | string |
Matching regular expression pattern: (^[ A-Za-z0-9./-]+$) |
|
| IdNumber | string |
Matching regular expression pattern: (^[ A-Za-z0-9./-]+$) |
|
| IdType | string |
Matching regular expression pattern: (^[ A-Za-z0-9./-]+$) |
|
| IdImage | string |
None. |
|
| PassportPhoto | string |
None. |
|
| CurrencyCode | string |
Matching regular expression pattern: (^[ A-Za-z0-9]+$) |
|
| ProductCode | string |
Matching regular expression pattern: (^[ A-Za-z0-9]+$) |
|
| RequestId | string |
Required Matching regular expression pattern: (^(?=.{4,50}$)([ A-Za-z0-9._|/-]+$)) |
|
| CountryId | string |
Required |
Request Formats
application/json, text/json
{
"Salutation": "sample string 1",
"FirstName": "sample string 2",
"LastName": "sample string 3",
"MiddleName": "sample string 4",
"MobileNumber": "sample string 5",
"Email": "sample string 6",
"DateOfBirth": "2025-12-19T13:57:21.917524+00:00",
"Gender": "sample string 8",
"HouseNumber": "sample string 9",
"StreetName": "sample string 10",
"Address": "sample string 11",
"Country": "sample string 12",
"State": "sample string 13",
"City": "sample string 14",
"Region": "sample string 15",
"PostalCode": "sample string 16",
"Signature": "sample string 17",
"MaritalStatus": "sample string 18",
"ReferralCode": "sample string 19",
"BranchCode": "sample string 20",
"AccountType": "sample string 21",
"Occupation": "sample string 22",
"Nationality": "sample string 23",
"IdNumber": "sample string 24",
"IdType": "sample string 25",
"IdImage": "sample string 26",
"PassportPhoto": "sample string 27",
"CurrencyCode": "sample string 28",
"ProductCode": "sample string 29",
"RequestId": "sample string 30",
"CountryId": "sample string 31"
}
application/xml, text/xml
<CreateAccountRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FirstBank.FIBridge.CoreObject.DataTransferObjects"> <CountryId>sample string 31</CountryId> <RequestId>sample string 30</RequestId> <AccountType>sample string 21</AccountType> <Address>sample string 11</Address> <BranchCode>sample string 20</BranchCode> <City>sample string 14</City> <Country>sample string 12</Country> <CurrencyCode>sample string 28</CurrencyCode> <DateOfBirth>2025-12-19T13:57:21.917524+00:00</DateOfBirth> <Email>sample string 6</Email> <FirstName>sample string 2</FirstName> <Gender>sample string 8</Gender> <HouseNumber>sample string 9</HouseNumber> <IdImage>sample string 26</IdImage> <IdNumber>sample string 24</IdNumber> <IdType>sample string 25</IdType> <LastName>sample string 3</LastName> <MaritalStatus>sample string 18</MaritalStatus> <MiddleName>sample string 4</MiddleName> <MobileNumber>sample string 5</MobileNumber> <Nationality>sample string 23</Nationality> <Occupation>sample string 22</Occupation> <PassportPhoto>sample string 27</PassportPhoto> <PostalCode>sample string 16</PostalCode> <ProductCode>sample string 29</ProductCode> <ReferralCode>sample string 19</ReferralCode> <Region>sample string 15</Region> <Salutation>sample string 1</Salutation> <Signature>sample string 17</Signature> <State>sample string 13</State> <StreetName>sample string 10</StreetName> </CreateAccountRequest>
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample not available.