curl --request GET \
--url https://api.yorlet.com/v1/subscription_items/{id} \
--header 'Authorization: <api-key>'{
"id": "<string>",
"created": 123,
"object": "subscription_item",
"description": "<string>",
"price": "<string>",
"price_data": {
"amount": 123,
"currency": "gbp",
"recurring": {
"interval": "<string>",
"interval_count": 123
},
"tax_percent": 123,
"type": "recurring"
},
"schedule": [
{
"amount": 123,
"effective_at": 123
}
],
"subscription": "<string>",
"tax_rate": "<string>",
"transfer_behavior": "automatic",
"transfer_destination": "<string>",
"type": "charge",
"unit": "<string>",
"account": "<string>",
"deleted": false,
"metadata": {}
}Retrieve a subscription item
curl --request GET \
--url https://api.yorlet.com/v1/subscription_items/{id} \
--header 'Authorization: <api-key>'{
"id": "<string>",
"created": 123,
"object": "subscription_item",
"description": "<string>",
"price": "<string>",
"price_data": {
"amount": 123,
"currency": "gbp",
"recurring": {
"interval": "<string>",
"interval_count": 123
},
"tax_percent": 123,
"type": "recurring"
},
"schedule": [
{
"amount": 123,
"effective_at": 123
}
],
"subscription": "<string>",
"tax_rate": "<string>",
"transfer_behavior": "automatic",
"transfer_destination": "<string>",
"type": "charge",
"unit": "<string>",
"account": "<string>",
"deleted": false,
"metadata": {}
}API Key authentication. Use "Bearer YOUR_API_KEY".
The id identifier.
Retrieve a subscription item
Unique identifier for the object.
Time at which the object was created. Measured in seconds since the Unix epoch.
subscription_item The description of the subscription item.
The identifier of the price for the subscription item.
^[a-zA-Z0-9_]+$The price data for the subscription item.
Show child attributes
The schedule for the subscription item.
Show child attributes
The identifier of the subscription the item belongs to.
^[a-zA-Z0-9_]+$The identifier of the tax rate for the subscription item.
^[a-zA-Z0-9_]+$The transfer behavior for the subscription item.
automatic, owner, none, null The identifier of the connected account to transfer funds to.
^[a-zA-Z0-9_]+$The type of the subscription item.
charge, rent, product The identifier of the unit associated with the subscription item.
^[a-zA-Z0-9_]+$The account that the object belongs to. Only returned if the request is made with a valid Yorlet-Context header.
Only returned if the object has been deleted.
Set of key-value pairs attached to the subscription item.
Show child attributes
Was this page helpful?