Create Account With Role
post
{baseUrl}/v1/{accountWithErc5982UupsContractAddress}/createAccountWithRole
Creates a CBDC account and assigns the specified role.
Request
Path Parameters
-
accountWithErc5982UupsContractAddress(required): string
Path parameter
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
object-
account(required): string
Example:
account value -
applicationGroups(required): string
Example:
applicationGroups value -
maxDailyAmount(required): string
Example:
maxDailyAmount value -
maxDailyTransactions(required): string
Example:
maxDailyTransactions value -
orgId(required): string
Example:
orgId value -
role(required): string
Example:
role value -
userAddress(required): string
Example:
userAddress value -
userId(required): string
Example:
userId value -
walletId(required): string
Postman variable {{walletId}}Example:
Response
Supported Media Types
- application/json
200 Response
All combined rpc-proxy steps completed successfully.
Nested Schema : CombinedApi_StepResult
Type:
Show Source
object-
body(required):
Parsed rpc-proxy response body, or the unparsed response text.
-
statusCode(required): integer
-
step(required): string
-
stepIndex(required): integer
400 Response
Request validation failed, or a combined step rejected the request.
Root Schema : CombinedApi_FailureResponse
Type:
Show Source
object-
error(required): string
-
failedStep(required): string
-
failedStepBody:
Parsed response body from the failed step when available.
-
failedStepIndex(required): integer
-
status(required): string
-
steps(required): array
steps
Nested Schema : CombinedApi_StepResult
Type:
Show Source
object-
body(required):
Parsed rpc-proxy response body, or the unparsed response text.
-
statusCode(required): integer
-
step(required): string
-
stepIndex(required): integer
502 Response
A combined rpc-proxy step could not be invoked or reported a failed receipt.
Root Schema : CombinedApi_FailureResponse
Type:
Show Source
object-
error(required): string
-
failedStep(required): string
-
failedStepBody:
Parsed response body from the failed step when available.
-
failedStepIndex(required): integer
-
status(required): string
-
steps(required): array
steps
Nested Schema : CombinedApi_StepResult
Type:
Show Source
object-
body(required):
Parsed rpc-proxy response body, or the unparsed response text.
-
statusCode(required): integer
-
step(required): string
-
stepIndex(required): integer