List offers an eSIM can take
/v1/esim/sims/{esim_id}/compatible-offersbird esim compatible-offers <esim-id>curl -X GET "https://us1.platform.bird.com/v1/esim/sims/{esim_id}/compatible-offers" \
-H "Authorization: Bearer $TOKEN" \
--url-query "recurring_only=false"{
"data": [
{
"id": "eof_01krdgeqcxet5s7t44vh8rt9mg",
"name": "Europe 10 GB / 30 days",
"zone_id": "ezn_01krdgeqcxet5s7t44vh8rt9mg",
"speed": "full",
"phone": {
"included": "always",
"voice_inbound": false,
"voice_outbound": false,
"sms_inbound": true,
"sms_outbound": false
},
"pricing": {
"data": {
"amount_bytes": 10737418240
},
"validity": {
"type": "one_time",
"unit": "day",
"value": 30
},
"price": {
"amount": "0.00995",
"currency_code": "USD"
}
},
"product": "email_sends",
"status": "draft"
}
]
}
Returns offers currently compatible with this eSIM’s network, package capacity, and existing packages. Use these offers for top-ups. Availability can change before purchase; refresh the list before ordering. An incompatible top-up returns 409.
Parameters
esim_idstringIdentifier of the eSIM.
Query Parameters
recurring_onlybooleanKeep only offers with recurring service configured. Enrollment still checks supplier support and the published recurring price.
Response Payload
dataOrderable top-up offers for this eSIM.
Show child attributes
data.iddata.nameDisplay name of the offer.
data.revisionIncrements whenever the offer's terms change. Orders lock the revision they were quoted at.
data.zone_idCoverage zone the offer sells. Offers for the same footprint share one zone.
data.speedSpeed class. For reduced-speed offers, the bundle's data.throttled_after_bytes carries the full-speed allowance.
data.stackableWhether packages from this offer can be held alongside packages from other zones on the same eSIM, subject to the eSIM's package_limit.
data.phonePhone service that comes with the plan, or null when the plan includes no phone number. When present, included says how the number is provided and the flags state which call and text directions work.
data.pricingCommercial terms of the offer. Every offer in the current catalog is a bundle: a fixed allowance with a validity period for a fixed price. Match on the pricing type; treat an unrecognized type as an offer your integration cannot order yet.
data.productBilling product the offer's charges post under, as it appears on your invoice line items.
data.statusdata.created_atas_ofWhen this answer was computed.
Related resources
Continue with the documentation, guides and examples for this topic.