Skip to main content
GET
Preview a seat or price change

Authorizations

Authorization
string
header
default:easner_sk_test_…
required

A secret key, easner_sk_test_… or easner_sk_live_…, as Authorization: Bearer. Each key has one business, one mode and fixed scopes. Transfer routes also accept a transfer's easner_ta_… secret for the customer.

Path Parameters

id
string
required

The object id, as the API returned it.

Query Parameters

quantity
integer
Required range: 1 <= x <= 10000
price
string
proration
enum<string>
default:create
Available options:
create,
none
effective
enum<string>
default:now
Available options:
now,
period_end

Response

The preview.

object
any
required
subscription
string
required
Pattern: ^sub_
currency
string
required
amount_due_now
integer
required

Charged today, in cents.

credit
integer
required

Credited to the balance for removed seats, in cents.

next_invoice_amount
integer
required
lines
object[]
required
livemode
boolean
required
next_invoice_at
string<date-time> | null