Download OpenAPI specification:Download
This is a Sim Local UNITE Partner API OpenAPI specification.
Webhook callback when fulfilment has been completed. Please contact you Sim Local contact to configure webhooks in the UNITE platform for you.
order_id required | string order id. |
status required | string Enum: "CREATED" "CONFIRMED" "PROCESSING" "PURCHASED" "COMPLETED" "PROCESSING_WAITING_NETWORK_ACTIVATION" "FAILED" "REFUNDED" "CANCELLED" Order Status |
{- "order_id": "00278971-4108-4e50-ac1b-dfd14cc194f4",
- "status": "COMPLETED"
}
Get a list of Destinations that UNITE platform supports
Accept-Language | string Language code for field translation. If you have not set the header, we assume the default value (en). If you pass a list of languages, only first is taken into consideration. |
[- {
- "alias": "GB",
- "description": "United Kingdom",
- "display_order": 226
}, - {
- "alias": "GE",
- "description": "Georgia",
- "display_order": 79
}
]
Get esim product offerings available with ability to filter per country. Only available offerings are returned.
destination | string Specify Destination alias to return only product offering available in that destination. If not provided then product offerings for all destinations will be returned. |
Accept-Language | string Language code for field translation. If you have not set the header, we assume the default value (en). If you pass a list of languages, only first is taken into consideration. |
[- {
- "id": "a41c79e5-5b15-4805-8ea9-21766d277921",
- "destinations": [
- "GB",
- "GE"
], - "description": "Unlimited Local Call Mins, Unlimited Texts, 10GB Data",
- "operator_logo": "Truphone",
- "network_operator": "EE (EE15) Test",
- "name": "EE15 25T SLR TEST",
- "sku": "44-91-1-004-SLR",
- "version": "2",
- "data": 10,
- "call_local": false,
- "call_local_minutes": -1,
- "call_international": false,
- "call_international_minutes": 0,
- "sms": -1,
- "bundle_validity": 30,
- "featured": false,
- "pricings": [
- {
- "price": 100.1,
- "recommended_retail_price": 200.2,
- "vat_percentage": 25.05,
- "currency": "GBP"
}
]
}
]
Create a new UNITE Order with a single order item.
activate | boolean Default true. If set to false, you have to call activate order when you want to activate the sim |
required | object (order_item_request) This object contains information about a UNITE order item to be created. |
external_reference | string Optional unique ID you can pass with order, and search created order with this external_reference |
object | |
object | |
locale required | string Local code code used for order responses. Based on ISO 639-1 codes (https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) |
contact_name | string Optional user contact name |
contact_email | string Optional user that gets email notifications about order creation and fulfillment |
{- "item": {
- "product_offering_id": "a41c79e5-5b15-4805-8ea9-21766d277921",
- "destination": "GB",
- "price": 100.01,
- "vat_percentage": 23.01,
- "currency": "gbp"
}, - "external_reference": "51f9fb09-a4a6-460b-8c46-42e254f5fbd1",
- "payment_details": {
- "payment_reference": "PAYID-MMB6Y4A4H47793200186152P",
- "payment_type": "CARD"
}, - "kyc_details": {
- "kyc_reference": "057aa432-1464-4dbe-a3dd-597a67c0ac3e_1663232413538"
}, - "locale": "en",
- "contact_name": "Tom",
- "contact_email": "tom@mycompany.com"
}
{- "id": "00278971-4108-4e50-ac1b-dfd14cc194f4",
- "order_no": "7RGjBa",
- "external_reference": "51f9fb09-a4a6-460b-8c46-42e254f5fbd1",
- "status": "REFUNDED",
- "item": {
- "item_type": "ESIM",
- "product_offering_id": "a41c79e5-5b15-4805-8ea9-21766d277921",
- "destination": "GB",
- "price": 100.01,
- "vat_percentage": 23.01,
- "currency": "gbp",
- "faulty": true,
- "faulty_reason": "PHONE_IS_LOCKED",
- "ssn": "89202102151000000384",
- "msisnd": "3538122470",
- "imsi": "3538122470",
- "pin1": "1234",
- "puk1": "12345678",
- "activation_date": "2022-11-20",
- "qr_code": "LPA:1$go-esim.com$3KNKW-TLPBD-LAVS4-H3TU1$1.3.6.1.4.1.30703.836685.503$1",
- "activation_code": "3KNKW-TLPBD-LAVS4-H3TU1",
- "smdp_plus_url": "go-esim.com"
}, - "payment_details": {
- "payment_reference": "PAYID-MMB6Y4A4H47793200186152P",
- "payment_type": "CARD"
}, - "kyc_details": {
- "kyc_reference": "057aa432-1464-4dbe-a3dd-597a67c0ac3e_1663232413538"
}, - "locale": "en",
- "contact_name": "Tom",
- "contact_email": "tom@mycompany.com"
}
Return the order with the given external_reference
external_reference required | string Example: external_reference=51f9fb09-a4a6-460b-8c46-42e254f5fbd1 given reference, ie. 00278971-4108-4e50-ac1b-dfd14cc194f4 |
{- "content": [
- {
- "id": "00278971-4108-4e50-ac1b-dfd14cc194f4",
- "order_no": "7RGjBa",
- "external_reference": "51f9fb09-a4a6-460b-8c46-42e254f5fbd1",
- "status": "REFUNDED",
- "item": {
- "item_type": "ESIM",
- "product_offering_id": "a41c79e5-5b15-4805-8ea9-21766d277921",
- "destination": "GB",
- "price": 100.01,
- "vat_percentage": 23.01,
- "currency": "gbp",
- "faulty": true,
- "faulty_reason": "PHONE_IS_LOCKED",
- "ssn": "89202102151000000384",
- "msisnd": "3538122470",
- "imsi": "3538122470",
- "pin1": "1234",
- "puk1": "12345678",
- "activation_date": "2022-11-20",
- "qr_code": "LPA:1$go-esim.com$3KNKW-TLPBD-LAVS4-H3TU1$1.3.6.1.4.1.30703.836685.503$1",
- "activation_code": "3KNKW-TLPBD-LAVS4-H3TU1",
- "smdp_plus_url": "go-esim.com"
}, - "payment_details": {
- "payment_reference": "PAYID-MMB6Y4A4H47793200186152P",
- "payment_type": "CARD"
}, - "kyc_details": {
- "kyc_reference": "057aa432-1464-4dbe-a3dd-597a67c0ac3e_1663232413538"
}, - "locale": "en",
- "contact_name": "Tom",
- "contact_email": "tom@mycompany.com"
}
], - "totalPages": 1,
- "totalElements": 1,
- "pageable": {
- "sort": {
- "empty": false,
- "sorted": false,
- "unsorted": true
}, - "offset": 0,
- "page_number": 0,
- "paged": true,
- "unpaged": false
}, - "last": true,
- "total_pages": 1,
- "sort": {
- "empty": false,
- "sorted": false,
- "unsorted": true
}, - "first": true,
- "number_of_elements": 1,
- "empty": false
}
Return the order with the given id
order_id required | string generated orderId, ie. 00278971-4108-4e50-ac1b-dfd14cc194f4 |
{- "id": "00278971-4108-4e50-ac1b-dfd14cc194f4",
- "order_no": "7RGjBa",
- "external_reference": "51f9fb09-a4a6-460b-8c46-42e254f5fbd1",
- "status": "REFUNDED",
- "item": {
- "item_type": "ESIM",
- "product_offering_id": "a41c79e5-5b15-4805-8ea9-21766d277921",
- "destination": "GB",
- "price": 100.01,
- "vat_percentage": 23.01,
- "currency": "gbp",
- "faulty": true,
- "faulty_reason": "PHONE_IS_LOCKED",
- "ssn": "89202102151000000384",
- "msisnd": "3538122470",
- "imsi": "3538122470",
- "pin1": "1234",
- "puk1": "12345678",
- "activation_date": "2022-11-20",
- "qr_code": "LPA:1$go-esim.com$3KNKW-TLPBD-LAVS4-H3TU1$1.3.6.1.4.1.30703.836685.503$1",
- "activation_code": "3KNKW-TLPBD-LAVS4-H3TU1",
- "smdp_plus_url": "go-esim.com"
}, - "payment_details": {
- "payment_reference": "PAYID-MMB6Y4A4H47793200186152P",
- "payment_type": "CARD"
}, - "kyc_details": {
- "kyc_reference": "057aa432-1464-4dbe-a3dd-597a67c0ac3e_1663232413538"
}, - "locale": "en",
- "contact_name": "Tom",
- "contact_email": "tom@mycompany.com"
}
Activate an existing order that has not been activated yet. This will activate eSIM with network operator. Activation is an async call. Once activation is done webhook call is done vie Fulfilment completed event notification.
order_id required | string order_id, ie. 00278971-4108-4e50-ac1b-dfd14cc194f4 |
{- "id": "00278971-4108-4e50-ac1b-dfd14cc194f4",
- "order_no": "7RGjBa",
- "external_reference": "51f9fb09-a4a6-460b-8c46-42e254f5fbd1",
- "status": "REFUNDED",
- "item": {
- "item_type": "ESIM",
- "product_offering_id": "a41c79e5-5b15-4805-8ea9-21766d277921",
- "destination": "GB",
- "price": 100.01,
- "vat_percentage": 23.01,
- "currency": "gbp",
- "faulty": true,
- "faulty_reason": "PHONE_IS_LOCKED",
- "ssn": "89202102151000000384",
- "msisnd": "3538122470",
- "imsi": "3538122470",
- "pin1": "1234",
- "puk1": "12345678",
- "activation_date": "2022-11-20",
- "qr_code": "LPA:1$go-esim.com$3KNKW-TLPBD-LAVS4-H3TU1$1.3.6.1.4.1.30703.836685.503$1",
- "activation_code": "3KNKW-TLPBD-LAVS4-H3TU1",
- "smdp_plus_url": "go-esim.com"
}, - "payment_details": {
- "payment_reference": "PAYID-MMB6Y4A4H47793200186152P",
- "payment_type": "CARD"
}, - "kyc_details": {
- "kyc_reference": "057aa432-1464-4dbe-a3dd-597a67c0ac3e_1663232413538"
}, - "locale": "en",
- "contact_name": "Tom",
- "contact_email": "tom@mycompany.com"
}
Cancel an existing order that has not been activated yet. Post activation orders can only be cancelled via customer care.
order_id required | string orderId, ie. 00278971-4108-4e50-ac1b-dfd14cc194f4 |
reason | string Cancel reason, must be one of options returned by Get Cancel Reasons. |
{- "reason": "OTHER"
}
{- "id": "00278971-4108-4e50-ac1b-dfd14cc194f4",
- "order_no": "7RGjBa",
- "external_reference": "51f9fb09-a4a6-460b-8c46-42e254f5fbd1",
- "status": "REFUNDED",
- "item": {
- "item_type": "ESIM",
- "product_offering_id": "a41c79e5-5b15-4805-8ea9-21766d277921",
- "destination": "GB",
- "price": 100.01,
- "vat_percentage": 23.01,
- "currency": "gbp",
- "faulty": true,
- "faulty_reason": "PHONE_IS_LOCKED",
- "ssn": "89202102151000000384",
- "msisnd": "3538122470",
- "imsi": "3538122470",
- "pin1": "1234",
- "puk1": "12345678",
- "activation_date": "2022-11-20",
- "qr_code": "LPA:1$go-esim.com$3KNKW-TLPBD-LAVS4-H3TU1$1.3.6.1.4.1.30703.836685.503$1",
- "activation_code": "3KNKW-TLPBD-LAVS4-H3TU1",
- "smdp_plus_url": "go-esim.com"
}, - "payment_details": {
- "payment_reference": "PAYID-MMB6Y4A4H47793200186152P",
- "payment_type": "CARD"
}, - "kyc_details": {
- "kyc_reference": "057aa432-1464-4dbe-a3dd-597a67c0ac3e_1663232413538"
}, - "locale": "en",
- "contact_name": "Tom",
- "contact_email": "tom@mycompany.com"
}