Skip to main content

Recurring Cycle DTO

billing_countnumberrequired

This is to count how long will the recurring cycle run for. If data is null, then consider this recurring_cycles record will run forerver.

recurring_billing_configstringrequired
  • This is for the system to know the billing date of a cycle, once the cycle has started
  • If the user changes the recurring plan of a customer (upgrade/downgrade etc.), then the
recurring_items object[]required
  • Array [
  • quantitynumberrequired
    recurring_item_idstringrequired
  • ]
  • discount_amountnumber
    • if trial_period is TRUE, it means the total amount of billing amount for this recurring_cycles record will be 0.00
    discount_typestring
    descriptionstring
    • Any description to remark about this record
    Recurring Cycle DTO
    {
    "billing_count": 0,
    "recurring_billing_config": "string",
    "recurring_items": [
    {
    "quantity": 0,
    "recurring_item_id": "string"
    }
    ],
    "discount_amount": 0,
    "discount_type": "string",
    "description": "string"
    }