Create eSIM Order
curl --request POST \
--url https://api.payvessel.com/api/v1/esim/orders \
--header 'Content-Type: application/json' \
--header 'api-key: <api-key>' \
--header 'api-secret: <api-key>' \
--data '
{
"reference": "<string>",
"package_code": "<string>",
"quantity": 1
}
'{
"status": true,
"message": "<string>",
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"reference": "<string>",
"provider_order_no": "<string>",
"provider_transaction_id": "<string>",
"package_code": "<string>",
"package_slug": "<string>",
"package_name": "<string>",
"location": "<string>",
"currency_code": "<string>",
"quantity": 123,
"amount_usd": 123,
"amount_naira": 123,
"error_message": "<string>",
"created_datetime": "2023-11-07T05:31:56Z",
"updated_datetime": "2023-11-07T05:31:56Z",
"completed_datetime": "2023-11-07T05:31:56Z",
"profiles": [
{
"esim_tran_no": "<string>",
"order_no": "<string>",
"transaction_id": "<string>",
"imsi": "<string>",
"iccid": "<string>",
"sms_status": 123,
"msisdn": "<string>",
"ac": "<string>",
"qr_code_url": "<string>",
"short_url": "<string>",
"smdp_status": "<string>",
"eid": "<string>",
"active_type": 123,
"data_type": 123,
"activate_time": "<string>",
"installation_time": "<string>",
"expired_time": "<string>",
"total_volume": 123,
"total_duration": 123,
"duration_unit": "<string>",
"order_usage": 123,
"esim_status": "<string>",
"pin": "<string>",
"puk": "<string>",
"apn": "<string>",
"ip_export": "<string>",
"support_top_up_type": 123,
"fup_policy": "<string>",
"packages": [
{
"package_code": "<string>",
"package_name": "<string>",
"slug": "<string>",
"duration": 123,
"volume": 123,
"location_code": "<string>",
"create_time": "<string>"
}
]
}
]
}
}eSIM
Create eSIM Order
Create an eSIM order and charge the merchant wallet
POST
/
api
/
v1
/
esim
/
orders
Create eSIM Order
curl --request POST \
--url https://api.payvessel.com/api/v1/esim/orders \
--header 'Content-Type: application/json' \
--header 'api-key: <api-key>' \
--header 'api-secret: <api-key>' \
--data '
{
"reference": "<string>",
"package_code": "<string>",
"quantity": 1
}
'{
"status": true,
"message": "<string>",
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"reference": "<string>",
"provider_order_no": "<string>",
"provider_transaction_id": "<string>",
"package_code": "<string>",
"package_slug": "<string>",
"package_name": "<string>",
"location": "<string>",
"currency_code": "<string>",
"quantity": 123,
"amount_usd": 123,
"amount_naira": 123,
"error_message": "<string>",
"created_datetime": "2023-11-07T05:31:56Z",
"updated_datetime": "2023-11-07T05:31:56Z",
"completed_datetime": "2023-11-07T05:31:56Z",
"profiles": [
{
"esim_tran_no": "<string>",
"order_no": "<string>",
"transaction_id": "<string>",
"imsi": "<string>",
"iccid": "<string>",
"sms_status": 123,
"msisdn": "<string>",
"ac": "<string>",
"qr_code_url": "<string>",
"short_url": "<string>",
"smdp_status": "<string>",
"eid": "<string>",
"active_type": 123,
"data_type": 123,
"activate_time": "<string>",
"installation_time": "<string>",
"expired_time": "<string>",
"total_volume": 123,
"total_duration": 123,
"duration_unit": "<string>",
"order_usage": 123,
"esim_status": "<string>",
"pin": "<string>",
"puk": "<string>",
"apn": "<string>",
"ip_export": "<string>",
"support_top_up_type": 123,
"fup_policy": "<string>",
"packages": [
{
"package_code": "<string>",
"package_name": "<string>",
"slug": "<string>",
"duration": 123,
"volume": 123,
"location_code": "<string>",
"create_time": "<string>"
}
]
}
]
}
}Body
application/json
⌘I
