The Intent object 

Billing
Billing Intents
The Intent object

Attributes

  • idstring

    Unique identifier for the object.

  • objectstring, value is "v2.billing.intent"

    String representing the object’s type. Objects of the same type share the same value of the object field.

  • amount_detailsobject

    Breakdown of the amount for this Billing Intent.

    • amount_details.currencystring

      Three-letter ISO currency code, in lowercase. Must be a supported currency.

    • amount_details.discountstring

      Amount of discount applied.

    • amount_details.shippingstring

      Amount of shipping charges.

    • amount_details.subtotalstring

      Subtotal amount before tax and discounts.

    • amount_details.taxstring

      Amount of tax.

    • amount_details.totalstring

      Total amount for the Billing Intent.

  • cadencenullable string

    ID of an existing Cadence to use.

  • createdtimestamp

    Time at which the object was created.

  • currencystring

    Three-letter ISO currency code, in lowercase. Must be a supported currency.

  • livemodeboolean

    Has the value true if the object exists in live mode or the value false if the object exists in test mode.

  • statusenum

    Current status of the Billing Intent.

    Possible enum values
    canceled

    The Billing Intent is canceled.

    committed

    The Billing Intent is committed.

    draft

    The Billing Intent is in draft state.

    reserved

    The Billing Intent is reserved.

  • status_transitionsobject

    Timestamps for status transitions of the Billing Intent.

    • status_transitions.canceled_atnullable timestamp

      Time at which the Billing Intent was canceled.

    • status_transitions.committed_atnullable timestamp

      Time at which the Billing Intent was committed.

    • status_transitions.drafted_atnullable timestamp

      Time at which the Billing Intent was drafted.

    • status_transitions.reserved_atnullable timestamp

      Time at which the Billing Intent was reserved.

The Intent object
{
"amount_details": {
"currency": "usd",
"discount": 0,
"shipping": 0,
"subtotal": 0,
"tax": 0,
"total": 0
},
"created": "2025-01-01T00:00:00.000Z",
"currency": "usd",
"effective_at": "current_billing_period_start",
"id": "bilint_61SbQ4ZVMJ2ESqq2416S40x4RVA8P2F2ShZStd6x6RCy",
"object": "v2.billing.billing_intent",
"status": "draft",
"status_transitions": {
"canceled_at": null,
"committed_at": null,
"drafted_at": "2025-01-01T00:00:00.000Z",
"reserved_at": null
},
"livemode": true,
"cadence": "bc_61SbQ4ZVMJ2ESqq2416S40x4RVA8P2F2ShZStd6x6RCy"
}