Skip to main content

Get Subscription

GET 

/organizations/:organizationId/subscription

Get Subscription

Request

Path Parameters

    organizationId stringrequired

    The ID of organization.

Responses

Schema
    data objectrequired

    Data of the organization subscription.

    organizationIdd stringrequired
    plan objectrequired
    active booleanrequired
    aggregate_usage stringrequired
    amount numberrequired
    amount_decimal stringrequired
    billing_scheme stringrequired
    created_at numberrequired
    currency stringrequired
    id stringrequired
    interval stringrequired
    interval_count numberrequired
    livemode booleanrequired
    metadata objectrequired
    nickname stringrequired
    object stringrequired
    product stringrequired
    tiers_mode stringrequired
    transform_usage objectrequired
    trial_period_days numberrequired
    usage_type stringrequired
    planId stringrequired
    price objectrequired
    active booleanrequired
    billing_scheme stringrequired
    created_at numberrequired
    currency stringrequired
    custom_unit_amount stringrequired
    id stringrequired
    livemode booleanrequired
    lookup_key stringrequired
    metadata objectrequired
    nickname stringrequired
    object stringrequired
    product stringrequired
    recurring objectrequired
    aggregate_usage stringrequired
    interval stringrequired
    interval_count numberrequired
    usage_type stringrequired
    tax_behavior stringrequired
    tiers_mode numberrequired
    transform_quantity objectrequired
    type stringrequired
    unit_amount numberrequired
    unit_amount_decimal stringrequired
    priceId stringrequired
    status stringrequired
    subscription objectrequired
    application stringrequired
    application_fee_percent stringrequired
    automatic_tax objectrequired
    enabled objectrequired
    liability objectrequired
    billing_cycle_anchor numberrequired
    billing_cycle_anchor_config stringrequired
    billing_thresholds stringrequired
    canceled_at stringrequired
    cancellation_details objectrequired
    comment stringrequired
    feedback stringrequired
    reason stringrequired
    cancel_at stringrequired
    cancel_at_period_end booleanrequired
    collection_method stringrequired
    created numberrequired
    currency stringrequired
    current_period_end numberrequired
    current_period_start numberrequired
    days_until_due stringrequired
    default_payment_method stringrequired
    default_source stringrequired
    default_tax_rates stringrequired
    description stringrequired
    discount stringrequired
    ended_at stringrequired
    invoice_settings objectrequired
    account_tax_ids stringrequired
    issuer objectrequired
    type stringrequired
    lastest_invoice stringrequired
    livemode booleanrequired
    metadata objectrequired
    next_pending_invoice_item_invoice stringrequired
    object stringrequired
    on_behalf_of stringrequired
    pause_collection stringrequired
    payment_settings objectrequired
    payment_method_options stringrequired
    payment_method_types stringrequired
    save_default_payment_method stringrequired
    pending_invoice_item_interval stringrequired
    pending_setup_intent stringrequired
    pending_update stringrequired
    quantity numberrequired
    schedule stringrequired
    start_date numberrequired
    status stringrequired
    test_clock stringrequired
    transfer_data stringrequired
    trial_end numberrequired
    trial_settings objectrequired
    end_behavior objectrequired
    missing_payment_method stringrequired
    trial_start numberrequired
    subscriptionId stringrequired
    createdAtDateString stringrequired
    createdAt numberrequired
    updatedAtDateString stringrequired
    updatedAt numberrequired
Loading...