Create or Update Account Policy

post

{baseUrl}/v1/{tokenizedDepositContractAddress}/createOrupdateAccountPolicy

Creates an account policy or updates an existing account policy.

Request

Path Parameters
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
  • Example: {"kycCompliance":"kycCompliance value","amlCompliance":"amlCompliance value","restrictionFlag":"restrictionFlag value","riskScore":"riskScore value","accountPolicyId":"accountPolicyId value","userAddress":"userAddress value"}
  • Example: {{walletId}}
Example:
{
    "walletId":"{{walletId}}",
    "accountPolicyCheck":"{\"kycCompliance\":\"kycCompliance value\",\"amlCompliance\":\"amlCompliance\nvalue\",\"restrictionFlag\":\"restrictionFlag value\",\"riskScore\":\"riskScore\nvalue\",\"accountPolicyId\":\"accountPolicyId value\",\"userAddress\":\"userAddress\nvalue\"}"
}
Security
Back to Top

Response

Supported Media Types

200 Response

Successful rpc-proxy transaction response.
Body ()
Root Schema : RpcProxy_TransactionSuccessResponse
Type: object
Show Source
Nested Schema : decoded
Type: object
Show Source
Nested Schema : events
Type: array
Show Source
Nested Schema : RpcProxy_DecodedFunction
Type: object
Show Source
Nested Schema : RpcProxy_DecodedMeta
Type: object
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : args
Type: array
Show Source
Nested Schema : topics
Type: array
Show Source
Nested Schema : RpcProxy_DecodedValue
Type: object
Show Source
Nested Schema : issues
Type: array
Show Source
Nested Schema : items
Type: object
Additional Properties Allowed: true

400 Response

Wrapper validation failure or rpc-proxy bad-request response.

404 Response

Unregistered endpoint or rpc-proxy not-found response.

502 Response

Wrapper-to-rpc-proxy failure or rpc-proxy gateway response.

Default Response

rpc-proxy status, content type, and response body are passed through unchanged.
Back to Top