Sign inGet Started

Get eSIM checkout options

GET
/v1/esim/offers/{offer_id}/checkout
bird esim offers checkout-options <offer-id>
प्रतिक्रिया200
{
  "offer_id": "eof_01krdgeqcxet5s7t44vh8rt9mg",
  "one_time": {
    "offer_revision": 1,
    "price": {
      "amount": "1.00",
      "currency_code": "EUR"
    },
    "funding": {
      "tax_amount": {
        "amount": "0.21",
        "currency_code": "EUR"
      },
      "total": {
        "amount": "1.21",
        "currency_code": "EUR"
      },
      "covered": true,
      "shortfall": {
        "amount": "0",
        "currency_code": "EUR"
      }
    }
  },
  "recurrence": {
    "available": true,
    "quote": {
      "delivery_mode": "exact_period",
      "offer_revision": 1,
      "recurrence_revision": 2,
      "price": {
        "amount": "2.00",
        "currency_code": "EUR"
      },
      "model": "calendar_month",
      "interval_count": 1,
      "funding": {
        "tax_amount": {
          "amount": "0.42",
          "currency_code": "EUR"
        },
        "total": {
          "amount": "2.42",
          "currency_code": "EUR"
        },
        "covered": false,
        "shortfall": {
          "amount": "1.21",
          "currency_code": "EUR"
        }
      }
    },
    "unavailable_reason": null
  }
}

Returns published one-time terms and automatic renewal availability for a new eSIM, including tax-inclusive totals and current funding shortfalls. Automatic renewal includes its own price and cadence when an eligible mobile network is available. Availability and funding are checked again when purchasing; this read reserves no funds or package.

पैरामीटर

offer_idstring

The offer.

Response Payload

offer_id
string
आवश्यक
one_time
object
आवश्यक

Published one-time price and current funding requirement. The price excludes tax; funding.total includes tax.

चाइल्ड एट्रिब्यूट दिखाएँ
recurrence
object
आवश्यक

When 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.

चाइल्ड एट्रिब्यूट दिखाएँ
recurrence.available
boolean
आवश्यक

Whether automatic renewal is currently available for a new eSIM.

recurrence.quote
nullable object
आवश्यक

Published recurring terms and current funding requirement. The price excludes tax; funding.total includes tax for the first period. The first period starts when payment is funded, and cancellation stops future renewal while preserving paid packages.

चाइल्ड एट्रिब्यूट दिखाएँ
recurrence.quote.funding
object
आवश्यक

Current funding needed for this purchase, including tax and approved credit. The quoted price excludes tax; total includes tax for this purchase. This read reserves no funds; payment checks funding again. Test purchases have zero tax and total and are always covered.

चाइल्ड एट्रिब्यूट दिखाएँ
recurrence.quote.funding.tax_amount
object
आवश्यक

Tax included in the purchase total.

चाइल्ड एट्रिब्यूट दिखाएँ
recurrence.quote.funding.tax_amount.amount
string
आवश्यक

Decimal amount as a string, in major currency units.

recurrence.quote.funding.tax_amount.currency_code
string
आवश्यक

ISO 4217 currency code.

recurrence.quote.funding.total
object
आवश्यक

Total wallet charge for this purchase, including tax.

चाइल्ड एट्रिब्यूट दिखाएँ
recurrence.quote.funding.covered
boolean
आवश्यक

Whether the wallet can currently cover this purchase after reservations and approved credit.

recurrence.quote.funding.shortfall
nullable object
आवश्यक

Additional funds needed to cover this purchase, or null without organization billing read permission. Zero when covered is true.

चाइल्ड एट्रिब्यूट दिखाएँ
recurrence.quote.delivery_mode
string
आवश्यक

Relationship 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_revision
integer
आवश्यक

The offer revision to accept when purchasing.

recurrence.quote.recurrence_revision
integer
आवश्यक

The recurring configuration revision to accept when purchasing.

recurrence.quote.price
object
आवश्यक

Price before tax for the first period and each renewal.

चाइल्ड एट्रिब्यूट दिखाएँ
recurrence.quote.model
string
आवश्यक

Billing 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_count
integer
आवश्यक

The number of calendar months or fixed 24-hour days per period.

recurrence.unavailable_reason
nullable string
आवश्यक

Renewal is not configured, has no published price, or has no eligible mobile network. A failed lookup returns an error instead.

Possible values: not_configured, price_unavailable, no_eligible_route

इस विषय के लिए दस्तावेज़, गाइड और उदाहरणों के साथ आगे बढ़ें।