Create subscription

Required scope: subscriptions:write
Organization authorization: supported

Body Params
int64
> 0

Id of the plan to subscribe to

int64
> 0

Id of the customer the subscription is created for, e.g. team or charge-point id

string
enum
required

Enumerate the various subscription customer types

Allowed:
double | null
≥ 0

Allows to modify the absolute discount on a subscription if provided. If not provided, the discount of the plan is used. Note: If you want to set it on an existing subscription, you have to cancel the subscription first.

double | null
≥ 0

Allows to modify the percentage discount on a subscription if provided. If not provided, the discount of the plan is used. Note: If you want to set it on an existing subscription, you have to cancel the subscription first.

serviceConfig

Configure the subscription, based on the plans serviceType.Currently you can configure tax-refund subscriptions only.

int64 | null
> 0

The user that should be assigned as the purchaser of the subscription. If not provided, the subscription will be assigned to the default user for this consumer.

date-time | null

Date when wallet will be charged for the first time (ISO8601: yyyy-MM-ddTHH:mm:ssZ). Has to be a date in the future.

Responses

Language
Credentials
Bearer
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json