// fetch billingCountryCode according to the customer's IP, billing address, etc.
const subscription = await stiggClient.provisionSubscription({
customerId: "customer-demo-01",
planId: "plan-basic",
unitQuantity: 2, // optional, required for subscriptions with per-unit pricing
billingPeriod: "MONTHLY", // optional, relevant only for paid subscriptions
addons: [{ // optional
addonId: "addon-10-campaigns",
quantity: 1,
}],
billingCountryCode: "DK", // must be in the ISO-3166-1 format
awaitPaymentConfirmation: true,
...
});