Skip to main content
Create an eSIM order. PayVessel debits your business wallet, provisions the eSIM with the selected package, and returns the order details.

Usage

curl -X POST https://api.payvessel.com/api/v1/esim/orders \
  -H "api-key: YOUR_API_KEY" \
  -H "api-secret: YOUR_SECRET_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "reference": "esim-order-001",
    "package_code": "US_5GB_30D",
    "quantity": 1
  }'

Request body

FieldTypeRequiredDefaultDescription
referencestringYesYour unique merchant order reference (max 64 characters)
package_codestringYesThe package to purchase (from List Packages)
quantityintegerNo1Number of eSIMs to provision (must be greater than 0)
The order amount is debited from your business wallet immediately. Make sure you have sufficient balance before creating an order.

Response

The response returns an order object. Key fields:
FieldTypeDescription
idstring (uuid)PayVessel order ID
referencestringYour merchant reference
package_codestringThe package purchased
package_namestringHuman-readable package name
locationstringTarget region
quantityintegerNumber of eSIMs
amount_usdnumberAmount in USD
amount_nairanumberAmount in NGN
statusstringpending, processing, completed, or failed
profilesarrayeSIM profile details (populated when completed)

Next step

Poll Get Order until the status is completed to retrieve the eSIM profile with QR code and activation details.

API Reference

Full request/response details and Try it