curl --location --request POST '/api/v1/subscriptions/plans' \
--header 'x-business-id;' \
--header 'Idempotency-Key;' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "Premium Plan",
"description": "Premium subscription with advanced features",
"metadata": {
"tier": "premium"
}
}'
{
"success": true,
"data": {
"uid": "string",
"business_id": "string",
"name": "string",
"description": "string",
"metadata": {},
"status": "string",
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z",
"prices": [
"string"
]
}
}