# Create Policy Id **POST /wallets/{walletId}/policy-id**

status: stable

Create policy id for the wallet and a given mint/burn script. ## Servers - https://localhost:8090/v2: https://localhost:8090/v2 () ## Parameters #### Path parameters - **walletId** (string(hex)) ## Body parameters Content-type: application/json - **policy_script_template** (string | object) ## Responses ### 415: Unsupported Media Type #### Body Parameters: application/json (object) - **message** (string) A descriptive error message. - **code** (string) A specific error code for this error, more precise than HTTP ones. ### 406: Not Acceptable #### Body Parameters: application/json (object) - **message** (string) May occur when providing an invalid 'Accept' header. - **code** (string) ### 400: Bad Request #### Body Parameters: application/json (object) - **message** (string) May occur when a request is not well-formed; that is, it fails to parse successfully. This could be the case when some required parameters are missing or, when malformed values are provided. - **code** (string) ### 403: Forbidden #### Body Parameters: application/json (object) - **message** (string) May occur when trying to perform an operation not supported by this type of wallet. - **code** (string) ### 202: Accepted #### Body Parameters: application/json (object) - **policy_id** (string(hex)) A unique identifier of the asset's monetary policy. The policy controls how assets of this kind are created and destroyed. The contents are the blake2b-224 hash of the monetary policy script, encoded in hexadecimal. [Powered by Bump.sh](https://bump.sh)