Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
Each repetition import overrides existing subscriptions with matching ExternalSubscriptionId.
Required. Specifies the ISO 3166-1 alpha-2 country code for the subscription (e.g., EE, RU). This code determines the applicable tax rules for the subscription.
Required, UTC time, the current period end time of subscription, format '2006-01-02 15:04:05'
Required, UTC time, the current period start time of subscription, format '2006-01-02 15:04:05'
The email of user, one of Email or ExternalUserId is required
The external id of plan, one of planId or ExternalPlanId is required, plan should created at UniBee at first
Required, The external id of subscription
The external id of user, one of Email or ExternalUserId is required
Required, should one of stripe|paypal|wire_transfer|changelly
The id of plan, one of planId or ExternalPlanId is required, plan should created at UniBee at first
the quantity of plan, default 1 if not provided
The TaxPercentage of subscription, Only applicable when the system VAT gateway not setup, 1000 = 10%
Required. Unit: cents.