Skip to main content
Retrieve an eSIM order by its PayVessel order ID. When the order is completed, the response includes full eSIM profile details your user needs to activate their data plan.

Usage

curl https://api.payvessel.com/api/v1/esim/orders/{order_id} \
  -H "api-key: YOUR_API_KEY" \
  -H "api-secret: YOUR_SECRET_KEY"

Response fields

FieldTypeDescription
idstring (uuid)PayVessel order ID
referencestringYour merchant reference
provider_order_nostring or nullProvider’s order number
provider_transaction_idstring or nullProvider’s transaction ID
package_codestringThe package purchased
package_slugstring or nullPackage slug
package_namestringHuman-readable package name
locationstringTarget region
currency_codestringPrice currency
quantityintegerNumber of eSIMs
amount_usdnumberAmount in USD
amount_nairanumberAmount in NGN
statusstringpending, processing, completed, or failed
error_messagestring or nullError details if the order failed
profilesarrayeSIM profiles (see below)
created_datetimedatetimeWhen the order was created
updated_datetimedatetimeLast status update
completed_datetimedatetime or nullWhen provisioning completed

Profile object

Each profile in the profiles array contains the eSIM activation details:
FieldTypeDescription
iccidstring or nullSIM card identifier
qr_code_urlstring or nullQR code image URL for eSIM installation
short_urlstring or nullShort activation URL
acstring or nullActivation code (SM-DP+ address)
msisdnstring or nullAssigned phone number (if applicable)
imsistring or nullInternational mobile subscriber identity
esim_statusstring or nullCurrent eSIM status
activate_timestring or nullWhen the eSIM was activated
expired_timestring or nullWhen the eSIM expires
total_volumeinteger or nullTotal data allowance (bytes)
total_durationinteger or nullTotal validity period
duration_unitstring or nullUnit for duration
order_usageinteger or nullData used so far (bytes)
pinstring or nullSIM PIN
pukstring or nullSIM PUK
apnstring or nullAPN setting
packagesarrayAllocated packages on this profile

Allocated package object

FieldTypeDescription
package_codestringPackage identifier
package_namestring or nullPackage name
slugstring or nullPackage slug
durationinteger or nullValidity period
volumeinteger or nullData allowance (bytes)
location_codestring or nullTarget location
create_timestring or nullWhen the package was allocated

API Reference

Full request/response details and Try it