create-essential-subscription
Set up a new essential subscription for Redis Cloud by specifying a name, payment method, and plan ID. Returns a TASK ID to monitor subscription creation progress.
Instructions
Create a new essential subscription. Returns a TASK ID that can be used to track the status of the subscription creation
Input Schema
Name | Required | Description | Default |
---|---|---|---|
name | Yes | Subscription name | |
paymentMethod | No | Payment method | credit-card |
paymentMethodId | No | Payment method ID | |
planId | Yes | Plan ID. The plan ID can be taken from /fixed/plans |
Input Schema (JSON Schema)
{
"properties": {
"name": {
"description": "Subscription name",
"type": "string"
},
"paymentMethod": {
"default": "credit-card",
"description": "Payment method",
"enum": [
"credit-card",
"marketplace"
],
"type": "string"
},
"paymentMethodId": {
"description": "Payment method ID",
"type": "number"
},
"planId": {
"description": "Plan ID. The plan ID can be taken from /fixed/plans",
"type": "number"
}
},
"required": [
"name",
"planId"
],
"type": "object"
}