Getting Started
[B2C Client] Create Subaccount
Request Header
ReadMe parameters block:
Code
Request query parameters
| Key Parameters | Data Type | Description |
|---|---|---|
| name | String | The name of the business or individual consumer |
| subAccountCode | String | A unique alphanumeric code (max. 5 characters) used to identify the subaccount |
| String | Contact email address for the subaccount | |
| address | String | Business or residential address associated with the subaccount |
| picture | File | (Optional) Logo image file (max. 2 MB) to visually represent the subaccount |
Response parameters
| Key Parameters | Data Type | Description |
|---|---|---|
| status | String | Status of the subaccount creation: "approved" or "rejected" |
| apiKey | Object | Object containing the generated API credentials |
| clientKey | String | Encrypted public API key (using Client's public key uploaded via the upload public key API) for the subaccount. |
| clientSecret | String | Encrypted secret key (using Client's public key uploaded via the upload public key API) used to authenticate API requests |
Error Response
Please check the B2C Subaccount Onboarding Product Documentation for the error response
Last modified on
