curl --request POST \
--url 'https://transaction-tax.api.in.commenda.io/api/v1/credentials' \
--header 'Authorization: Bearer <your_token>' \
--header 'Content-Type: application/json' \
--data '{
"corporation_id": "550e8400-e29b-41d4-a716-446655440000",
"credential_type": "INDIRECT_TAX_REGISTRATION",
"portal_id": "PORTAL_CA_CDTFA",
"name": "California CDTFA Portal",
"blocks": [
{
"block_key": "username",
"block_label": "Username",
"block_type": "String",
"value": "user@example.com"
},
{
"block_key": "password",
"block_label": "Password",
"block_type": "SecureString",
"value": "my-secure-password"
}
]
}'