For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Search
/
Ask AI
Support
Dashboard
Getting Started
API Reference
Roadmap
Blog
Support
Dashboard
Billing Credits
Update credit
Copy page
PUT
https://api.schematichq.com
/
billing
/
credits
/
:credit_id
Authentication
X-Schematic-Api-Key
string
API Key authentication via header
Path parameters
credit_id
string
Required
credit_id
Request
This endpoint expects an object.
description
string
Required
<=1024 characters
name
string
Required
<=255 characters
burn_strategy
enum or null
Optional
Allowed values:
expiration_priority
first_in_first_out
last_in_first_out
plan_first_then_credit_bundles_first_in_first_out
currency_prices
list of objects or null
Optional
Show 3 properties
default_expiry_unit
enum or null
Optional
Allowed values:
billing_periods
days
default_expiry_unit_count
long or null
Optional
>=1
default_rollover_policy
enum or null
Optional
Allowed values:
expire
none
rollover
icon
string or null
Optional
<=64 characters
per_unit_price
long or null
Optional
>=1
per_unit_price_decimal
string or null
Optional
plural_name
string or null
Optional
<=512 characters
singular_name
string or null
Optional
<=512 characters
Response
OK
data
object
Show 16 properties
params
object
Input parameters
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error