Subscription Checkouts
A subscription checkout is a single-use intent that lets a customer authorize a recurring stablecoin subscription. It mirrors the one-shot Checkout flow: the merchant creates an intent on the server, redirects the customer to a hosted subscribe page, and receives webhooks when the customer signs and the first charge confirms on-chain (unless the checkout was created with initial_charge: false).
Why intents
The subscription plan (price, feature gating, billing day) lives on the merchant side. Exodus only records the per-subscriber intent and captures the resulting on-chain state. One intent maps to one subscriber and one resulting subscription — same lifecycle as one-shot Checkout.
This means there are no reusable /subscribe/:planId URLs in v1: every subscribe flow starts with a fresh merchant-server call to POST /subscription-checkouts.
If you pass subscriber when you create a subscription checkout, only that wallet can subscribe. A subscribe signed by a different wallet is rejected with a 401 and the message Signature does not match the pinned subscriber.
Atomic first charge
When the customer signs at the hosted page, the on-chain subscribeAndCharge transaction registers the subscription and performs the first charge in a single transaction. By default, the intent never transitions to completed without a confirmed first charge — there is no “subscribed but not charged” state. Chargeless checkouts are the one exception.
On a fiat-priced plan, Exodus marks the subscribe quote as used after it records the subscription and its first charge. If that step fails, the subscribe still succeeds, and Exodus sends subscription.created, subscription_checkout.completed and the first subscription.charge_succeeded. Before, this case returned a 500 and could skip those webhooks, although the subscription and its first charge went through on-chain.
Chargeless checkouts
For a checkout created with initial_charge: false, the subscribe signature only registers the subscription on-chain, and no funds move. The intent becomes completed when the subscription is registered. Billing starts with your first POST /subscriptions/:id/charge.
Your cap and budget are the lowest ceilings a subscriber can register. The hosted page quotes them in the settlement token at one rate, and the subscriber signs those converted amounts. Exodus refuses a subscribe whose signed cap or budget is below the quoted values, and the hosted page shows that refusal to the subscriber. So at the quoted rate, a chargeless subscription can always collect the plan price. The headroom you give in cap absorbs a later rate move only while the converted price stays at or below the signed cap. Exodus rejects a charge quote above the signed cap with amount_exceeds_cap.
A chargeless checkout is pinned to one subscriber wallet:
- If you pass
subscriberwhen you create the checkout, only that wallet can subscribe. - If you do not, Exodus pins the wallet of the first valid subscribe signature, before it sends the transaction. The pin stays if that subscribe then fails.
A subscribe signed by a different wallet is rejected with a 401 and the message Signature does not match the pinned subscriber. To subscribe from a different wallet, create a new subscription checkout.
Lifecycle
| Status | Meaning |
|---|---|
pending | Intent created; no on-chain subscribe yet. |
completed | Customer signed subscribeAndCharge; first charge confirmed; Subscription materialized. For a chargeless checkout, the subscription is registered with no charge. |
cancelled | Merchant called PATCH /subscription-checkouts/:id/cancel, or customer dismissed the hosted page. |
expired | expires_at elapsed without a successful subscribe. Default expiry is 5 minutes; maximum is 24 hours. |
Race resolution — on-chain truth wins
If a subscribeAndCharge transaction is already in the mempool when the merchant cancels (or when the cron sweeper marks the intent expired), and that transaction later confirms on-chain, the indexer flips the intent back to completed and dispatches a subscription_checkout.completed webhook.
Merchants must handle late subscription_checkout.completed webhooks that arrive after a
.cancelled or .expired event. The latest webhook is authoritative.
Chain identifiers (CAIP-2)
The subscription surface uses CAIP-2 chain identifier strings throughout — eip155:1 for Ethereum mainnet, eip155:137 for Polygon, etc. The merchant publishes supported_chains: string[] at intent creation; the customer picks one at sign time based on their wallet balances. For a fiat-settled business, a chain on which the settlement provider cannot settle any stablecoin is dropped, whether you pass supported_chains or omit it. If no chain is left, creation fails with 422 no_settleable_chain_for_business.
V1 supports the eip155: namespace only (EVM chains).
| CAIP-2 | Network |
|---|---|
eip155:1 | Ethereum mainnet |
eip155:137 | Polygon |
eip155:42161 | Arbitrum One |
eip155:8453 | Base |
eip155:10 | Optimism |
Amounts, budget, and cap
The merchant prices the plan in a fiat currency at intent creation. A crypto-settled business may use any of the pricing currencies below; a fiat-settled business must use its own settlement currency. The subscriber picks the settlement stablecoin (and chain) at subscribe time — never the merchant, and never at creation.
Every fiat amount is an integer in the currency’s ISO 4217 minor units. price, cap, and budget all follow this rule, so "150000" is 1,500.00 ARS and "9999" is 99.99 ARS. Send them as strings, with no decimal point and no thousands separator. Most currencies have two decimal places, so you multiply the amount by 100. CLP has no minor unit, so CLP 15,000 is sent as "15000".
A crypto-settled business can price in any of these currencies. USD converts 1:1 to USDC and USDT; every other currency is priced at a live rate from the Exodus pricing server. A subscription converts the amount to the stablecoin amount at each charge quote.
| Currency | Minor units |
|---|---|
| USD | 2 |
| ARS | 2 |
| BRL | 2 |
| COP | 2 |
| UYU | 2 |
| CLP | 0 |
| VES | 2 |
| MXN | 2 |
| BOB | 2 |
| PEN | 2 |
| Field | Meaning |
|---|---|
price | Required. The recurring per-cycle amount, in price_currency minor units (e.g. "150000" = 1,500.00 ARS). At most 9007199254740991; a larger value is rejected with 400 validation_error. A fiat-settled business has a settlement floor of 1.00 USD, or the provider’s higher minimum. On a business whose provider settles USD, a USD price below the floor is rejected at creation with 422 amount_below_settlement_minimum, and error.data.minimum_usd carries the floor that applied (for example "1.20"). A USD price above the provider’s settlement maximum, when it declares one (999.99 USD for USD settlement), is rejected with 422 amount_above_settlement_maximum, and error.data.maximum_usd carries the maximum that applied. The maximum is checked again on the quoted token amount, which includes the provider’s fee, so a price just under the maximum can pass creation and still be refused when it is quoted. On a business that settles in another currency, currently ARS, a USD price is rejected first with 422 price_currency_not_quotable, because that provider does not quote USD, so it never reaches the floor check. A non-USD price is checked against the floor when it is quoted, not when it is created: the subscribe page then tells the subscriber that the plan price is below the minimum and asks them to contact you. |
price_currency | Required. ISO-4217 currency code, which must be quotable by the business’s FX source. On a crypto-settled business it must be a currency from the table above; another supported currency is rejected with 422 price_currency_not_quotable, and an unknown code with 400 validation_error. A fiat-settled business quotes through its settlement provider instead, so it must have a complete fiat settlement configuration (422 fiat_settlement_required) and must price in its own settlement currency (422 currency_mismatch) — the quotable set there is whatever that provider supports, currently ARS. price_currency_not_quotable arrives as error.code, and the message keeps its price_currency_not_quotable: prefix. fiat_settlement_required and currency_mismatch carry no code: match them on the message prefix. |
budget | Optional. The per-cycle spend ceiling — the maximum total that can be charged within a single billing window (supports multiple metered charges per cycle), in price_currency minor units. Defaults to 10x price when omitted. At most 9007199254740991; a larger value is rejected with 400 validation_error. |
cap | Optional. Per-charge maximum — the most a single charge can pull, in price_currency minor units. Defaults to budget (provided or derived) when omitted. At most 9007199254740991; a larger value is rejected with 400 validation_error. |
period_duration | Seconds between scheduled charges. Minimum 1 hour. Day-of-month and other calendar billing is the merchant’s responsibility — schedule the API call when desired. |
price, cap, and budget all share price_currency’s minor units, so the ordering always holds: price <= cap <= budget. budget bounds the total pulled per billing window; cap bounds any single charge. At subscribe time, the quote converts all three to the settlement token’s smallest units at one rate, rounding up — the subscriber signs those converted amounts, not the fiat figures directly. A cycle whose charges would exceed the converted budget, or a single charge above the converted cap, reverts on-chain — never a silent over-pull. Headroom above price accommodates later price increases without re-subscribing.
subscription_options enumerates every stablecoin the subscriber can pay with on each supported chain. For a fiat-settled business, that is only the stablecoins its settlement provider can settle on that chain. Always iterate it as an array, never assume a single entry. It’s present only on this direct API response (POST/GET /subscription-checkouts), not on any subscription_checkout.* webhook — by the time a webhook fires, the subscriber has already chosen, and that choice shows up on data.subscription instead. See List subscription checkouts for an example payload.
The customer’s wallet approves the on-chain contract for uint256.max allowance at subscribe time
(industry standard pattern matching Uniswap, Aave, etc.). budget and cap enforcement happens in
the contract, not the ERC-20 allowance.
Hosted pages
Two hosted pages live on checkout.exodus.com:
https://checkout.exodus.com/subscribe/:subscription_checkout_id— the subscribe page returned incheckout_url. The customer connects a wallet, picks a chain, optionally signs an EIP-2612 permit, and signssubscribeAndCharge.https://checkout.exodus.com/cancel/:subscription_id— a customer-facing cancel page keyed on the on-chainsubscription_id. The customer connects the subscribing wallet and signscancel(subscriptionId)directly. Surface this URL in your customer account UI for self-service cancellation.
Both pages pick up your branding colors automatically.
Plan name and description
The subscribe page shows your business name alongside the economic terms — the recurring amount per billing period, plus, when price_currency is a fiat currency, the converted token amount and exchange rate. Add plan_name and plan_description to metadata to display your own plan copy below them.
| Key | Rendered as |
|---|---|
plan_name | End of the summary card, below the economic terms |
plan_description | Supporting copy, directly beneath plan_name |
{
"price": "150000",
"price_currency": "ARS",
"period_duration": 2592000,
"metadata": {
"plan_name": "Pro",
"plan_description": "Unlimited projects and priority support"
}
}Both keys are optional and independent — pass one, both, or neither, and the page renders whatever’s present. Like any metadata value, each is capped at 500 characters, and the page doesn’t truncate, so long copy wraps and pushes the rest of the card down.
Plan copy travels in metadata because the plan itself lives on your side — Exodus records the
per-subscriber intent, not your catalog. Only these two exact keys are read; every other key,
including any other plan_* key, stays opaque, echoed back on the intent and on every
subscription_checkout.* webhook but never shown.
Available Endpoints
- Create Subscription Checkout — Create a new intent and redirect URL
- Get Subscription Checkout — Retrieve intent details
- List Subscription Checkouts — List intents with filters
- Cancel Subscription Checkout — Cancel a pending intent
After the customer signs, the resulting on-chain subscription is managed via the Subscriptions endpoints.
