List offers an eSIM can take
GET
/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"Reactie200
{
"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.
Queryparameters
recurring_onlybooleanKeep only offers with recurring service configured. Enrollment still checks supplier support and the published recurring price.
Response Payload
as_ofstring
verplicht
When this answer was computed.
Gerelateerde bronnen
Ga verder met de documentatie, handleidingen en voorbeelden voor dit onderwerp.