Attributes
- idstring
Unique identifier for the object.
- objectstring, value is "v2.billing.license_fee_subscription"
String representing the object’s type. Objects of the same type share the same value of the object field.
- billing_
cadencestring The ID of the Billing Cadence.
- createdtimestamp
Timestamp of when the object was created.
- license_
feestring The ID of the License Fee.
- license_
fee_ versionstring The ID of the License Fee Version.
- livemodeboolean
Has the value
true
if the object exists in live mode or the valuefalse
if the object exists in test mode. - metadatanullable map
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
- quantityinteger
Quantity of the License Fee subscribed to.
- test_
clocknullable string The ID of the Test Clock, if any.
{ "billing_cadence": "bc_61SahwKGATwuyXMY516SBbsMNLSQJnWcho4VDz0fYLKi", "created": "2025-01-01T00:00:00.000Z", "id": "lfs_61Sai6XI0UDAyOhhh16SBbsMNLSQJnWcho4VDz0fYMIS", "license_fee": "licf_61SahqwY8y4J62hb416SBbsMNLSQJnWcho4VDz0fY2Rc", "license_fee_version": "licfv_61SahqwswB6xPIPuo16SBbsMNLSQJnWcho4VDz0fYTYW", "metadata": {}, "object": "v2.billing.license_fee_subscription", "quantity": 1, "test_clock": null, "livemode": true}
Retrieve a License Fee Subscription object.
Learn more about calling API v2 endpoints.Parameters
- idstringRequired
The ID of the License Fee Subscription to retrieve.
Returns
Response attributes
- idstring
Unique identifier for the object.
- objectstring, value is "v2.billing.license_fee_subscription"
String representing the object’s type. Objects of the same type share the same value of the object field.
- billing_
cadencestring The ID of the Billing Cadence.
- createdtimestamp
Timestamp of when the object was created.
- license_
feestring The ID of the License Fee.
- license_
fee_ versionstring The ID of the License Fee Version.
- livemodeboolean
Has the value
true
if the object exists in live mode or the valuefalse
if the object exists in test mode. - metadatanullable map
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
- quantityinteger
Quantity of the License Fee subscribed to.
- test_
clocknullable string The ID of the Test Clock, if any.
Returned when the requested License Fee Subscription cannot be found.
{ "billing_cadence": "bc_61SahwKGATwuyXMY516SBbsMNLSQJnWcho4VDz0fYLKi", "created": "2025-01-01T00:00:00.000Z", "id": "lfs_61Sai6XI0UDAyOhhh16SBbsMNLSQJnWcho4VDz0fYMIS", "license_fee": "licf_61SahqwY8y4J62hb416SBbsMNLSQJnWcho4VDz0fY2Rc", "license_fee_version": "licfv_61SahqwswB6xPIPuo16SBbsMNLSQJnWcho4VDz0fYTYW", "metadata": {}, "object": "v2.billing.license_fee_subscription", "quantity": 1, "test_clock": null, "livemode": true}
A Metered Item represents any item that you bill customers for based on how much they use it, such as hourly cloud CPU usage or tokens generated by an AI service.
A Licensed Item represents any item that you bill customers for based on the subscribed quantity.