curl --location --request POST 'https://api-sandbox.saaslogic.io/v1/subscriptions/url' \
--header 'Accept: application/json' \
--header 'Accept;' \
--header 'Authorization;' \
--header 'Content-Type: application/json' \
--data-raw '{
"planId": "0665b50d-b416-4fb0-9416-e6c8e940ec8b",
"frequencyName": "Monthly",
"countryISOCode": "USA",
"customerId": "550e8400-e29b-41d4-a716-446655440001",
"cancelUrl": "https://example.com/cancel",
"redirectUrl": "https://example.com/redirect",
"addons": [
{
"addonId": "ab6561bf-2319-47ff-8585-1fc3f7f6f99b"
}
],
"resourceQuantities": [
{
"resourceId": "20560680-4b82-49ae-ac2b-7261a89fa7ba",
"quantity": 5
}
]
}'