Skip to main content
GET
/
credits
/
price-preview
Get Price Preview
curl --request GET \
  --url https://api.example.com/credits/price-preview/ \
  --header 'Authorization: Bearer <token>'
{
  "subtotal": 123,
  "tax": 123,
  "total": 123
}

Documentation Index

Fetch the complete documentation index at: https://docs.truestate.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Api-key
string | null

Query Parameters

amount_us_cents
integer
required

Response

Successful Response

subtotal
integer
required
tax
number
required
total
number
required