Download OpenAPI specification:Download
This is a Sim Local UNITE Partner API OpenAPI specification.
Webhook callback when fulfilment has been completed. Please contact your Sim Local contact to configure webhooks in the UNITE platform for you.
order_id required | string Unique order ID. |
status required | string (order_status) Enum: "CREATED" "PURCHASED" "PROCESSING_OBTAINING_ACTIVATION_CODE" "PROCESSING_WAITING_NETWORK_ACTIVATION" "PROCESSING_APPLYING_BUNDLE" "COMPLETED" "FAILED" "REFUNDED" Order status. |
{- "order_id": "00278971-4108-4e50-ac1b-dfd14cc194f4",
- "status": "COMPLETED"
}
Returns a list of destinations that UNITE platform supports.
Accept-Language | string Language code for field translation. If you have not set the header, |
[- {
- "alias": "GB",
- "description": "United Kingdom",
- "display_order": 226
}, - {
- "alias": "GE",
- "description": "Georgia",
- "display_order": 79
}
]
Returns available SIM product offerings.
ssn | string If specified, only product offerings that could be applied to a physical SIM with given SSN (sometimes also called IccID) will be returned. If omitted, response will include all product offerings that can be applied to any available eSIM (on-demand or in-stock). |
destination | string If specified, only product offerings for given destination (specified by its |
[- {
- "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"
}
]
}
]
Creates a new UNITE order with a single order item.
synchronous | boolean Determines if a call to this endpoint should wait until order creation completely succeeds of fails before returning. Defaults to |
required | object (order_item_request) 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. |
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": "opyq6-e1ga9",
- "external_reference": "51f9fb09-a4a6-460b-8c46-42e254f5fbd1",
- "status": "COMPLETED",
- "item": {
- "item_type": "ESIM",
- "product_offering_id": "a41c79e5-5b15-4805-8ea9-21766d277921",
- "destination": "GB",
- "price": 100.01,
- "vat_percentage": 23.01,
- "currency": "gbp",
- "faulty": false,
- "faulty_reason": null,
- "faulty_note": null,
- "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 Orders external reference. |
{- "content": [
- {
- "id": "00278971-4108-4e50-ac1b-dfd14cc194f4",
- "order_no": "opyq6-e1ga9",
- "external_reference": "51f9fb09-a4a6-460b-8c46-42e254f5fbd1",
- "status": "COMPLETED",
- "item": {
- "item_type": "ESIM",
- "product_offering_id": "a41c79e5-5b15-4805-8ea9-21766d277921",
- "destination": "GB",
- "price": 100.01,
- "vat_percentage": 23.01,
- "currency": "gbp",
- "faulty": false,
- "faulty_reason": null,
- "faulty_note": null,
- "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
}
Returns the order with the given ID.
order_id required | string Example: 00278971-4108-4e50-ac1b-dfd14cc194f4 Generated order ID. |
{- "id": "00278971-4108-4e50-ac1b-dfd14cc194f4",
- "order_no": "opyq6-e1ga9",
- "external_reference": "51f9fb09-a4a6-460b-8c46-42e254f5fbd1",
- "status": "COMPLETED",
- "item": {
- "item_type": "ESIM",
- "product_offering_id": "a41c79e5-5b15-4805-8ea9-21766d277921",
- "destination": "GB",
- "price": 100.01,
- "vat_percentage": 23.01,
- "currency": "gbp",
- "faulty": false,
- "faulty_reason": null,
- "faulty_note": null,
- "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"
}
Marks an order as faulty. To get the list of possible reasons why order may be reported as faulty, see the response from Get faulty reasons. Order may be reported as faulty only when it's in COMPLETED
status.
order_id required | string Example: 00278971-4108-4e50-ac1b-dfd14cc194f4 Order ID. |
reason required | string Example: reason=FAULTY_SIM Reason why this order is being reported as faulty. Should be one of the reasons returned by Get faulty reasons. |
note | string Example: note=SIM card is physically damaged Free form text to save alongside why order was reported as faulty. |
{- "id": "00278971-4108-4e50-ac1b-dfd14cc194f4",
- "order_no": "opyq6-e1ga9",
- "external_reference": "51f9fb09-a4a6-460b-8c46-42e254f5fbd1",
- "status": "COMPLETED",
- "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": "FAULTY_SIM",
- "faulty_note": "SIM card is physically damaged",
- "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"
}