Get eSIM checkout options
/v1/esim/offers/{offer_id}/checkoutbird esim offers checkout-options <offer-id>curl -X GET "https://us1.platform.bird.com/v1/esim/offers/{offer_id}/checkout" \
-H "Authorization: Bearer $TOKEN"{
"offer_id": "eof_01krdgeqcxet5s7t44vh8rt9mg",
"one_time": {
"price": {
"amount": "0.00995",
"currency_code": "USD"
}
},
"recurrence": {
"available": true,
"quote": {
"delivery_mode": "exact_period",
"price": {
"amount": "0.00995",
"currency_code": "USD"
},
"model": "calendar_month"
}
}
}
Returns published one-time terms and automatic renewal availability for a new eSIM. Automatic renewal includes its own price and cadence when an eligible mobile network is available. Availability is checked again when purchasing; this read does not reserve a package.
Parameters
offer_idstringThe offer.
Response Payload
offer_idrecurrenceWhen available is true, quote contains the recurring terms and unavailable_reason is null. Otherwise quote is null and unavailable_reason explains why renewal is unavailable.
Show child attributes
recurrence.availableWhether automatic renewal is currently available for a new eSIM.
recurrence.quoteShow child attributes
recurrence.quote.delivery_modeRelationship between the paid period and package delivery.
exact_period: the package covers the accepted paid interval.recurring_top_up: each funded period purchases a standard package. Activation, expiry, and accumulation follow that package’s terms.
Possible values: exact_period, recurring_top_up
recurrence.quote.offer_revisionThe offer revision to accept when purchasing.
recurrence.quote.recurrence_revisionThe recurring configuration revision to accept when purchasing.
recurrence.quote.priceShow child attributes
recurrence.quote.price.amountDecimal amount as a string, in major currency units.
recurrence.quote.price.currency_codeISO 4217 currency code.
recurrence.quote.modelBilling cadence for recurring packages.
calendar_month: periods follow calendar months from the billing anchor.fixed_days: each period lasts the stated number of 24-hour days.
Possible values: calendar_month, fixed_days
recurrence.quote.interval_countThe number of calendar months or fixed 24-hour days per period.
recurrence.unavailable_reasonRelated resources
Continue with the documentation, guides and examples for this topic.