Skip to main content

CompanyConsumerUserSubscriptionInput

    subscription_type stringrequired

    Possible values: [monthly, round_up, saving_account]

    The type of the subscription to be created

    recurring_donation_amount integer

    Donation amount (in the smallest currency unit, so 1000 is 10.00€). This field is mandatory if the subscription_type = monthly

    round_up_source_id uuid

    Id of the round up source to be used to calculate round amount. This field is mandatory if the subscription_type = round_up

    recurring_donation_percentage integer

    Donation percentage if available (in integer format, so 3% is 3). This field is mandatory if the subscription_type = saving_account

    billing_day integer

    Default value: today

    Day of the month when perform the billing.

    payment_method_id uuid

    Default value: default_payment_method_set_in_consumer_user

    Id of the payment method to be used to pay the donation. This is optional if there is a default payment_method for the consumer_user

    donation_currency string

    Default value: EUR

    Donation currency

    charity_id uuidrequired

    Cents id of the charity

    donation_cause stringrequired

    Cause unique name (in the namespace of the charity)

    subscription_status string

    Possible values: [pre_subscription, draft, active, inactive, failed]

    Subscription status

    reconciliation_id string

    External ID (generated by the company) used to reconcilate transaction with the pre_transaction