When paying for a subscription with Solana, we track the order through this intent.
Request bodyshow schema
reference
string
A unique reference string to identify the payment intent added to the Solana transaction
plan
string
The plan. The PRICE is quoted by the server from the caller's regional tier. yearly_onboarding is the welcome offer (the tier's yearly price less 25%, crediting a year plus the 14-day trial) and is refused unless the caller's offer is redeemable.
enum: yearly, monthly, yearly_onboarding
storefront_country
string
ISO 3166-1 storefront country, when the app knows it (Solana keeps the estimate otherwise)
Responses2 statuses · show schema
200
amount_usd
number
the price the server quoted; the client must pay exactly this
tier
string
plan
string
regular_amount_usd
number
the plan's regular price (the full-year price for yearly_onboarding)
offer_applied
boolean
currency
string
error
one of
one of
message
string
null
401
No body