To get a list of compatible top-ups for an eSIM, you need to send a GET request to the /api/esim/topup/packages endpoint.The parameters required for this endpoint are:
iccid: The ICCID of the eSIM. This is a required field of type string.
Request
Query Params
Header Params
Request Code Samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl--location-g--request GET 'https://api.getroamify.com/api/esim/topup/packages?iccid=8935309079668366' \
--header'User-Agent: insomnia/10.1.1' \
--header'Authorization: token'
Responses
🟢200successfully / 200
text/plain
Body
Example
application/json; charset=utf-8 content type is not supported in the response body