CreateSubscriptionRequest
merchantIdstring<uuid>required
planNamestringrequired
Possible values: non-empty and <= 120 characters
amountintegerrequired
Possible values: >= 1
currencyCurrencyCode (string)required
Possible values: Value must match regular expression ^[A-Z]{3}$
Examples:
- Example 1
- Example 2
- Example 3
Example:
USDExample:
EURExample:
GBPintervalSubscriptionInterval (string)required
Possible values: [DAILY, WEEKLY, MONTHLY, YEARLY]
customerIdstring<uuid>required
customerEmailstring<email>required
metadata object
property name*string
CreateSubscriptionRequest
{
"merchantId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"planName": "string",
"amount": 0,
"currency": "USD",
"interval": "DAILY",
"customerId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"customerEmail": "[email protected]",
"metadata": {}
}