1GLOBAL Connect API (2025-01-28)
Download OpenAPI specification:Download
1GLOBAL Connect is a set of APIs designed for server-to-server integration, accessible over the internet, that enables the provisioning of a variety of connectivity solutions to users.
The main goal of the API is to enable our partners to easily order, activate, and manage 1GLOBAL's global connectivity.
Creates a new Account
Authorizations:
header Parameters
Correlation-Id | string An unique identifier provided by the client that allows the request to be traced through the system. |
Api-Version | string (ApiVersion) Value: "2025-01-28" This header is used to specify the version of the API being requested. If not specied, the latest version would be used. |
Request Body schema: application/jsonrequired
name | string [ 1 .. 100 ] characters |
type required | string (AccountType) The account type |
required | object (CreateAccountOwner) |
Responses
Request samples
- Payload
{- "name": "Test account name",
- "type": "personal",
- "owner": {
- "first_name": "First name",
- "last_name": "Last Name",
- "address": {
- "line1": "Avenue 1",
- "line2": "Central Park",
- "city": "Berlin",
- "country": "DE",
- "postal_code": "123-456"
}
}
}
Response samples
- 201
- 400
- 5XX
{- "id": "acc_01J806F9TNFYTQM3Z4THPTJEVY",
- "name": "Test account name",
- "type": "personal",
- "number": "C2024AAAA0000",
- "owner": {
- "first_name": "First name",
- "last_name": "Last Name",
- "address": {
- "line1": "Avenue 1",
- "line2": "Central Park",
- "city": "Berlin",
- "country": "DE",
- "postal_code": "123-456"
}
}, - "created_at": "2024-09-17T14:34:06.037Z",
- "updated_at": "2024-09-17T14:34:06.037Z",
- "_links": {
}
}
List all accounts
Returns a list of accounts
Authorizations:
query Parameters
cursor | string (Cursor) A base64 encoded string that uniquely identifies the first entry of a query result. |
limit | integer <int32> (Limit) [ 1 .. 40 ] Default: 10 The page size filter |
header Parameters
Correlation-Id | string An unique identifier provided by the client that allows the request to be traced through the system. |
Api-Version | string (ApiVersion) Value: "2025-01-28" This header is used to specify the version of the API being requested. If not specied, the latest version would be used. |
Responses
Response samples
- 200
- 400
- 5XX
{- "_embedded": {
- "accounts": [
- {
- "id": "acc_01BX5ZZKBKACTAV9WEVGEMMVRY",
- "name": "string",
- "type": "personal",
- "number": "string",
- "company_name": "string",
- "tax_id": "string",
- "address": {
- "line1": "string",
- "line2": "string",
- "city": "string",
- "country": "AD",
- "postal_code": 12345
}, - "created_at": "2024-10-01T14:28:17.456Z",
- "updated_at": "2024-10-01T14:28:17.456Z",
}
]
}, - "_links": {
}
}
Retrieve an account
Retrieves the details of an existing account
Authorizations:
path Parameters
account-id required | string (AccountId) <= 100 characters Example: acc_01BX5ZZKBKACTAV9WEVGEMMVRY A string that uniquely identifies an Account |
header Parameters
Correlation-Id | string An unique identifier provided by the client that allows the request to be traced through the system. |
Api-Version | string (ApiVersion) Value: "2025-01-28" This header is used to specify the version of the API being requested. If not specied, the latest version would be used. |
Responses
Response samples
- 200
- 404
- 5XX
{- "id": "acc_01J806F9TNFYTQM3Z4THPTJEVY",
- "name": "Test account name",
- "type": "personal",
- "number": "C2024AAAA0000",
- "owner": {
- "first_name": "First name",
- "last_name": "Last Name",
- "address": {
- "line1": "Avenue 1",
- "line2": "Central Park",
- "city": "Berlin",
- "country": "DE",
- "postal_code": "123-456"
}
}, - "created_at": "2024-09-17T14:34:06.037Z",
- "updated_at": "2024-09-17T14:34:06.037Z",
- "_links": {
}
}
Patch an account
Patch an account
Authorizations:
path Parameters
account-id required | string (AccountId) <= 100 characters Example: acc_01BX5ZZKBKACTAV9WEVGEMMVRY A string that uniquely identifies an Account |
header Parameters
Correlation-Id | string An unique identifier provided by the client that allows the request to be traced through the system. |
Api-Version | string (ApiVersion) Value: "2025-01-28" This header is used to specify the version of the API being requested. If not specied, the latest version would be used. |
Request Body schema: application/jsonrequired
name | string |
object (PatchAccountOwner) |
Responses
Request samples
- Payload
{- "owner": {
- "address": {
- "line1": "Avenue 1",
- "line2": "Central Park",
- "city": "Berlin",
- "country": "DE",
- "postal_code": "123-456"
}
}
}
Response samples
- 200
- 400
- 5XX
{- "id": "acc_01J806F9TNFYTQM3Z4THPTJEVY",
- "name": "Test account name",
- "type": "personal",
- "number": "C2024AAAA0000",
- "owner": {
- "first_name": "First name",
- "last_name": "Last Name",
- "address": {
- "line1": "Avenue 1",
- "line2": "Central Park",
- "city": "Berlin",
- "country": "DE",
- "postal_code": "123-456"
}
}, - "created_at": "2024-09-17T14:34:06.037Z",
- "updated_at": "2024-09-17T14:34:06.037Z",
- "_links": {
}
}
List all Contracts
Returns a list of Contracts
Authorizations:
query Parameters
limit | integer <int32> (Limit) [ 1 .. 40 ] Default: 10 The page size filter |
cursor | string (Cursor) A base64 encoded string that uniquely identifies the first entry of a query result. |
account-id | string (AccountId) <= 100 characters Example: account-id=acc_01BX5ZZKBKACTAV9WEVGEMMVRY A string that uniquely identifies an Account |
header Parameters
Correlation-Id | string An unique identifier provided by the client that allows the request to be traced through the system. |
Api-Version | string (ApiVersion) Value: "2025-01-28" This header is used to specify the version of the API being requested. If not specied, the latest version would be used. |
Responses
Response samples
- 200
- 400
- 5XX
{- "_embedded": {
- "contracts": [
- {
- "id": "con_1234",
- "type": "contract_summary",
- "created_at": "2024-08-30T10:42:34.309Z",
- "_embedded": {
- "account": {
- "id": "acc_01HRC2T6WK4CMVGFXA2RESTQ97",
- "_links": {
}
}, - "order": {
- "id": "ord_01HRC2T6WK4CMVGFXA2RESTQ97",
- "_links": {
}
}
},
}
]
}, - "_links": {
}
}
Retrieve a contract
Retrieves a contract by its ID
Authorizations:
path Parameters
contract-id required | string (ContractId) <= 100 characters Example: con_02HV3KWPNICT800WV3XG41CAT5 The resource identifier. |
header Parameters
Correlation-Id | string An unique identifier provided by the client that allows the request to be traced through the system. |
Api-Version | string (ApiVersion) Value: "2025-01-28" This header is used to specify the version of the API being requested. If not specied, the latest version would be used. |
Responses
Response samples
- 200
- 404
- 5XX
{- "id": "con_1234",
- "type": "contract_summary",
- "created_at": "2024-08-30T10:42:34.309Z",
- "_embedded": {
- "account": {
- "id": "acc_01HRC2T6WK4CMVGFXA2RESTQ97",
- "_links": {
}
}, - "order": {
- "id": "ord_01HRC2T6WK4CMVGFXA2RESTQ97",
- "_links": {
}
}
}, - "_links": {
}
}
A Coverage Area defines the country (or countries) where a Product Offering can be used
List all Coverage Areas
Returns a list of coverage areas
Authorizations:
query Parameters
countries | Array of strings (Country) Items Enum: "AD" "AE" "AF" "AG" "AI" "AL" "AM" "AO" "AQ" "AR" "AS" "AT" "AU" "AW" "AX" "AZ" "BA" "BB" "BD" "BE" "BF" "BG" "BH" "BI" "BJ" "BL" "BM" "BN" "BO" "BQ" "BR" "BS" "BT" "BV" "BW" "BY" "BZ" "CA" "CC" "CD" "CF" "CG" "CH" "CK" "CL" "CM" "CN" "CO" "CR" "CU" "CV" "CW" "CX" "CY" "CZ" "DE" "DJ" "DK" "DM" "DO" "DZ" "EC" "EE" "EG" "EH" "ER" "ES" "ET" "FI" "FJ" "FK" "FM" "FO" "FR" "GA" "GB" "GD" "GE" "GF" "GG" "GH" "GI" "GL" "GM" "GN" "GP" "GQ" "GR" "GS" "GT" "GU" "GW" "GY" "HK" "HM" "HN" "HR" "HT" "HU" "ID" "IE" "IL" "IM" "IN" "IO" "IQ" "IR" "IS" "IT" "JE" "JM" "JO" "JP" "KE" "KG" "KH" "KI" "KM" "KN" "KP" "KR" "KW" "KY" "KZ" "LA" "LB" "LC" "LI" "LK" "LR" "LS" "LT" "LU" "LV" "LY" "MA" "MC" "MD" "ME" "MF" "MG" "MH" "MK" "ML" "MM" "MN" "MO" "MP" "MQ" "MR" "MS" "MT" "MU" "MV" "MW" "MX" "MY" "MZ" "NA" "NC" "NE" "NF" "NG" "NI" "NL" "NO" "NP" "NR" "NU" "NZ" "OM" "PA" "PE" "PF" "PG" "PH" "PK" "PL" "PM" "PN" "PR" "PS" "PT" "PW" "PY" "QA" "RE" "RO" "RS" "RU" "RW" "SA" "SB" "SC" "SD" "SE" "SG" "SH" "SI" "SJ" "SK" "SL" "SM" "SN" "SO" "SR" "SS" "ST" "SV" "SX" "SY" "SZ" "TC" "TD" "TF" "TG" "TH" "TJ" "TK" "TL" "TM" "TN" "TO" "TR" "TT" "TV" "TW" "TZ" "UA" "UG" "UM" "US" "UY" "UZ" "VC" "VE" "VG" "VI" "VN" "VU" "WF" "WS" "XK" "YE" "YT" "ZA" "ZM" "ZW" Countries filter. |
cursor | string (Cursor) A base64 encoded string that uniquely identifies the first entry of a query result. |
limit | integer <int32> (Limit) [ 1 .. 40 ] Default: 10 The page size filter |
header Parameters
Correlation-Id | string An unique identifier provided by the client that allows the request to be traced through the system. |
Api-Version | string (ApiVersion) Value: "2025-01-28" This header is used to specify the version of the API being requested. If not specied, the latest version would be used. |
Responses
Response samples
- 200
- 400
- 5XX
{- "_embedded": {
- "coverage_areas": [
- {
- "id": "cov_01J83E2VNKR4GD78MF1R43YWTK",
- "name": "Portugal",
- "type": "local",
- "created_at": "2024-09-18T20:44:50.227Z",
- "updated_at": "2024-09-20T12:42:12.987Z",
- "countries": [
- "PT"
], - "_links": {
}
}, - {
- "id": "cov_01J83E2VNKR4GD78MF1R43YIW3",
- "name": "Spain",
- "type": "local",
- "created_at": "2024-01-14T20:44:50.098Z",
- "updated_at": "2024-04-23T01:23:10.234Z",
- "countries": [
- "ES"
], - "_links": {
}
}
]
}, - "_links": {
}
}
Retrieve a Coverage Area
Retrieves the details of an existing coverage area.
Authorizations:
path Parameters
coverage-area-id required | string (CoverageAreaId) <= 100 characters Example: cov_01BX5ZZKBKACTAV9WEVGEMMVRY An identifier of the coverage area. |
header Parameters
Correlation-Id | string An unique identifier provided by the client that allows the request to be traced through the system. |
Api-Version | string (ApiVersion) Value: "2025-01-28" This header is used to specify the version of the API being requested. If not specied, the latest version would be used. |
Responses
Response samples
- 200
- 404
- 5XX
{- "id": "cov_01BX5ZZKBKACTAV9WEVGEMMVRY",
- "name": "Local pt",
- "type": "local",
- "created_at": "2024-02-01T14:28:17.967Z",
- "updated_at": "2024-03-01T15:28:00.127Z",
- "countries": [
- "PT"
], - "_links": {
}
}
List all Invoices
Returns a list of Invoices
Authorizations:
query Parameters
limit | integer <int32> (Limit) [ 1 .. 40 ] Default: 10 The page size filter |
cursor | string (Cursor) A base64 encoded string that uniquely identifies the first entry of a query result. |
account-id | string (AccountId) <= 100 characters Example: account-id=acc_01BX5ZZKBKACTAV9WEVGEMMVRY A string that uniquely identifies an Account |
header Parameters
Correlation-Id | string An unique identifier provided by the client that allows the request to be traced through the system. |
Api-Version | string (ApiVersion) Value: "2025-01-28" This header is used to specify the version of the API being requested. If not specied, the latest version would be used. |
Responses
Response samples
- 200
- 400
- 5XX
{- "_embedded": {
- "invoices": [
- {
- "id": "inv_1234",
- "number": "INV-2025-001",
- "total": {
- "amount": 5400,
- "currency": "EUR"
}, - "period": "2025-02-10T00:00:00Z/2025-02-15T23:59:59Z",
- "_embedded": {
- "account": {
- "id": "acc_01BX5ZZKBKACTAV9WEVGEMMVRY",
- "_links": {
}
}
},
}
]
}, - "_links": {
}
}
Retrieve a invoice
Retrieves a invoice by its ID
Authorizations:
path Parameters
invoice-id required | string (InvoiceId) <= 100 characters Example: inv_02HV3KWPNICT800WV3XG41CAT5 The resource identifier. |
header Parameters
Correlation-Id | string An unique identifier provided by the client that allows the request to be traced through the system. |
Api-Version | string (ApiVersion) Value: "2025-01-28" This header is used to specify the version of the API being requested. If not specied, the latest version would be used. |
Responses
Response samples
- 200
- 404
- 5XX
{- "id": "inv_1234",
- "status": "paid",
- "created_at": "2024-10-01T14:28:17.456Z",
- "number": "INV-2025-001",
- "period": "2025-02-10T00:00:00Z/2025-02-15T23:59:59Z",
- "total": {
- "amount": 5400,
- "currency": "EUR"
}, - "amount_breakdown": [
- {
- "type": "recurring",
- "total": {
- "amount": 2400,
- "currency": "EUR"
}
}, - {
- "type": "sms_oob",
- "total": {
- "amount": 600,
- "currency": "EUR"
}
}, - {
- "type": "voice_oob",
- "total": {
- "amount": 1200,
- "currency": "EUR"
}
}, - {
- "type": "one_off",
- "total": {
- "amount": 1200,
- "currency": "EUR"
}
}
], - "_embedded": {
- "account": {
- "id": "acc_01BX5ZZKBKACTAV9WEVGEMMVRY",
- "_links": {
}
}
}, - "_links": {
}
}
List all Invoices Items
Returns a list of Invoice Items
Authorizations:
path Parameters
invoice-id required | string (InvoiceId) <= 100 characters Example: inv_02HV3KWPNICT800WV3XG41CAT5 The resource identifier. |
query Parameters
limit | integer <int32> (Limit) [ 1 .. 40 ] Default: 10 The page size filter |
cursor | string (Cursor) A base64 encoded string that uniquely identifies the first entry of a query result. |
header Parameters
Correlation-Id | string An unique identifier provided by the client that allows the request to be traced through the system. |
Api-Version | string (ApiVersion) Value: "2025-01-28" This header is used to specify the version of the API being requested. If not specied, the latest version would be used. |
Responses
Response samples
- 200
- 400
- 5XX
{- "_embedded": {
- "items": [
- {
- "type": "recurring",
- "total": {
- "amount": 2400,
- "currency": "EUR"
}, - "period": "2025-02-10T00:00:00Z/2025-02-15T23:59:59Z",
- "subtotal": {
- "amount": 2000,
- "currency": "EUR"
}, - "tax": {
- "amount": 400,
- "currency": "EUR"
}, - "_embedded": {
- "subscription": {
- "id": "sub_41BX5ZZKBKACTAV9WEVGEMMVRZ",
- "_links": {
}
}, - "product": {
- "id": "prod_01BX5ZZKBKACTAV9WEVGEMMVRY",
- "_links": {
}
}
}
}, - {
- "type": "sms_oob",
- "total": {
- "amount": 1200,
- "currency": "EUR"
}, - "period": "2025-02-10T00:00:00Z/2025-02-15T23:59:59Z",
- "subtotal": {
- "amount": 1000,
- "currency": "EUR"
}, - "tax": {
- "amount": 200,
- "currency": "EUR"
}, - "_embedded": {
- "subscription": {
- "id": "sub_41BX5ZZKBKACTAV9WEVGEMMVRZ",
- "_links": {
}
}
}
}
]
}, - "_links": {
}
}
List all network-operators
Returns a list of network-operators
Authorizations:
query Parameters
limit | integer <int32> (Limit) [ 1 .. 40 ] Default: 10 The page size filter |
cursor | string (Cursor) A base64 encoded string that uniquely identifies the first entry of a query result. |
country | |
status | string (NetworkOperatorStatus) Enum: "active" "inactive" |
header Parameters
Correlation-Id | string An unique identifier provided by the client that allows the request to be traced through the system. |
Api-Version | string (ApiVersion) Value: "2025-01-28" This header is used to specify the version of the API being requested. If not specied, the latest version would be used. |
Responses
Response samples
- 200
- 400
- 5XX
{- "_embedded": {
- "network_operators": [
- {
- "id": "nopr_01J6795M195EXEECTPY9Y3QD66",
- "name": "Truphone",
- "trade_name": "Truphone",
- "country": "DE",
- "status": "active",
- "created_at": "2024-08-30T10:42:34.309Z",
- "updated_at": "2024-08-30T10:42:34.309Z",
- "_links": {
}
}, - {
- "id": "nopr_01JGYX8WRXYFT2GX3MVAKG8NPZ",
- "name": "T-Mobile Deutschland GmbH",
- "trade_name": "Telekom",
- "country": "DE",
- "status": "active",
- "created_at": "2024-08-30T10:42:34.309Z",
- "updated_at": "2024-08-30T10:42:34.309Z",
- "_links": {
}
}
]
}, - "_links": {
}
}
Get a network-operators by id
Get a network operator by id
Authorizations:
path Parameters
network-operator-id required | string (NetworkOperatorId) <= 100 characters Example: nopr_01HV3KWPNRCT870WV3XG41CAT3 The resource identifier. |
header Parameters
Correlation-Id | string An unique identifier provided by the client that allows the request to be traced through the system. |
Api-Version | string (ApiVersion) Value: "2025-01-28" This header is used to specify the version of the API being requested. If not specied, the latest version would be used. |
Responses
Response samples
- 200
- 404
- 5XX
{- "id": "nopr_01HV3KWPNRCT870WV3XG41CAT3",
- "name": "T-Mobile Deutschland GmbH",
- "trade_name": "Telekom",
- "country": "DE",
- "status": "active",
- "created_at": "2024-10-01T14:28:17.456Z",
- "updated_at": "2024-10-01T14:28:17.456Z",
- "_links": {
}
}
Creates a new Order
Creates a new order for a subscriber.
Authorizations:
header Parameters
Correlation-Id | string An unique identifier provided by the client that allows the request to be traced through the system. |
Api-Version | string (ApiVersion) Value: "2025-01-28" This header is used to specify the version of the API being requested. If not specied, the latest version would be used. |
Request Body schema: application/jsonrequired
type required | string Value: "activate_subscription" The Order type |
subscriber_id required | string (SubscriberId) <= 100 characters The Subscriber Id |
purchase_location required | string (Country) Enum: "AD" "AE" "AF" "AG" "AI" "AL" "AM" "AO" "AQ" "AR" "AS" "AT" "AU" "AW" "AX" "AZ" "BA" "BB" "BD" "BE" "BF" "BG" "BH" "BI" "BJ" "BL" "BM" "BN" "BO" "BQ" "BR" "BS" "BT" "BV" "BW" "BY" "BZ" "CA" "CC" "CD" "CF" "CG" "CH" "CK" "CL" "CM" "CN" "CO" "CR" "CU" "CV" "CW" "CX" "CY" "CZ" "DE" "DJ" "DK" "DM" "DO" "DZ" "EC" "EE" "EG" "EH" "ER" "ES" "ET" "FI" "FJ" "FK" "FM" "FO" "FR" "GA" "GB" "GD" "GE" "GF" "GG" "GH" "GI" "GL" "GM" "GN" "GP" "GQ" "GR" "GS" "GT" "GU" "GW" "GY" "HK" "HM" "HN" "HR" "HT" "HU" "ID" "IE" "IL" "IM" "IN" "IO" "IQ" "IR" "IS" "IT" "JE" "JM" "JO" "JP" "KE" "KG" "KH" "KI" "KM" "KN" "KP" "KR" "KW" "KY" "KZ" "LA" "LB" "LC" "LI" "LK" "LR" "LS" "LT" "LU" "LV" "LY" "MA" "MC" "MD" "ME" "MF" "MG" "MH" "MK" "ML" "MM" "MN" "MO" "MP" "MQ" "MR" "MS" "MT" "MU" "MV" "MW" "MX" "MY" "MZ" "NA" "NC" "NE" "NF" "NG" "NI" "NL" "NO" "NP" "NR" "NU" "NZ" "OM" "PA" "PE" "PF" "PG" "PH" "PK" "PL" "PM" "PN" "PR" "PS" "PT" "PW" "PY" "QA" "RE" "RO" "RS" "RU" "RW" "SA" "SB" "SC" "SD" "SE" "SG" "SH" "SI" "SJ" "SK" "SL" "SM" "SN" "SO" "SR" "SS" "ST" "SV" "SX" "SY" "SZ" "TC" "TD" "TF" "TG" "TH" "TJ" "TK" "TL" "TM" "TN" "TO" "TR" "TT" "TV" "TW" "TZ" "UA" "UG" "UM" "US" "UY" "UZ" "VC" "VE" "VG" "VI" "VN" "VU" "WF" "WS" "XK" "YE" "YT" "ZA" "ZM" "ZW" The supported country codes according to ISO 3166-1 alpha-2 |
required | object The SIM Profile of this Subscription |
object (Device) The Device where the SIM Profile is installed | |
required | object (OrderProductsActivation) The products to buy with this order. |
Responses
Request samples
- Payload
{- "type": "activate_subscription",
- "subscriber_id": "subr_01HXF4F4VYTCPVMBPBK3T52TN7",
- "purchase_location": "US",
- "sim_profile": {
- "sim_type": "esim"
}, - "products": {
- "plan": {
- "product_offering_id": "prdoff_01HRD00B0K1EPRZ9WEVGEMUIJ6E"
}, - "addons": [
- {
- "activation_mode": "first_usage",
- "product_offering_id": "prdoff_01HRD00B0K1EPRZ91XEFRYPPTVX"
}
]
}
}
Response samples
- 201
- 400
- 5XX
{- "id": "ord_01HV3KWPNRCT870WV3XG41UTG4",
- "status": "accepted",
- "type": "activate_subscription",
- "created_at": "2024-08-02T09:13:28.384Z",
- "_links": {
}
}
List all Orders
Returns a list of orders
Authorizations:
query Parameters
cursor | string (Cursor) A base64 encoded string that uniquely identifies the first entry of a query result. |
limit | integer <int32> (Limit) [ 1 .. 40 ] Default: 10 The page size filter |
status | string (OrderStatus) Enum: "accepted" "fulfilling" "completed" "failed" Example: status=completed The Order status |
header Parameters
Correlation-Id | string An unique identifier provided by the client that allows the request to be traced through the system. |
Api-Version | string (ApiVersion) Value: "2025-01-28" This header is used to specify the version of the API being requested. If not specied, the latest version would be used. |
Responses
Response samples
- 200
- 400
- 5XX
{- "_embedded": {
- "orders": [
- {
- "id": "ord_01HV3KWPNRCT870WV3XG41CAT3",
- "status": "completed",
- "type": "activate_subscription",
- "created_at": "2024-08-02T09:13:28.384Z",
- "updated_at": "2024-08-02T09:15:30.544Z",
- "completed_at": "2024-08-02T09:20:30.000Z",
- "_links": {
}
}, - {
- "id": "ord_01HV3KWPNRCT870WV3XG41UTG4",
- "status": "failed",
- "type": "topup_subscription",
- "created_at": "2024-08-02T09:13:28.384Z",
- "updated_at": "2024-08-02T09:18:30.544Z",
- "_links": {
}
}
]
}, - "_links": {
}
}
Retrieve an Order
Retrieves the details of an existing order
Authorizations:
path Parameters
order-id required | string (OrderId) <= 100 characters Example: ord_01HV3KWPNRCT870WV3XG41CAT3 An identifier of the order. |
header Parameters
Correlation-Id | string An unique identifier provided by the client that allows the request to be traced through the system. |
Api-Version | string (ApiVersion) Value: "2025-01-28" This header is used to specify the version of the API being requested. If not specied, the latest version would be used. |
Responses
Response samples
- 200
- 404
- 5XX
{- "id": "ord_01HV3KWPNRCT870WV3XG41CAT3",
- "status": "completed",
- "type": "topup_subscription",
- "created_at": "2024-08-02T09:13:28.384Z",
- "updated_at": "2024-08-02T09:13:30.544Z",
- "completed_at": "2024-08-02T09:13:35.122Z",
- "_embedded": {
- "subscription": {
- "id": "subs_01HRCZZWCBXR40JQ6B705952WJ",
- "status": "active",
- "created_at": "2024-07-11T10:29:42.426Z",
- "_embedded": {
- "sim_profile": {
- "iccid": "8988211234567890023",
- "sim_type": "esim",
- "profile_status": "Installed",
- "matching_id": "5C-ZYXZZ-1R54O94",
- "smdp_address": "rsp.truphone.com",
- "_embedded": {
- "device": {
- "uicc": {
- "eid": "89049032007208882600182092769530"
}
}
}
}, - "account": {
- "id": "acc_01HRC2T6WK4CMVGFXA2RESTQ97",
- "_links": {
}
}
}, - "_links": {
- "qrcode": {
}
}
}
}, - "_links": {
}
}
List Phone Numbers
List phone numbers
Authorizations:
query Parameters
limit | integer <int32> (Limit) [ 1 .. 40 ] Default: 10 The page size filter |
cursor | string (Cursor) A base64 encoded string that uniquely identifies the first entry of a query result. |
subscription-id | string (SubscriptionId) <= 100 characters Example: subscription-id=subs_01J9XJ11WTYFWFH5JD2YM1S18S A string that uniquely identifies a Subscription |
header Parameters
Correlation-Id | string An unique identifier provided by the client that allows the request to be traced through the system. |
Api-Version | string (ApiVersion) Value: "2025-01-28" This header is used to specify the version of the API being requested. If not specied, the latest version would be used. |
Responses
Response samples
- 200
- 400
- 404
- 5XX
{- "_embedded": {
- "phone_numbers": [
- {
- "id": "pn_01BX5ZZKBKACTAV9WEVGEMUIJ6",
- "status": "active",
- "created_at": "2024-01-01T00:00:00.100Z",
- "updated_at": "2024-05-21T00:00:00.500Z",
- "msisdn": "+4912984900817",
- "country": "DE",
- "is_primary": true,
- "_links": {
- "disable-porting-opt-in": {
}, - "subscription": {
}
}
}, - {
- "id": "pn_01BX5ZZKBKACTAV9WEVGEMUIJ6",
- "status": "terminated",
- "created_at": "2023-01-01T00:00:00.100Z",
- "updated_at": "2023-05-21T00:00:00.500Z",
- "msisdn": "+4912984900817",
- "country": "DE",
- "is_primary": true,
- "_links": {
- "subscription": {
}
}
}
]
}, - "_links": {
}
}
Retrieve a Phone Number
Retrieves the details of an existing Phone Number
Authorizations:
path Parameters
phone-number-id required | string (PhoneNumberId) <= 100 characters Example: pn_01BX5ZZKBKACTAV9WEVGEMMVL6 A string that uniquely identifies a Phone Number |
header Parameters
Correlation-Id | string An unique identifier provided by the client that allows the request to be traced through the system. |
Api-Version | string (ApiVersion) Value: "2025-01-28" This header is used to specify the version of the API being requested. If not specied, the latest version would be used. |
Responses
Response samples
- 200
- 400
- 404
- 5XX
{- "id": "pn_01BX5ZZKBKACTAV9WEVGEMUIJ6",
- "status": "active",
- "created_at": "2024-01-01T00:00:00.100Z",
- "updated_at": "2024-05-21T00:00:00.500Z",
- "msisdn": "+4912984900817",
- "country": "DE",
- "is_primary": true,
- "porting_opt_in": {
- "enabled": true,
- "expires_at": "2025-01-03T00:00:00.500Z"
}, - "_links": {
- "disable-porting-opt-in": {
}, - "subscription": {
}
}
}
Enable Phone Number Opt In
Enables the Phone Number porting Opt In
Authorizations:
path Parameters
phone-number-id required | string (PhoneNumberId) <= 100 characters Example: pn_01BX5ZZKBKACTAV9WEVGEMMVL6 A string that uniquely identifies a Phone Number |
header Parameters
Correlation-Id | string An unique identifier provided by the client that allows the request to be traced through the system. |
Api-Version | string (ApiVersion) Value: "2025-01-28" This header is used to specify the version of the API being requested. If not specied, the latest version would be used. |
Responses
Response samples
- 200
- 400
- 404
- 5XX
{- "id": "pn_01BX5ZZKBKACTAV9WEVGEMUIJ6",
- "status": "active",
- "created_at": "2024-01-01T00:00:00.100Z",
- "updated_at": "2024-05-21T00:00:00.500Z",
- "msisdn": "+4912984900817",
- "country": "DE",
- "is_primary": true,
- "porting_opt_in": {
- "enabled": true,
- "expires_at": "2025-01-03T00:00:00.500Z"
}, - "_links": {
- "disable-porting-opt-in": {
}, - "subscription": {
}
}
}
Disable Phone Number Opt In
Disables the Phone Number porting Opt In
Authorizations:
path Parameters
phone-number-id required | string (PhoneNumberId) <= 100 characters Example: pn_01BX5ZZKBKACTAV9WEVGEMMVL6 A string that uniquely identifies a Phone Number |
header Parameters
Correlation-Id | string An unique identifier provided by the client that allows the request to be traced through the system. |
Api-Version | string (ApiVersion) Value: "2025-01-28" This header is used to specify the version of the API being requested. If not specied, the latest version would be used. |
Responses
Response samples
- 200
- 400
- 404
- 5XX
{- "id": "pn_01BX5ZZKBKACTAV9WEVGEMUIJ6",
- "status": "active",
- "created_at": "2024-01-01T00:00:00.100Z",
- "updated_at": "2024-05-21T00:00:00.500Z",
- "msisdn": "+4912984900817",
- "country": "DE",
- "is_primary": true,
- "porting_opt_in": {
- "enabled": false
}, - "_links": {
- "enable-porting-opt-in": {
}, - "subscription": {
}
}
}
List all Portings
Returns a list of Portings
Authorizations:
query Parameters
limit | integer <int32> (Limit) [ 1 .. 40 ] Default: 10 The page size filter |
cursor | string (Cursor) A base64 encoded string that uniquely identifies the first entry of a query result. |
status | string (PortingStatus) Enum: "draft" "pending" "rejected" "scheduled" "processing" "cancelation_requested" "canceled" "completed" Example: status=completed The Porting status |
phone-number-id | string (PhoneNumberId) <= 100 characters Example: phone-number-id=pn_01BX5ZZKBKACTAV9WEVGEMMVL6 A string that uniquely identifies a Phone Number |
subscription-id | string (SubscriptionId) <= 100 characters Example: subscription-id=subs_01J9XJ11WTYFWFH5JD2YM1S18S A string that uniquely identifies a Subscription |
header Parameters
Correlation-Id | string An unique identifier provided by the client that allows the request to be traced through the system. |
Api-Version | string (ApiVersion) Value: "2025-01-28" This header is used to specify the version of the API being requested. If not specied, the latest version would be used. |
Responses
Response samples
- 200
- 400
- 5XX
{- "_embedded": {
- "portings": [
- {
- "id": "port_01HV3KWPNRCT870WV3XG41CAT3",
- "direction": "in",
- "preferred_schedule": {
- "type": "first_available_date",
- "preferred_porting_at": "2024-10-01T14:28:17.456Z"
}, - "country": "DE",
- "status": "draft",
- "msisdn": "+447559451000017",
- "donor_details": {
- "_embedded": {
- "network_operator": {
- "id": "string",
- "name": "string",
- "status": "active",
- "trade_name": "string",
- "country": "DE",
- "created_at": "2024-10-01T14:28:17.456Z",
- "updated_at": "2024-10-01T14:28:17.456Z",
}, - "service_provider": {
- "id": "string",
- "name": "string",
- "status": "active",
- "country": "DE",
- "created_at": "2024-10-01T14:28:17.456Z",
- "updated_at": "2024-10-01T14:28:17.456Z",
}
}, - "account": {
- "type": "personal"
}
}, - "created_at": "2024-10-01T14:28:17.456Z",
- "updated_at": "2024-10-01T14:28:17.456Z",
- "_links": {
}
}
]
}, - "_links": {
}
}
Create a porting
Create a new porting request
Authorizations:
header Parameters
Correlation-Id | string An unique identifier provided by the client that allows the request to be traced through the system. |
Api-Version | string (ApiVersion) Value: "2025-01-28" This header is used to specify the version of the API being requested. If not specied, the latest version would be used. |
Request Body schema: application/jsonrequired
direction required | string (CreatePortingStatus) Value: "in" Porting direction |
country required | string Value: "DE" Porting country |
subscription_id required | string (SubscriptionId) <= 100 characters A string that uniquely identifies a Subscription |
phone_number_id required | string (PhoneNumberId) <= 100 characters A string that uniquely identifies a Phone Number |
msisdn required | string (Msisdn) <= 15 characters The MSISDN of the Phone Number in E.164 format |
required | object (DonorDetails) |
required | object (CreatePortingPreferredSchedule) |
Responses
Request samples
- Payload
{- "direction": "in",
- "country": "DE",
- "subscription_id": "subs_01J9XJ11WTYFWFH5JD2YM1S18S",
- "phone_number_id": "pn_01BX5ZZKBKACTAV9WEVGEMMVL6",
- "msisdn": "+447559451000017",
- "donor_details": {
- "network_operator_id": "nopr_01HV3KWPNRCT870WV3XG41CAT3",
- "service_provider_id": "spro_01HV3KWPNRCT870WV3XG41CAT3",
- "account": {
- "type": "personal"
}
}, - "preferred_schedule": {
- "type": "specific_date",
- "preferred_porting_at": "2024-10-01T14:28:17.456Z"
}
}
Response samples
- 201
- 400
- 5XX
{- "id": "port_01J6HE2DP5M8GKQ9P8R83VQW3J",
- "direction": "in",
- "preferred_schedule": {
- "type": "first_available_date",
- "preferred_porting_at": "2024-08-30T10:42:34.309Z"
}, - "country": "DE",
- "status": "draft",
- "msisdn": "+4912341234123",
- "donor_details": {
- "_embedded": {
- "network_operator": {
- "id": "nopr_01J6795M195EXEECTPY9Y3QD66",
- "name": "Operator Name",
- "trade_name": "Trade Operator Name",
- "country": "DE",
- "status": "active",
- "created_at": "2024-08-30T10:42:34.309Z",
- "updated_at": "2024-08-30T10:42:34.309Z",
- "_links": {
}
}, - "service_provider": {
- "id": "spro_01J6795M195EXEECTPY9Y3QD66",
- "name": "Provider Name",
- "country": "DE",
- "status": "active",
- "created_at": "2024-08-30T10:42:34.309Z",
- "updated_at": "2024-08-30T10:42:34.309Z",
- "_links": {
}
}
}, - "account": {
- "type": "personal"
}
}, - "created_at": "2024-08-30T10:42:34.309Z",
- "updated_at": "2024-08-30T10:42:34.309Z",
- "_links": {
- "subscriber": {
}, - "subscription": {
}, - "phone_number": {
}
}
}
Retrieve a porting
Retrieves a porting
Authorizations:
path Parameters
porting-id required | string (PortingId) <= 100 characters Example: port_01HV3KWPNRCT870WV3XG41CAT3 The resource identifier. |
header Parameters
Correlation-Id | string An unique identifier provided by the client that allows the request to be traced through the system. |
Api-Version | string (ApiVersion) Value: "2025-01-28" This header is used to specify the version of the API being requested. If not specied, the latest version would be used. |
Responses
Response samples
- 200
- 404
- 5XX
{- "id": "port_01J6HE2DP5M8GKQ9P8R83VQW3J",
- "direction": "out",
- "termination_action": "terminate",
- "preferred_schedule": {
- "type": "first_available_date",
- "preferred_porting_at": "2024-08-30T10:42:34.309Z"
}, - "country": "DE",
- "status": "pending",
- "recipient_details": {
- "_embedded": {
- "network_operator": {
- "id": "nopr_01J6795M195EXEECTPY9Y3QD66",
- "name": "Operator Name",
- "trade_name": "Trade Operator Name",
- "country": "DE",
- "status": "active",
- "created_at": "2024-08-30T10:42:34.309Z",
- "updated_at": "2024-08-30T10:42:34.309Z",
- "_links": {
}
}, - "service_provider": {
- "id": "spro_01J6795M195EXEECTPY9Y3QD66",
- "name": "Provider Name",
- "country": "DE",
- "status": "active",
- "created_at": "2024-08-30T10:42:34.309Z",
- "updated_at": "2024-08-30T10:42:34.309Z",
- "_links": {
}
}
}
}, - "created_at": "2024-08-30T10:42:34.309Z",
- "updated_at": "2024-08-30T10:42:34.309Z",
- "_links": {
- "subscriber": {
}, - "subscription": {
}, - "phone_number": {
}
}
}
Accept a porting request
Accept a porting request
Authorizations:
path Parameters
porting-id required | string (PortingId) <= 100 characters Example: port_01HV3KWPNRCT870WV3XG41CAT3 The resource identifier. |
header Parameters
Correlation-Id | string An unique identifier provided by the client that allows the request to be traced through the system. |
Api-Version | string (ApiVersion) Value: "2025-01-28" This header is used to specify the version of the API being requested. If not specied, the latest version would be used. |
Request Body schema: application/jsonrequired
termination_action | string Value: "terminate" The termination action when porting out the number |
Responses
Request samples
- Payload
{- "termination_action": "terminate"
}
Response samples
- 202
- 400
- 5XX
{- "id": "port_01HV3KWPNRCT870WV3XG41CAT3",
- "direction": "in",
- "preferred_schedule": {
- "type": "first_available_date",
- "preferred_porting_at": "2024-10-01T14:28:17.456Z"
}, - "country": "DE",
- "status": "draft",
- "msisdn": "+447559451000017",
- "donor_details": {
- "_embedded": {
- "network_operator": {
- "id": "string",
- "name": "string",
- "status": "active",
- "trade_name": "string",
- "country": "DE",
- "created_at": "2024-10-01T14:28:17.456Z",
- "updated_at": "2024-10-01T14:28:17.456Z",
}, - "service_provider": {
- "id": "string",
- "name": "string",
- "status": "active",
- "country": "DE",
- "created_at": "2024-10-01T14:28:17.456Z",
- "updated_at": "2024-10-01T14:28:17.456Z",
}
}, - "account": {
- "type": "personal"
}
}, - "created_at": "2024-10-01T14:28:17.456Z",
- "updated_at": "2024-10-01T14:28:17.456Z",
- "_links": {
}
}
Rejects a porting request
Rejects a porting request
Authorizations:
path Parameters
porting-id required | string (PortingId) <= 100 characters Example: port_01HV3KWPNRCT870WV3XG41CAT3 The resource identifier. |
header Parameters
Correlation-Id | string An unique identifier provided by the client that allows the request to be traced through the system. |
Api-Version | string (ApiVersion) Value: "2025-01-28" This header is used to specify the version of the API being requested. If not specied, the latest version would be used. |
Request Body schema: application/jsonrequired
reason | string Value: "pre_requirements_not_fulfilled" The rejection reason code |
message | string Additional message explaining the rejection |
Responses
Request samples
- Payload
{- "reason": "pre_requirements_not_fulfilled",
- "message": "string"
}
Response samples
- 202
- 400
- 5XX
{- "id": "port_01HV3KWPNRCT870WV3XG41CAT3",
- "direction": "in",
- "preferred_schedule": {
- "type": "first_available_date",
- "preferred_porting_at": "2024-10-01T14:28:17.456Z"
}, - "country": "DE",
- "status": "draft",
- "msisdn": "+447559451000017",
- "donor_details": {
- "_embedded": {
- "network_operator": {
- "id": "string",
- "name": "string",
- "status": "active",
- "trade_name": "string",
- "country": "DE",
- "created_at": "2024-10-01T14:28:17.456Z",
- "updated_at": "2024-10-01T14:28:17.456Z",
}, - "service_provider": {
- "id": "string",
- "name": "string",
- "status": "active",
- "country": "DE",
- "created_at": "2024-10-01T14:28:17.456Z",
- "updated_at": "2024-10-01T14:28:17.456Z",
}
}, - "account": {
- "type": "personal"
}
}, - "created_at": "2024-10-01T14:28:17.456Z",
- "updated_at": "2024-10-01T14:28:17.456Z",
- "_links": {
}
}
Request cancelation of the porting
Request cancelation of the porting
Authorizations:
path Parameters
porting-id required | string (PortingId) <= 100 characters Example: port_01HV3KWPNRCT870WV3XG41CAT3 The resource identifier. |
header Parameters
Correlation-Id | string An unique identifier provided by the client that allows the request to be traced through the system. |
Api-Version | string (ApiVersion) Value: "2025-01-28" This header is used to specify the version of the API being requested. If not specied, the latest version would be used. |
Request Body schema: application/jsonrequired
reason required | string Value: "user_requested" The request cancelation reason |
message | string |
Responses
Request samples
- Payload
{- "reason": "user_requested",
- "message": "string"
}
Response samples
- 200
- 400
- 5XX
{- "id": "port_01J6HE2DP5M8GKQ9P8R83VQW3J",
- "direction": "in",
- "preferred_schedule": {
- "type": "first_available_date",
- "preferred_porting_at": "2024-08-30T10:42:34.309Z"
}, - "country": "DE",
- "status": "cancelation_requested",
- "msisdn": "+4912341234123",
- "donor_details": {
- "_embedded": {
- "network_operator": {
- "id": "nopr_01J6795M195EXEECTPY9Y3QD66",
- "name": "Operator Name",
- "trade_name": "Trade Operator Name",
- "country": "DE",
- "status": "active",
- "created_at": "2024-08-30T10:42:34.309Z",
- "updated_at": "2024-08-30T10:42:34.309Z",
- "_links": {
}
}, - "service_provider": {
- "id": "spro_01J6795M195EXEECTPY9Y3QD66",
- "name": "Provider Name",
- "country": "DE",
- "status": "active",
- "created_at": "2024-08-30T10:42:34.309Z",
- "updated_at": "2024-08-30T10:42:34.309Z",
- "_links": {
}
}
}, - "account": {
- "type": "personal"
}
}, - "cancelation_deadline_at": "2024-10-01T14:28:17.456Z",
- "scheduled_at": "2024-10-01T14:28:17.456Z",
- "created_at": "2024-08-30T10:42:34.309Z",
- "updated_at": "2024-08-30T10:42:34.309Z",
- "_links": {
- "subscriber": {
}, - "subscription": {
}, - "phone_number": {
}
}
}
Accept a porting cancelation request
Accepts a porting cancelation request
Authorizations:
path Parameters
porting-id required | string (PortingId) <= 100 characters Example: port_01HV3KWPNRCT870WV3XG41CAT3 The resource identifier. |
header Parameters
Correlation-Id | string An unique identifier provided by the client that allows the request to be traced through the system. |
Api-Version | string (ApiVersion) Value: "2025-01-28" This header is used to specify the version of the API being requested. If not specied, the latest version would be used. |
Request Body schema: application/jsonrequired
message | string |
Responses
Request samples
- Payload
{- "message": "string"
}
Response samples
- 202
- 400
- 5XX
{- "id": "port_01HV3KWPNRCT870WV3XG41CAT3",
- "direction": "in",
- "preferred_schedule": {
- "type": "first_available_date",
- "preferred_porting_at": "2024-10-01T14:28:17.456Z"
}, - "country": "DE",
- "status": "draft",
- "msisdn": "+447559451000017",
- "donor_details": {
- "_embedded": {
- "network_operator": {
- "id": "string",
- "name": "string",
- "status": "active",
- "trade_name": "string",
- "country": "DE",
- "created_at": "2024-10-01T14:28:17.456Z",
- "updated_at": "2024-10-01T14:28:17.456Z",
}, - "service_provider": {
- "id": "string",
- "name": "string",
- "status": "active",
- "country": "DE",
- "created_at": "2024-10-01T14:28:17.456Z",
- "updated_at": "2024-10-01T14:28:17.456Z",
}
}, - "account": {
- "type": "personal"
}
}, - "created_at": "2024-10-01T14:28:17.456Z",
- "updated_at": "2024-10-01T14:28:17.456Z",
- "_links": {
}
}
Rejects a porting cancelation request
Rejects a porting cancelation request
Authorizations:
path Parameters
porting-id required | string (PortingId) <= 100 characters Example: port_01HV3KWPNRCT870WV3XG41CAT3 The resource identifier. |
header Parameters
Correlation-Id | string An unique identifier provided by the client that allows the request to be traced through the system. |
Api-Version | string (ApiVersion) Value: "2025-01-28" This header is used to specify the version of the API being requested. If not specied, the latest version would be used. |
Request Body schema: application/jsonrequired
reason | string Value: "cancelation_too_late" The reject cancelation reason |
message | string |
Responses
Request samples
- Payload
{- "reason": "cancelation_too_late",
- "message": "string"
}
Response samples
- 202
- 400
- 5XX
{- "id": "port_01HV3KWPNRCT870WV3XG41CAT3",
- "direction": "in",
- "preferred_schedule": {
- "type": "first_available_date",
- "preferred_porting_at": "2024-10-01T14:28:17.456Z"
}, - "country": "DE",
- "status": "draft",
- "msisdn": "+447559451000017",
- "donor_details": {
- "_embedded": {
- "network_operator": {
- "id": "string",
- "name": "string",
- "status": "active",
- "trade_name": "string",
- "country": "DE",
- "created_at": "2024-10-01T14:28:17.456Z",
- "updated_at": "2024-10-01T14:28:17.456Z",
}, - "service_provider": {
- "id": "string",
- "name": "string",
- "status": "active",
- "country": "DE",
- "created_at": "2024-10-01T14:28:17.456Z",
- "updated_at": "2024-10-01T14:28:17.456Z",
}
}, - "account": {
- "type": "personal"
}
}, - "created_at": "2024-10-01T14:28:17.456Z",
- "updated_at": "2024-10-01T14:28:17.456Z",
- "_links": {
}
}
List all Product Catalogs
Returns a list of product catalogs
Authorizations:
query Parameters
cursor | string (Cursor) A base64 encoded string that uniquely identifies the first entry of a query result. |
limit | integer <int32> (Limit) [ 1 .. 40 ] Default: 10 The page size filter |
name | string The product catalog name |
header Parameters
Correlation-Id | string An unique identifier provided by the client that allows the request to be traced through the system. |
Api-Version | string (ApiVersion) Value: "2025-01-28" This header is used to specify the version of the API being requested. If not specied, the latest version would be used. |
Responses
Response samples
- 200
- 400
- 5XX
{- "_embedded": {
- "product_catalogs": [
- {
- "id": "prdcat_92BX5ZZKBKGCTAV9WEVGEMMVRY",
- "name": "Generic Product Catalog",
- "created_at": "2021-03-01T14:28:17.967Z",
- "updated_at": "2022-03-01T16:23:10.445Z",
- "_links": {
- "self": {
}, - "product-offerings": {
}
}
}
]
}, - "_links": {
}
}
Retrieve a Product Catalog
Retrieves the details of a product catalog
Authorizations:
path Parameters
product-catalog-id required | string (ProductCatalogId) <= 100 characters Example: prdcat_01BX5ZZKBKACTAV9WEVGEMMVRY An identifier of the product catalog. |
header Parameters
Correlation-Id | string An unique identifier provided by the client that allows the request to be traced through the system. |
Api-Version | string (ApiVersion) Value: "2025-01-28" This header is used to specify the version of the API being requested. If not specied, the latest version would be used. |
Responses
Response samples
- 200
- 404
- 5XX
{- "id": "prdcat_01BX5ZZKBKACTAV9WEVGEMMVRY",
- "name": "Global Product Catalog",
- "created_at": "2021-02-01T14:28:17.967Z",
- "updated_at": "2022-02-05T08:23:14.345Z",
- "_links": {
- "self": {
}, - "product-offerings": {
}
}
}
List all Product Offerings of a Product Catalog
Returns a list of product offerings from a specific product catalog
Authorizations:
path Parameters
product-catalog-id required | string (ProductCatalogId) <= 100 characters Example: prdcat_01BX5ZZKBKACTAV9WEVGEMMVRY An identifier of the product catalog. |
query Parameters
status | string (ProductOfferingStatus) Enum: "active" "inactive" The Product Offering status |
type | string (ProductOfferingType) Enum: "plan" "addon" The Product Offering type |
allowances[coverage-area][countries] | string (AllowancesCountries) Example: allowances[coverage-area][countries]=GB,FR The Allowance Countries. |
cursor | string (Cursor) A base64 encoded string that uniquely identifies the first entry of a query result. |
limit | integer <int32> (Limit) [ 1 .. 40 ] Default: 10 The page size filter |
header Parameters
Correlation-Id | string An unique identifier provided by the client that allows the request to be traced through the system. |
Api-Version | string (ApiVersion) Value: "2025-01-28" This header is used to specify the version of the API being requested. If not specied, the latest version would be used. |
Responses
Response samples
- 200
- 400
- 404
- 5XX
{- "_embedded": {
- "product_offerings": [
- {
- "id": "prdoff_01J83E2WMQBDBEK70SX0N5RJ1P",
- "name": "Local Portugal - 1 Day",
- "created_at": "2024-09-18T20:44:51.223Z",
- "updated_at": "2024-09-18T21:50:51.233Z",
- "status": "active",
- "type": "addon",
- "availability": {
- "start_at": "2024-09-18T19:59:56.000Z",
- "end_at": "2025-09-18T19:59:56.000Z"
}, - "validity": {
- "type": "duration",
- "unit": "month",
- "unit_count": 1,
- "is_recurrent": false
}, - "_embedded": {
- "allowances": [
- {
- "type": "data",
- "unit": "gigabytes",
- "unit_count": 100,
- "is_unlimited": false,
- "_embedded": {
- "coverage_area": {
- "id": "cov_01J83E2VNKR4GD78MF1R43YWTK",
- "name": "Portugal",
- "type": "local",
- "created_at": "2024-09-18T20:44:50.227Z",
- "updated_at": "2024-09-18T20:44:50.227Z",
- "countries": [
- "PT"
], - "_links": {
}
}
}
}
], - "prices": [
- {
- "type": "recurring",
- "unit_amount": 50,
- "currency": "EUR",
- "recurrence": {
- "unit": "month",
- "unit_count": 3
}
}
]
}, - "_links": {
}
}, - {
- "id": "prdoff_01J83E2WMQBDBEK70SX0N5R4GL",
- "name": "Local Spain - 1 Day",
- "created_at": "2024-09-18T20:44:51.223Z",
- "updated_at": "2024-09-24T08:00:34.123Z",
- "status": "active",
- "type": "addon",
- "availability": {
- "start_at": "2024-09-18T19:59:56.000Z",
- "end_at": "2025-09-18T19:59:56.000Z"
}, - "validity": {
- "type": "duration",
- "unit": "month",
- "unit_count": 1,
- "is_recurrent": false
}, - "_embedded": {
- "allowances": [
- {
- "type": "data",
- "unit": "gigabytes",
- "unit_count": 80,
- "is_unlimited": false,
- "_embedded": {
- "coverage_area": {
- "id": "cov_01J83E2VNKR4GD78MF1R43YIW3",
- "name": "Spain",
- "type": "local",
- "created_at": "2024-01-14T20:44:50.098Z",
- "countries": [
- "ES"
], - "_links": {
}
}
}
}
], - "prices": [
- {
- "type": "one_time",
- "unit_amount": 100,
- "currency": "EUR"
}
]
}, - "_links": {
}
}
]
}, - "_links": {
}
}
Product Offerings are blueprints for Products. You can access your Product Offerings via a single request. Lists all product offerings endpoint will show you the complete list of products and their respective Ids, which can be used in an order to activate/topup eSIM profiles.
Lists all Product Offerings
Returns a list of product offerings
Authorizations:
query Parameters
status | string (ProductOfferingStatus) Enum: "active" "inactive" The Product Offering status |
type | string (ProductOfferingType) Enum: "plan" "addon" The Product Offering type |
allowances[coverage-area][countries] | string (AllowancesCountries) Example: allowances[coverage-area][countries]=GB,FR The Allowance Countries. |
cursor | string (Cursor) A base64 encoded string that uniquely identifies the first entry of a query result. |
limit | integer <int32> (Limit) [ 1 .. 40 ] Default: 10 The page size filter |
header Parameters
Correlation-Id | string An unique identifier provided by the client that allows the request to be traced through the system. |
Api-Version | string (ApiVersion) Value: "2025-01-28" This header is used to specify the version of the API being requested. If not specied, the latest version would be used. |
Responses
Response samples
- 200
- 400
- 5XX
{- "_embedded": {
- "product_offerings": [
- {
- "id": "prdoff_01J83E2WMQBDBEK70SX0N5RJ1P",
- "name": "Local Portugal - 1 Day",
- "created_at": "2024-09-18T20:44:51.223Z",
- "updated_at": "2024-09-18T21:50:51.233Z",
- "status": "active",
- "type": "addon",
- "availability": {
- "start_at": "2024-09-18T19:59:56.000Z",
- "end_at": "2025-09-18T19:59:56.000Z"
}, - "validity": {
- "type": "duration",
- "unit": "month",
- "unit_count": 1,
- "is_recurrent": false
}, - "_embedded": {
- "allowances": [
- {
- "type": "data",
- "unit": "gigabytes",
- "unit_count": 100,
- "is_unlimited": false,
- "_embedded": {
- "coverage_area": {
- "id": "cov_01J83E2VNKR4GD78MF1R43YWTK",
- "name": "Portugal",
- "type": "local",
- "created_at": "2024-09-18T20:44:50.227Z",
- "updated_at": "2024-09-18T20:44:50.227Z",
- "countries": [
- "PT"
], - "_links": {
}
}
}
}
], - "prices": [
- {
- "type": "recurring",
- "unit_amount": 50,
- "currency": "EUR",
- "recurrence": {
- "unit": "month",
- "unit_count": 3
}
}
]
}, - "_links": {
}
}, - {
- "id": "prdoff_01J83E2WMQBDBEK70SX0N5R4GL",
- "name": "Local Spain - 1 Day",
- "created_at": "2024-09-18T20:44:51.223Z",
- "updated_at": "2024-09-24T08:00:34.123Z",
- "status": "active",
- "type": "addon",
- "availability": {
- "start_at": "2024-09-18T19:59:56.000Z",
- "end_at": "2025-09-18T19:59:56.000Z"
}, - "validity": {
- "type": "duration",
- "unit": "month",
- "unit_count": 1,
- "is_recurrent": false
}, - "_embedded": {
- "allowances": [
- {
- "type": "data",
- "unit": "gigabytes",
- "unit_count": 80,
- "is_unlimited": false,
- "_embedded": {
- "coverage_area": {
- "id": "cov_01J83E2VNKR4GD78MF1R43YIW3",
- "name": "Spain",
- "type": "local",
- "created_at": "2024-01-14T20:44:50.098Z",
- "countries": [
- "ES"
], - "_links": {
}
}
}
}
], - "prices": [
- {
- "type": "one_time",
- "unit_amount": 100,
- "currency": "EUR"
}
]
}, - "_links": {
}
}
]
}, - "_links": {
}
}
Retrieve a Product Offering
Retrieves the details of an existing product offering
Authorizations:
path Parameters
product-offering-id required | string (ProductOfferingId) <= 100 characters Example: prdoff_01HV483CD6YFTW68D18V23Y8NJ An identifier of the product offering. |
header Parameters
Correlation-Id | string An unique identifier provided by the client that allows the request to be traced through the system. |
Api-Version | string (ApiVersion) Value: "2025-01-28" This header is used to specify the version of the API being requested. If not specied, the latest version would be used. |
Responses
Response samples
- 200
- 404
- 5XX
{- "id": "prdoff_01J83E2WMQBDBEK70SX0N5RJ1P",
- "name": "Addon - Local Portugal - 1 Day",
- "created_at": "2024-09-18T20:44:51.223Z",
- "updated_at": "2024-09-18T21:34:02.456Z",
- "status": "active",
- "type": "addon",
- "availability": {
- "start_at": "2024-09-18T19:59:56.000Z",
- "end_at": "2025-09-18T19:59:56.000Z"
}, - "validity": {
- "type": "duration",
- "unit": "day",
- "unit_count": 1,
- "is_recurrent": false
}, - "_embedded": {
- "allowances": [
- {
- "type": "data",
- "unit": "gigabytes",
- "unit_count": 70,
- "is_unlimited": false,
- "_embedded": {
- "coverage_area": {
- "id": "cov_01J83E2VNKR4GD78MF1R43YWTK",
- "name": "Portugal",
- "type": "local",
- "created_at": "2024-09-18T20:44:50.227Z",
- "updated_at": "2024-09-18T21:23:10.000Z",
- "countries": [
- "PT"
], - "_links": {
}
}
}
}
], - "prices": [
- {
- "type": "one_time",
- "unit_amount": 100,
- "currency": "EUR"
}
]
}, - "_links": {
}
}
Lists all compatible Product Offerings
Returns a list of product offerings compatible with this one
Authorizations:
path Parameters
product-offering-id required | string (ProductOfferingId) <= 100 characters Example: prdoff_01HV483CD6YFTW68D18V23Y8NJ An identifier of the product offering. |
query Parameters
cursor | string (Cursor) A base64 encoded string that uniquely identifies the first entry of a query result. |
limit | integer <int32> (Limit) [ 1 .. 40 ] Default: 10 The page size filter |
header Parameters
Correlation-Id | string An unique identifier provided by the client that allows the request to be traced through the system. |
Api-Version | string (ApiVersion) Value: "2025-01-28" This header is used to specify the version of the API being requested. If not specied, the latest version would be used. |
Responses
Response samples
- 200
- 404
- 5XX
{- "_embedded": {
- "product_offerings": [
- {
- "id": "prdoff_01J83E2WMQBDBEK70SX0N5RJ1P",
- "name": "Local Portugal - 1 Day",
- "created_at": "2024-09-18T20:44:51.223Z",
- "updated_at": "2024-09-18T21:50:51.233Z",
- "status": "active",
- "type": "addon",
- "availability": {
- "start_at": "2024-09-18T19:59:56.000Z",
- "end_at": "2025-09-18T19:59:56.000Z"
}, - "validity": {
- "type": "duration",
- "unit": "month",
- "unit_count": 1,
- "is_recurrent": false
}, - "_embedded": {
- "allowances": [
- {
- "type": "data",
- "unit": "gigabytes",
- "unit_count": 100,
- "is_unlimited": false,
- "_embedded": {
- "coverage_area": {
- "id": "cov_01J83E2VNKR4GD78MF1R43YWTK",
- "name": "Portugal",
- "type": "local",
- "created_at": "2024-09-18T20:44:50.227Z",
- "updated_at": "2024-09-18T20:44:50.227Z",
- "countries": [
- "PT"
], - "_links": {
}
}
}
}
], - "prices": [
- {
- "type": "recurring",
- "unit_amount": 50,
- "currency": "EUR",
- "recurrence": {
- "unit": "month",
- "unit_count": 3
}
}
]
}, - "_links": {
}
}, - {
- "id": "prdoff_01J83E2WMQBDBEK70SX0N5R4GL",
- "name": "Local Spain - 1 Day",
- "created_at": "2024-09-18T20:44:51.223Z",
- "updated_at": "2024-09-24T08:00:34.123Z",
- "status": "active",
- "type": "addon",
- "availability": {
- "start_at": "2024-09-18T19:59:56.000Z",
- "end_at": "2025-09-18T19:59:56.000Z"
}, - "validity": {
- "type": "duration",
- "unit": "month",
- "unit_count": 1,
- "is_recurrent": false
}, - "_embedded": {
- "allowances": [
- {
- "type": "data",
- "unit": "gigabytes",
- "unit_count": 80,
- "is_unlimited": false,
- "_embedded": {
- "coverage_area": {
- "id": "cov_01J83E2VNKR4GD78MF1R43YIW3",
- "name": "Spain",
- "type": "local",
- "created_at": "2024-01-14T20:44:50.098Z",
- "countries": [
- "ES"
], - "_links": {
}
}
}
}
], - "prices": [
- {
- "type": "one_time",
- "unit_amount": 100,
- "currency": "EUR"
}
]
}, - "_links": {
}
}
]
}, - "_links": {
}
}
A Product is an instance of the Product Offering that has been ordered & provisioned. Products are created by placing a new Order and always have a Product Offering.
List all products
Returns a list of products
Authorizations:
query Parameters
limit | integer <int32> (Limit) [ 1 .. 40 ] Default: 10 The page size filter |
cursor | string (Cursor) A base64 encoded string that uniquely identifies the first entry of a query result. |
status | string (ProductStatus) Enum: "active" "scheduled" "pending_first_usage" "expired" "terminated" "depleted" "canceled" The product status |
subscription-id | string (SubscriptionId) <= 100 characters Example: subscription-id=subs_01J9XJ11WTYFWFH5JD2YM1S18S A string that uniquely identifies a Subscription |
order-id | string (OrderId) <= 100 characters Example: order-id=ord_01HV3KWPNRCT870WV3XG41CAT3 An identifier of the order. |
header Parameters
Correlation-Id | string An unique identifier provided by the client that allows the request to be traced through the system. |
Api-Version | string (ApiVersion) Value: "2025-01-28" This header is used to specify the version of the API being requested. If not specied, the latest version would be used. |
Responses
Response samples
- 200
- 400
- 5XX
{- "_embedded": {
- "products": [
- {
- "id": "prd_01J7ZWP2Q7C2VJRAPW5D62GQEH",
- "status": "active",
- "created_at": "2024-09-17T11:43:02.375Z",
- "start_at": "2024-09-17T11:43:03.579Z",
- "started_at": "2024-09-17T11:43:03.475Z",
- "end_at": "2024-10-17T11:43:03.579Z",
- "_embedded": {
- "product_offering": {
- "id": "prdoff_01J7ZWNYNYVJYKWGJR98FA3NZS",
- "name": "Local Germany 1 Month 500 MB",
- "type": "addon",
- "validity": {
- "type": "duration",
- "unit": "month",
- "unit_count": 1,
- "is_recurrent": false
}, - "_embedded": {
- "allowances": [
- {
- "type": "data",
- "unit": "megabytes",
- "unit_count": 500,
- "is_unlimited": false,
- "_embedded": {
- "coverage_area": {
- "id": "cov_01J7ZWNXBNSHG0Q0RWERPP5QDW",
- "name": "Germany",
- "type": "local",
- "created_at": "2024-09-17T11:42:56.875Z",
- "updated_at": "2024-09-17T14:45:03.234Z",
- "countries": [
- "DE"
], - "_links": {
}
}
}
}
]
}, - "_links": {
}
}, - "balances": [
- {
- "type": "limited",
- "allowance_type": "data",
- "unit": "bytes",
- "initial": 524288000,
- "remaining": 512154000,
- "spent": 12134000
}
], - "prices": [
- {
- "type": "one_time",
- "unit_amount": 1,
- "currency": "EUR"
}
]
}, - "_links": {
- "subscription": {
}, - "cancel": {
}
}
}, - {
- "id": "prd_01J82FWNGE033C2DEMCRPY1427",
- "status": "canceled",
- "created_at": "2024-09-18T11:57:10.029Z",
- "expire_at": "2025-09-18T11:57:08.570Z",
- "ended_at": "2024-09-25T12:10:40.218Z",
- "_embedded": {
- "product_offering": {
- "id": "prdoff_01J8091PFJ4XWGXW5VN6T6JV3A",
- "name": "Local Zimbabwe - 7 Days",
- "type": "addon",
- "validity": {
- "type": "duration",
- "unit": "day",
- "unit_count": 7,
- "is_recurrent": false
}, - "_embedded": {
- "allowances": [
- {
- "type": "data",
- "unit": "gigabytes",
- "unit_count": 1,
- "is_unlimited": false,
- "_embedded": {
- "coverage_area": {
- "id": "cov_01J8091P6TD2DT8R1VYEADGXSJ",
- "name": "Zimbabwe",
- "type": "local",
- "created_at": "2024-09-17T15:19:05.690Z",
- "updated_at": "2024-09-17T14:45:03.234Z",
- "countries": [
- "ZW"
], - "_links": {
}
}
}
}
]
}, - "_links": {
}
}, - "balances": [
- {
- "type": "limited",
- "allowance_type": "data",
- "unit": "bytes",
- "initial": 1073741824,
- "remaining": 1073741824,
- "spent": 0
}
], - "prices": [
- {
- "type": "one_time",
- "unit_amount": 1,
- "currency": "USD"
}
]
}, - "_links": {
- "subscription": {
}
}
}
]
}, - "_links": {
}
}
Retrieve a product
Retrieves the details of an existing product
Authorizations:
path Parameters
product-id required | string (ProductId) <= 100 characters Example: prd_01BX5ZZKBKACTAV9WEVGEMMVRY An identifier of the product. |
header Parameters
Correlation-Id | string An unique identifier provided by the client that allows the request to be traced through the system. |
Api-Version | string (ApiVersion) Value: "2025-01-28" This header is used to specify the version of the API being requested. If not specied, the latest version would be used. |
Responses
Response samples
- 200
- 404
- 5XX
{- "id": "prd_01J7ZWP2Q7C2VJRAPW5D62GQEH",
- "status": "active",
- "created_at": "2024-09-17T11:43:02.023",
- "start_at": "2024-09-17T11:43:03.579Z",
- "started_at": "2024-09-17T11:43:04.375Z",
- "end_at": "2024-10-17T11:43:01.579Z",
- "_embedded": {
- "product_offering": {
- "id": "prdoff_01J7ZWNYNYVJYKWGJR98FA3NZS",
- "name": "Local Germany 1 Month 500 MB",
- "type": "addon",
- "validity": {
- "type": "duration",
- "unit": "month",
- "unit_count": 1,
- "is_recurrent": false
}, - "_embedded": {
- "allowances": [
- {
- "type": "data",
- "unit": "megabytes",
- "unit_count": 500,
- "is_unlimited": false,
- "_embedded": {
- "coverage_area": {
- "id": "cov_01J7ZWNXBNSHG0Q0RWERPP5QDW",
- "name": "Germany",
- "type": "local",
- "created_at": "2024-09-17T11:42:56.875Z",
- "updated_at": "2024-09-17T14:45:03.234Z",
- "countries": [
- "DE"
], - "_links": {
}
}
}
}
]
}, - "_links": {
}
}, - "balances": [
- {
- "type": "limited",
- "allowance_type": "data",
- "unit": "bytes",
- "initial": 524288000,
- "remaining": 512154000,
- "spent": 12134000
}
], - "prices": [
- {
- "type": "one_time",
- "unit_amount": 1,
- "currency": "EUR"
}
]
}, - "_links": {
- "subscription": {
}, - "cancel": {
}
}
}
Activate a Product
Activates a product. Only products in status scheduled or pending first usage can be activated.
Authorizations:
path Parameters
product-id required | string (ProductId) <= 100 characters Example: prd_01BX5ZZKBKACTAV9WEVGEMMVRY An identifier of the product. |
header Parameters
Correlation-Id | string An unique identifier provided by the client that allows the request to be traced through the system. |
Api-Version | string (ApiVersion) Value: "2025-01-28" This header is used to specify the version of the API being requested. If not specied, the latest version would be used. |
Responses
Response samples
- 200
- 404
- 5XX
{- "id": "prd_01J7ZWP2Q7C2VJRAPW5D62GQEH",
- "status": "active",
- "created_at": "2024-09-17T11:43:02.023",
- "start_at": "2024-09-17T11:43:03.579Z",
- "started_at": "2024-09-17T11:43:04.375Z",
- "end_at": "2024-10-17T11:43:01.579Z",
- "_embedded": {
- "product_offering": {
- "id": "prdoff_01J7ZWNYNYVJYKWGJR98FA3NZS",
- "name": "Local Germany 1 Month 500 MB",
- "type": "addon",
- "validity": {
- "type": "duration",
- "unit": "month",
- "unit_count": 1,
- "is_recurrent": false
}, - "_embedded": {
- "allowances": [
- {
- "type": "data",
- "unit": "megabytes",
- "unit_count": 500,
- "is_unlimited": false,
- "_embedded": {
- "coverage_area": {
- "id": "cov_01J7ZWNXBNSHG0Q0RWERPP5QDW",
- "name": "Germany",
- "type": "local",
- "created_at": "2024-09-17T11:42:56.875Z",
- "updated_at": "2024-09-17T14:45:03.234Z",
- "countries": [
- "DE"
], - "_links": {
}
}
}
}
]
}, - "_links": {
}
}, - "balances": [
- {
- "type": "limited",
- "allowance_type": "data",
- "unit": "bytes",
- "initial": 524288000,
- "remaining": 512154000,
- "spent": 12134000
}
], - "prices": [
- {
- "type": "one_time",
- "unit_amount": 1,
- "currency": "EUR"
}
]
}, - "_links": {
- "subscription": {
}, - "cancel": {
}
}
}
Cancel a Product
Cancels a product. Only products in status active, scheduled or pending first usage can be canceled.
Authorizations:
path Parameters
product-id required | string (ProductId) <= 100 characters Example: prd_01BX5ZZKBKACTAV9WEVGEMMVRY An identifier of the product. |
header Parameters
Correlation-Id | string An unique identifier provided by the client that allows the request to be traced through the system. |
Api-Version | string (ApiVersion) Value: "2025-01-28" This header is used to specify the version of the API being requested. If not specied, the latest version would be used. |
Request Body schema: application/jsonrequired
cancellation_mode required | string Enum: "immediate" "end_of_cycle" The mode of cancellation |
Responses
Request samples
- Payload
{- "cancellation_mode": "immediate"
}
Response samples
- 200
- 404
- 5XX
{- "id": "prd_01J82FWNGE033C2DEMCRPY1427",
- "status": "canceled",
- "created_at": "2024-09-18T11:57:10.029Z",
- "expire_at": "2025-09-18T11:57:08.570Z",
- "ended_at": "2024-09-19T12:10:40.218Z",
- "_embedded": {
- "product_offering": {
- "id": "prdoff_01J8091PFJ4XWGXW5VN6T6JV3A",
- "name": "Local Zimbabwe - 7 Days",
- "type": "addon",
- "validity": {
- "type": "duration",
- "unit": "day",
- "unit_count": 7,
- "is_recurrent": false
}, - "_embedded": {
- "allowances": [
- {
- "type": "data",
- "unit": "gigabytes",
- "unit_count": 1,
- "is_unlimited": false,
- "_embedded": {
- "coverage_area": {
- "id": "cov_01J8091P6TD2DT8R1VYEADGXSJ",
- "name": "Zimbabwe",
- "type": "local",
- "created_at": "2024-09-17T15:19:05.690Z",
- "updated_at": "2024-09-17T14:45:03.234Z",
- "countries": [
- "ZW"
], - "_links": {
}
}
}
}
]
}, - "_links": {
}
}, - "balances": [
- {
- "type": "limited",
- "allowance_type": "data",
- "unit": "bytes",
- "initial": 1073741824,
- "remaining": 1073741824,
- "spent": 0
}
], - "prices": [
- {
- "type": "one_time",
- "unit_amount": 1,
- "currency": "USD"
}
]
}, - "_links": {
- "subscription": {
}
}
}
List all service-provider
Returns a list of service-provider
Authorizations:
query Parameters
limit | integer <int32> (Limit) [ 1 .. 40 ] Default: 10 The page size filter |
cursor | string (Cursor) A base64 encoded string that uniquely identifies the first entry of a query result. |
country | |
status | string (ServiceProviderStatus) Enum: "active" "inactive" |
header Parameters
Correlation-Id | string An unique identifier provided by the client that allows the request to be traced through the system. |
Api-Version | string (ApiVersion) Value: "2025-01-28" This header is used to specify the version of the API being requested. If not specied, the latest version would be used. |
Responses
Response samples
- 200
- 400
- 5XX
{- "_embedded": {
- "service_providers": [
- {
- "id": "spro_01J6795M195EXEECTPY9Y3QD66",
- "name": "Truphone",
- "country": "DE",
- "status": "active",
- "created_at": "2024-08-30T10:42:34.309Z",
- "updated_at": "2024-08-30T10:42:34.309Z",
- "_links": {
}
}, - {
- "id": "spro_01JGYX8WRXYFT2GX3MVAKG8NPZ",
- "name": "1&1 Internet AG",
- "country": "DE",
- "status": "active",
- "created_at": "2024-08-30T10:42:34.309Z",
- "updated_at": "2024-08-30T10:42:34.309Z",
- "_links": {
}
}
]
}, - "_links": {
}
}
Get a service-provider by id
Get a service-provider by id
Authorizations:
path Parameters
service-provider-id required | string (ServiceProviderId) <= 100 characters Example: spro_01HV3KWPNRCT870WV3XG41CAT3 The resource identifier. |
header Parameters
Correlation-Id | string An unique identifier provided by the client that allows the request to be traced through the system. |
Api-Version | string (ApiVersion) Value: "2025-01-28" This header is used to specify the version of the API being requested. If not specied, the latest version would be used. |
Responses
Response samples
- 200
- 404
- 5XX
{- "id": "spro_01HV3KWPNRCT870WV3XG41CAT3",
- "name": "T-Mobile",
- "country": "DE",
- "status": "active",
- "created_at": "2024-10-01T14:28:17.456Z",
- "updated_at": "2024-10-01T14:28:17.456Z",
- "_links": {
}
}
Creates a new Subscriber
Authorizations:
header Parameters
Correlation-Id | string An unique identifier provided by the client that allows the request to be traced through the system. |
Api-Version | string (ApiVersion) Value: "2025-01-28" This header is used to specify the version of the API being requested. If not specied, the latest version would be used. |
Request Body schema: application/jsonrequired
account_id required | string (AccountId) <= 100 characters A string that uniquely identifies an Account |
locale | string The locale to be associated on the subscriber, if no value is passed it sets the default one 'en-GB' |
first_name required | string The Subscriber's first name |
last_name required | string The Subscriber's last name |
email required | string The Subscriber's email |
required | GlobalAddress (object) or NAAddress (object) (Address) |
birth_date | string <date> (SubscriberBirthDate) The Subscriber's birthdate. Depending on the country the field might be required. |
Responses
Request samples
- Payload
{- "account_id": "acc_01HRC2T6WK4CMVGFXA2RESTQ97",
- "first_name": "John",
- "last_name": "Doe",
- "email": "john.doe@dummy.com",
- "address": {
- "line1": "123 Main St",
- "line2": "Apt 4B",
- "city": "Los Angeles",
- "country": "US",
- "state": "CA",
- "postal_code": "90001"
}, - "birth_date": "2074-04-12",
- "locale": "en-GB"
}
Response samples
- 201
- 400
- 5XX
{- "id": "subr_01HRC2T6WK4CMVGFXA2RESTQ97",
- "created_at": "2023-01-01T00:00:00Z",
- "updated_at": "2023-05-21T00:00:00Z",
- "first_name": "John",
- "last_name": "Doe",
- "email": "john.doe@dummy.com",
- "locale": "en-GB",
- "address": {
- "line1": "123 Main St",
- "line2": "Apt 4B",
- "city": "Los Angeles",
- "country": "US",
- "state": "CA",
- "postal_code": "90001"
}, - "birth_date": "2073-06-01",
- "_embedded": {
- "account": {
- "id": "acc_01HRC2T6WK4CMVGFXA2RESTQ97",
- "_links": {
}
}
}, - "_links": {
- "subscriptions": {
}
}
}
List all subscribers
Returns a list of subscribers
Authorizations:
query Parameters
cursor | string (Cursor) A base64 encoded string that uniquely identifies the first entry of a query result. |
limit | integer <int32> (Limit) [ 1 .. 40 ] Default: 10 The page size filter |
header Parameters
Correlation-Id | string An unique identifier provided by the client that allows the request to be traced through the system. |
Api-Version | string (ApiVersion) Value: "2025-01-28" This header is used to specify the version of the API being requested. If not specied, the latest version would be used. |
Responses
Response samples
- 200
- 400
- 5XX
{- "_embedded": {
- "subscribers": [
- {
- "id": "subr_01HRC2T6WK4CMVGFXA2RESTQ97",
- "created_at": "2023-01-01T00:00:00Z",
- "updated_at": "2023-05-21T00:00:00Z",
- "first_name": "John",
- "last_name": "Doe",
- "email": "john.doe@dummy.com",
- "address": {
- "line1": "123 Main St",
- "line2": "Apt 4B",
- "city": "Los Angeles",
- "country": "US",
- "state": "CA",
- "postal_code": "90001"
}, - "locale": "en-GB",
- "_embedded": {
- "account": {
- "id": "acc_01HRC2T6WK4CMVGFXA2RESTQ97",
- "_links": {
}
}
}, - "_links": {
- "subscriptions": {
}
}
}, - {
- "id": "subr_02HRC2T6WK4CMVGFXA2RESTQ98",
- "created_at": "2023-02-01T00:00:00Z",
- "updated_at": "2023-06-21T00:00:00Z",
- "first_name": "Maria",
- "last_name": "Silva",
- "email": "maria.silva@dummy.com",
- "address": {
- "line1": "Avenida da Boavista 345",
- "line2": "3 Esq",
- "city": "Porto",
- "country": "PT",
- "postal_code": "1000-001"
}, - "birth_date": "2077-04-23",
- "locale": "en-GB",
- "_embedded": {
- "account": {
- "id": "acc_01HRC2T6WK4CMVGFXA2RESTQ97",
- "_links": {
}
}
}, - "_links": {
- "subscriptions": {
}
}
}
]
}, - "_links": {
}
}
Retrieve a subscriber
Retrieves the details of an existing subscriber
Authorizations:
path Parameters
subscriber-id required | string (SubscriberId) <= 100 characters Example: subr_01HRC2T6WK4CMVGFXA2RESTQ97 An identifier of the subscriber. |
header Parameters
Correlation-Id | string An unique identifier provided by the client that allows the request to be traced through the system. |
Api-Version | string (ApiVersion) Value: "2025-01-28" This header is used to specify the version of the API being requested. If not specied, the latest version would be used. |
Responses
Response samples
- 200
- 400
- 404
- 5XX
{- "id": "subr_01HRC2T6WK4CMVGFXA2RESTQ97",
- "created_at": "2023-01-01T00:00:00Z",
- "updated_at": "2023-05-21T00:00:00Z",
- "first_name": "John",
- "last_name": "Doe",
- "email": "john.doe@dummy.com",
- "locale": "en-GB",
- "address": {
- "line1": "123 Main St",
- "line2": "Apt 4B",
- "city": "Los Angeles",
- "country": "US",
- "state": "CA",
- "postal_code": "90001"
}, - "birth_date": "2073-06-01",
- "_embedded": {
- "account": {
- "id": "acc_01HRC2T6WK4CMVGFXA2RESTQ97",
- "_links": {
}
}
}, - "_links": {
- "subscriptions": {
}
}
}
Updates a Subscriber
Updates an existing Subscriber
Authorizations:
path Parameters
subscriber-id required | string (SubscriberId) <= 100 characters Example: subr_01HRC2T6WK4CMVGFXA2RESTQ97 An identifier of the subscriber. |
header Parameters
Correlation-Id | string An unique identifier provided by the client that allows the request to be traced through the system. |
Api-Version | string (ApiVersion) Value: "2025-01-28" This header is used to specify the version of the API being requested. If not specied, the latest version would be used. |
Request Body schema: application/jsonrequired
locale | string The locale to be associated on the subscriber, if no value is passed it sets the default one 'en-GB' |
first_name | string The Subscriber's first name |
last_name | string The Subscriber's last name |
string The Subscriber's email | |
object (AddressNonRequired) The Subscriber's address | |
birth_date | string <date> (SubscriberBirthDate) The Subscriber's birthdate. Depending on the country the field might be required. |
Responses
Request samples
- Payload
{- "first_name": "John",
- "last_name": "Doe",
- "email": "john.doe@dummy.com",
- "address": {
- "line1": "123 Main St",
- "line2": "Apt 4B",
- "city": "Los Angeles",
- "country": "US",
- "state": "CA",
- "postal_code": "90001"
}, - "birth_date": "2074-04-12",
- "locale": "en-GB"
}
Response samples
- 200
- 400
- 404
- 5XX
{- "id": "subr_01HRC2T6WK4CMVGFXA2RESTQ97",
- "created_at": "2023-01-01T00:00:00Z",
- "updated_at": "2023-05-21T00:00:00Z",
- "first_name": "John",
- "last_name": "Doe",
- "email": "john.doe@dummy.com",
- "locale": "en-GB",
- "address": {
- "line1": "123 Main St",
- "line2": "Apt 4B",
- "city": "Los Angeles",
- "country": "US",
- "state": "CA",
- "postal_code": "90001"
}, - "birth_date": "2073-06-01",
- "_embedded": {
- "account": {
- "id": "acc_01HRC2T6WK4CMVGFXA2RESTQ97",
- "_links": {
}
}
}, - "_links": {
- "subscriptions": {
}
}
}
List all subscriptions
Returns a list of subscriptions
Authorizations:
query Parameters
account-id | string (AccountId) <= 100 characters Example: account-id=acc_01BX5ZZKBKACTAV9WEVGEMMVRY A string that uniquely identifies an Account |
subscriber-id | string (SubscriberId) <= 100 characters Example: subscriber-id=subr_01HRC2T6WK4CMVGFXA2RESTQ97 An identifier of the subscriber that owns the subscription. |
cursor | string (Cursor) A base64 encoded string that uniquely identifies the first entry of a query result. |
limit | integer <int32> (Limit) [ 1 .. 40 ] Default: 10 The page size filter |
status | string (SubscriptionStatus) Enum: "created" "active" "grace" "suspended" "deactivated" "terminated" "canceled" Example: status=active The Subscription's status |
header Parameters
Correlation-Id | string An unique identifier provided by the client that allows the request to be traced through the system. |
Api-Version | string (ApiVersion) Value: "2025-01-28" This header is used to specify the version of the API being requested. If not specied, the latest version would be used. |
Responses
Response samples
- 200
- 400
- 5XX
{- "_embedded": {
- "subscriptions": [
- {
- "id": "subs_01BX5ZZKBKACTAV9WEVGEMMVRY",
- "status": "terminated",
- "created_at": "2023-01-01T00:00:00.100Z",
- "updated_at": "2023-05-21T00:00:00.500Z",
- "_embedded": {
- "sim_profile": {
- "iccid": "8999999999990242084",
- "sim_type": "esim"
}, - "account": {
- "id": "acc_01HRC2T6WK4CMVGFXA2RESTQ97",
- "_links": {
}
}
}, - "_links": {
}
}, - {
- "id": "subs_02BX5ZZKBKACTAV9WEVGEMMVZS",
- "status": "active",
- "created_at": "2022-01-01T00:00:00.100Z",
- "updated_at": "2022-05-21T00:00:00.500Z",
- "_embedded": {
- "sim_profile": {
- "iccid": "8999999999990242084",
- "sim_type": "esim"
}, - "account": {
- "id": "acc_01HRC2T6WK4CMVGFXA2RESTQ97",
- "_links": {
}
}
}, - "_links": {
}
}
]
}, - "_links": {
}
}
Retrieve a subscription
Retrieves the details of an existing subscription
Authorizations:
path Parameters
subscription-id required | string (SubscriptionId) <= 100 characters Example: subs_01J9XJ11WTYFWFH5JD2YM1S18S A string that uniquely identifies a Subscription |
header Parameters
Correlation-Id | string An unique identifier provided by the client that allows the request to be traced through the system. |
Api-Version | string (ApiVersion) Value: "2025-01-28" This header is used to specify the version of the API being requested. If not specied, the latest version would be used. |
Responses
Response samples
- 200
- 400
- 404
- 5XX
{- "id": "subs_01BX5ZZKBKACTAV9WEVGEMMVRY",
- "created_at": "2023-01-01T00:00:00Z",
- "updated_at": "2023-05-21T00:00:00Z",
- "status": "created",
- "_embedded": {
- "sim_profile": {
- "iccid": "8988211234567890123",
- "sim_type": "esim",
- "profile_status": "installed",
- "matching_id": "5C-ZYXZZ-1R54O94",
- "smdp_address": "rsp.truphone.com"
}, - "account": {
- "id": "acc_01HRC2T6WK4CMVGFXA2RESTQ97",
- "_links": {
}
}
}, - "_links": {
- "qrcode": {
}, - "products": {
},
}
}
Graces a Subscription
Applies to active subscriptions when service should be limited
Authorizations:
path Parameters
subscription-id required | string (SubscriptionId) <= 100 characters Example: subs_01J9XJ11WTYFWFH5JD2YM1S18S A string that uniquely identifies a Subscription |
header Parameters
Correlation-Id | string An unique identifier provided by the client that allows the request to be traced through the system. |
Api-Version | string (ApiVersion) Value: "2025-01-28" This header is used to specify the version of the API being requested. If not specied, the latest version would be used. |
Responses
Response samples
- 200
- 400
- 5XX
{- "id": "subs_01BX5ZZKBKACTAV9WEVGEMMVRY",
- "created_at": "2023-01-01T00:00:00Z",
- "updated_at": "2023-05-21T00:00:00Z",
- "status": "grace",
- "_embedded": {
- "sim_profile": {
- "iccid": "8988211234567890123",
- "sim_type": "esim",
- "profile_status": "installed",
- "matching_id": "5C-ZYXZZ-1R54O94",
- "smdp_address": "rsp.truphone.com"
}, - "active_phone_numbers": [
- {
- "id": "pn_01BX5ZZKBKACTAV9WEVGEMUIJ6",
- "status": "active",
- "created_at": "2023-01-01T00:30:00Z",
- "msisdn": "+4912984900817",
- "country": "DE",
- "is_primary": true,
- "_links": {
- "disable-porting-opt-in": {
}, - "subscription": {
}
}
}
], - "account": {
- "id": "acc_01HRC2T6WK4CMVGFXA2RESTQ97",
- "_links": {
}
}
}, - "_links": {
- "qrcode": {
}, - "products": {
},
}
}
Suspends a Subscription
Applies to subscriptions in grace status when service should be suspended
Authorizations:
path Parameters
subscription-id required | string (SubscriptionId) <= 100 characters Example: subs_01J9XJ11WTYFWFH5JD2YM1S18S A string that uniquely identifies a Subscription |
header Parameters
Correlation-Id | string An unique identifier provided by the client that allows the request to be traced through the system. |
Api-Version | string (ApiVersion) Value: "2025-01-28" This header is used to specify the version of the API being requested. If not specied, the latest version would be used. |
Responses
Response samples
- 200
- 400
- 5XX
{- "id": "subs_01BX5ZZKBKACTAV9WEVGEMMVRY",
- "created_at": "2023-01-01T00:00:00Z",
- "updated_at": "2023-05-21T00:00:00Z",
- "status": "suspended",
- "_embedded": {
- "sim_profile": {
- "iccid": "8988211234567890123",
- "sim_type": "esim",
- "profile_status": "installed",
- "matching_id": "5C-ZYXZZ-1R54O94",
- "smdp_address": "rsp.truphone.com"
}, - "account": {
- "id": "acc_01HRC2T6WK4CMVGFXA2RESTQ97",
- "_links": {
}
}
}, - "_links": {
- "qrcode": {
}, - "products": {
},
}
}
Deactivates a Subscription
Can be used to temporary deactivate a subscription without affecting normal livecycle of products
Authorizations:
path Parameters
subscription-id required | string (SubscriptionId) <= 100 characters Example: subs_01J9XJ11WTYFWFH5JD2YM1S18S A string that uniquely identifies a Subscription |
header Parameters
Correlation-Id | string An unique identifier provided by the client that allows the request to be traced through the system. |
Api-Version | string (ApiVersion) Value: "2025-01-28" This header is used to specify the version of the API being requested. If not specied, the latest version would be used. |
Responses
Response samples
- 200
- 400
- 5XX
{- "id": "subs_01BX5ZZKBKACTAV9WEVGEMMVRY",
- "created_at": "2023-01-01T00:00:00Z",
- "updated_at": "2023-05-21T00:00:00Z",
- "status": "deactivated",
- "_embedded": {
- "sim_profile": {
- "iccid": "8988211234567890123",
- "sim_type": "esim",
- "profile_status": "installed",
- "matching_id": "5C-ZYXZZ-1R54O94",
- "smdp_address": "rsp.truphone.com"
}, - "account": {
- "id": "acc_01HRC2T6WK4CMVGFXA2RESTQ97",
- "_links": {
}
}
}, - "_links": {
- "qrcode": {
}, - "products": {
},
}
}
Resumes a Subscription
Resumes a deactivated subscription back to active status
Authorizations:
path Parameters
subscription-id required | string (SubscriptionId) <= 100 characters Example: subs_01J9XJ11WTYFWFH5JD2YM1S18S A string that uniquely identifies a Subscription |
header Parameters
Correlation-Id | string An unique identifier provided by the client that allows the request to be traced through the system. |
Api-Version | string (ApiVersion) Value: "2025-01-28" This header is used to specify the version of the API being requested. If not specied, the latest version would be used. |
Responses
Response samples
- 200
- 400
- 5XX
{- "id": "subs_01BX5ZZKBKACTAV9WEVGEMMVRY",
- "created_at": "2023-01-01T00:00:00Z",
- "updated_at": "2023-05-21T00:00:00Z",
- "status": "active",
- "_embedded": {
- "sim_profile": {
- "iccid": "8988211234567890123",
- "sim_type": "esim",
- "profile_status": "installed",
- "matching_id": "5C-ZYXZZ-1R54O94",
- "smdp_address": "rsp.truphone.com"
}, - "account": {
- "id": "acc_01HRC2T6WK4CMVGFXA2RESTQ97",
- "_links": {
}
}
}, - "_links": {
- "qrcode": {
}, - "products": {
},
}
}
Balance Threshold Webhook
This webhook is triggered when a product balance threshold is reached.
Authorizations:
Request Body schema: application/hal+jsonrequired
Product balance threshold event schema
id required | string (EventId) <= 100 characters A string that uniquely identifies an Event |
type required | string Value: "balance.threshold.exceeded" The type of notification |
created_at required | string <date-time> (Iso8601DateTime) The Date Time format according to the ISO 8601 |
required | object |
Responses
Request samples
- Payload
{- "id": "evt_01J494G6WZAR2E2808Z8M07K4Z",
- "type": "balance.threshold.exceeded",
- "created_at": "2021-02-01T14:28:17.967Z",
- "data": {
- "threshold": {
- "allowance_type": "data",
- "percentage": 80
}, - "product": {
- "id": "prd_01J806F9TNFYTQM3Z4THPTJEVY",
- "status": "active",
- "created_at": "2024-09-17T14:34:06.037Z",
- "started_at": "2024-09-17T14:35:31.559Z",
- "expire_at": "2025-09-17T14:34:03.946Z",
- "end_at": "2024-10-17T14:35:31.559Z",
- "_embedded": {
- "product_offering": {
- "id": "prdoff_01J7ZWQW25H38MHADHDQ21H28W",
- "name": "Local Germany 1Month 500MB",
- "type": "addon",
- "validity": {
- "type": "duration",
- "unit": "month",
- "unit_count": 1,
- "is_recurrent": false
}, - "_embedded": {
- "allowances": [
- {
- "type": "data",
- "unit": "megabytes",
- "unit_count": 500,
- "is_unlimited": false,
- "_embedded": {
- "coverage_area": {
- "id": "cov_01J7ZWQVSNTKXMEZ77GS81ZG2T",
- "name": "Germany",
- "type": "local",
- "created_at": "2024-09-17T11:44:00.818Z",
- "updated_at": "2024-09-17T11:44:00.818Z",
- "countries": [
- "DE"
], - "_links": {
}
}
}
}
]
}, - "_links": {
}
}, - "balances": [
- {
- "type": "limited",
- "allowance_type": "data",
- "unit": "bytes",
- "initial": 524288000,
- "remaining": 123000,
- "spent": 524165000
}
], - "prices": [
- {
- "type": "one_time",
- "unit_amount": 0,
- "currency": "EUR"
}
]
}, - "_links": {
- "cancel": {
}, - "subscription": {
}
}
}
}
}
Product Depleted Webhook
This webhook is triggered when a product is depleted.
Authorizations:
Request Body schema: application/hal+jsonrequired
Product depleted event notification payload
id required | string (EventId) <= 100 characters A string that uniquely identifies an Event |
type required | string Value: "product.depleted" The type of notification |
created_at required | string <date-time> (Iso8601DateTime) The Date Time format according to the ISO 8601 |
required | object |
Responses
Request samples
- Payload
{- "id": "evt_01J494G6WZAR2E2808Z8M07K4Z",
- "type": "product.depleted",
- "created_at": "2021-02-01T14:28:17.967Z",
- "data": {
- "product": {
- "id": "prd_01J494WK30DVCMB6ZPYWN21APK",
- "status": "depleted",
- "created_at": "2023-05-06T16:59:17.000Z",
- "start_at": "2023-05-06T16:59:20.000Z",
- "started_at": "2023-05-06T16:59:17.967Z",
- "expire_at": "2023-10-21T14:28:17.967Z",
- "end_at": "2023-06-07T16:52:17.967Z",
- "ended_at": "2023-05-10T16:52:17.967Z",
- "_embedded": {
- "product_offering": {
- "id": "prdoff_01HW386JNMYHY5G9VXPNK49ABS",
- "name": "Local Macedonia - 15 Days - 70 GB",
- "type": "addon",
- "validity": {
- "type": "duration",
- "unit": "day",
- "unit_count": 15,
- "is_recurrent": false
}, - "_embedded": {
- "allowances": [
- {
- "type": "data",
- "unit": "bytes",
- "unit_count": 70,
- "is_unlimited": false,
- "_embedded": {
- "coverage_area": {
- "id": "cov_01J7ZWQVSNTKXMEZ77GS81ZG2T",
- "name": "Macedonia",
- "type": "local",
- "created_at": "2024-09-17T11:44:00.818Z",
- "updated_at": "2024-10-10T11:44:00.000Z",
- "countries": [
- "DE"
], - "_links": {
}
}
}
}
]
}, - "_links": {
}
}, - "balances": [
- {
- "type": "limited",
- "allowance_type": "data",
- "unit": "bytes",
- "initial": 524288000,
- "remaining": 0,
- "spent": 524288000
}
], - "prices": [
- {
- "type": "recurring",
- "unit_amount": 19,
- "recurrence": {
- "unit": "week",
- "unit_count": 1
}, - "currency": "EUR"
}
]
}, - "_links": {
- "self": {
}, - "subscription": {
}
}
}
}
}
Product Terminated Webhook
This webhook is triggered when a product is terminated.
Authorizations:
Request Body schema: application/hal+jsonrequired
Product terminated notification payload
id required | string (EventId) <= 100 characters A string that uniquely identifies an Event |
type required | string Value: "product.terminated" The type of notification |
created_at required | string <date-time> (Iso8601DateTime) The Date Time format according to the ISO 8601 |
required | object |
Responses
Request samples
- Payload
{- "id": "evt_01J494G6WZAR2E2808Z8M07K4Z",
- "type": "product.terminated",
- "created_at": "2021-02-01T14:28:17.967Z",
- "data": {
- "product": {
- "id": "prd_01J494WK30DVCMB6ZPYWN21APK",
- "status": "terminated",
- "created_at": "2024-08-02T08:56:46.944Z",
- "started_at": "2023-05-06T16:59:17.967Z",
- "start_at": "2023-05-06T16:59:17.967Z",
- "end_at": "2023-05-07T16:52:17.967Z",
- "ended_at": "2023-05-07T16:52:17.967Z",
- "_embedded": {
- "product_offering": {
- "id": "prdoff_01HW386JNMYHY5G9VXPNK49ABS",
- "name": "Local Macedonia - 15 Days - 70 GB",
- "type": "addon",
- "validity": {
- "type": "duration",
- "unit": "day",
- "unit_count": 15,
- "is_recurrent": false
}, - "_embedded": {
- "allowances": [
- {
- "type": "data",
- "unit": "bytes",
- "unit_count": 70,
- "is_unlimited": false,
- "_embedded": {
- "coverage_area": {
- "id": "cov_01J7ZWQVSNTKXMEZ77GS81ZG2T",
- "name": "Macedonia",
- "type": "local",
- "created_at": "2024-09-17T11:44:00.818Z",
- "updated_at": "2024-10-10T11:44:00.000Z",
- "countries": [
- "MK"
], - "_links": {
}
}
}
}
]
}, - "_links": {
}
}, - "balances": [
- {
- "type": "limited",
- "allowance_type": "data",
- "unit": "bytes",
- "initial": 524288000,
- "remaining": 123000,
- "spent": 524165000
}
], - "prices": [
- {
- "type": "recurring",
- "unit_amount": 50,
- "recurrence": {
- "unit": "month",
- "unit_count": 1
}, - "currency": "EUR"
}
]
}, - "_links": {
- "subscription": {
}
}
}
}
}
Product Active Webhook
This webhook is triggered when a product is activated.
Authorizations:
Request Body schema: application/hal+jsonrequired
Product active notification payload
id required | string (EventId) <= 100 characters A string that uniquely identifies an Event |
type required | string Value: "product.active" The type of notification |
created_at required | string <date-time> (Iso8601DateTime) The Date Time format according to the ISO 8601 |
required | object |
Responses
Request samples
- Payload
{- "id": "evt_01J494G6WZAR2E2808Z8M07K4Z",
- "type": "product.active",
- "created_at": "2021-02-01T14:28:17.967Z",
- "data": {
- "product": {
- "id": "prd_01J494WK30DVCMB6ZPYWN21APK",
- "status": "active",
- "created_at": "2023-01-02T08:56:46.944Z",
- "started_at": "2023-05-06T16:59:17.967Z",
- "end_at": "2023-06-07T16:52:17.967Z",
- "expire_at": "2023-08-07T16:52:17.967Z",
- "_embedded": {
- "product_offering": {
- "id": "prdoff_01HW386JNMYHY5G9VXPNK49ABS",
- "name": "Local Macedonia - 15 Days - 70 GB",
- "type": "addon",
- "validity": {
- "type": "duration",
- "unit": "day",
- "unit_count": 15,
- "is_recurrent": false
}, - "_embedded": {
- "allowances": [
- {
- "type": "data",
- "unit": "bytes",
- "unit_count": 70,
- "is_unlimited": false,
- "_embedded": {
- "coverage_area": {
- "id": "cov_01J7ZWQVSNTKXMEZ77GS81ZG2T",
- "name": "Macedonia",
- "type": "local",
- "created_at": "2024-09-17T11:44:00.818Z",
- "updated_at": "2024-10-10T11:44:00.000Z",
- "countries": [
- "MK"
], - "_links": {
}
}
}
}
]
}, - "_links": {
}
}, - "balances": [
- {
- "type": "limited",
- "allowance_type": "data",
- "unit": "bytes",
- "initial": 524288000,
- "remaining": 123000,
- "spent": 524165000
}
], - "prices": [
- {
- "type": "recurring",
- "unit_amount": 50,
- "recurrence": {
- "unit": "month",
- "unit_count": 1
}, - "currency": "EUR"
}
]
}, - "_links": {
- "subscription": {
}, - "cancel": {
}
}
}
}
}
Product Canceled Webhook
This webhook is triggered when a product is canceled.
Authorizations:
Request Body schema: application/hal+jsonrequired
Product canceled notification payload
id required | string (EventId) <= 100 characters A string that uniquely identifies an Event |
type required | string Value: "product.canceled" The type of notification |
created_at required | string <date-time> (Iso8601DateTime) The Date Time format according to the ISO 8601 |
required | object |
Responses
Request samples
- Payload
{- "id": "evt_01J494G6WZAR2E2808Z8M07K4Z",
- "type": "product.canceled",
- "created_at": "2021-02-01T14:28:17.967Z",
- "data": {
- "product": {
- "id": "prd_01J494WK30DVCMB6ZPYWN21APK",
- "status": "canceled",
- "created_at": "2024-09-18T11:57:10.029Z",
- "expire_at": "2025-09-18T11:57:08.570Z",
- "ended_at": "2024-09-19T12:10:40.218Z",
- "_embedded": {
- "product_offering": {
- "id": "prdoff_01HW386JNMYHY5G9VXPNK49ABS",
- "name": "Local Macedonia - 15 Days - 70 GB",
- "type": "addon",
- "validity": {
- "type": "duration",
- "unit": "day",
- "unit_count": 15,
- "is_recurrent": false
}, - "_embedded": {
- "allowances": [
- {
- "type": "data",
- "unit": "bytes",
- "unit_count": 70,
- "is_unlimited": false,
- "_embedded": {
- "coverage_area": {
- "id": "cov_01J7ZWQVSNTKXMEZ77GS81ZG2T",
- "name": "Macedonia",
- "type": "local",
- "created_at": "2024-09-17T11:44:00.818Z",
- "updated_at": "2024-10-10T11:44:00.000Z",
- "countries": [
- "MK"
], - "_links": {
}
}
}
}
]
}, - "_links": {
}
}, - "balances": [
- {
- "type": "limited",
- "allowance_type": "data",
- "unit": "bytes",
- "initial": 524288000,
- "remaining": 123000,
- "spent": 524165000
}
], - "prices": [
- {
- "type": "recurring",
- "unit_amount": 50,
- "recurrence": {
- "unit": "month",
- "unit_count": 1
}, - "currency": "EUR"
}
]
}, - "_links": {
- "subscription": {
}
}
}
}
}
Product Throttling Applied Webhook
This webhook is triggered when a product throttling is applied.
Authorizations:
Request Body schema: application/hal+jsonrequired
Product product throttling applied notification payload
id required | string (EventId) <= 100 characters A string that uniquely identifies an Event |
type required | string Value: "product.throttling.applied" The type of notification |
created_at required | string <date-time> (Iso8601DateTime) The Date Time format according to the ISO 8601 |
required | object |
Responses
Request samples
- Payload
{- "id": "evt_01J494G6WZAR2E2808Z8M07K4Z",
- "type": "product.throttling.applied",
- "created_at": "2021-02-01T14:28:17.967Z",
- "data": {
- "throttling": {
- "bandwidth": "1Mbps",
- "period": "daily",
- "reset_at": "2025-03-04T15:17:00Z"
}, - "product": {
- "id": "prd_01J806F9TNFYTQM3Z4THPTJEVY",
- "status": "active",
- "created_at": "2024-09-17T14:34:06.037Z",
- "started_at": "2024-09-17T14:35:31.559Z",
- "expire_at": "2025-09-17T14:34:03.946Z",
- "end_at": "2024-10-17T14:35:31.559Z",
- "_embedded": {
- "product_offering": {
- "id": "prdoff_01J7ZWQW25H38MHADHDQ21H28W",
- "name": "Local Germany 1Month 500MB",
- "type": "addon",
- "validity": {
- "type": "duration",
- "unit": "month",
- "unit_count": 1,
- "is_recurrent": false
}, - "_embedded": {
- "allowances": [
- {
- "type": "data",
- "unit": "megabytes",
- "unit_count": 500,
- "is_unlimited": false,
- "_embedded": {
- "coverage_area": {
- "id": "cov_01J7ZWQVSNTKXMEZ77GS81ZG2T",
- "name": "Germany",
- "type": "local",
- "created_at": "2024-09-17T11:44:00.818Z",
- "updated_at": "2024-09-17T11:44:00.818Z",
- "countries": [
- "DE"
], - "_links": {
}
}
}
}
]
}, - "_links": {
}
}, - "balances": [
- {
- "type": "limited",
- "allowance_type": "data",
- "unit": "bytes",
- "initial": 524288000,
- "remaining": 123000,
- "spent": 524165000
}
], - "prices": [
- {
- "type": "one_time",
- "unit_amount": 0,
- "currency": "EUR"
}
]
}, - "_links": {
- "cancel": {
}, - "subscription": {
}
}
}
}
}
Subscription Active Webhook
This webhook is triggered when a subscription is activated.
Authorizations:
Request Body schema: application/hal+jsonrequired
Subscription active event payload
id required | string (EventId) <= 100 characters A string that uniquely identifies an Event |
type required | string Value: "subscription.active" The type of notification |
created_at required | string <date-time> (Iso8601DateTime) The Date Time format according to the ISO 8601 |
required | object |
Responses
Request samples
- Payload
{- "id": "evt_01J494G6WZAR2E2808Z8M07K4Z",
- "type": "subscription.active",
- "created_at": "2021-02-01T14:28:17.967Z",
- "data": {
- "subscription": {
- "id": "subs_01BX5ZZKBKACTAV9WEVGEMMVRY",
- "status": "active",
- "created_at": "2023-01-01T00:00:00.100Z",
- "updated_at": "2023-05-21T00:00:00.500Z",
- "_embedded": {
- "sim_profile": {
- "iccid": "8988211234567890123",
- "sim_type": "esim",
- "profile_status": "ready_for_installation",
- "matching_id": "5C-ZYXZZ-1R54O94",
- "smdp_address": "rsp.truphone.com",
- "_embedded": {
- "device": {
- "uicc": {
- "eid": "89049032004008882600018948798950"
}
}
}
}, - "active_phone_numbers": [
- {
- "id": "pn_01BX5ZZKBKACTAV9WEVGEMUIJ6",
- "status": "active",
- "created_at": "2024-01-01T00:00:00.100Z",
- "updated_at": "2024-05-21T00:00:00.500Z",
- "msisdn": "+4912984900817",
- "country": "DE",
- "is_primary": true,
- "_links": {
- "enable-porting-opt-in": {
}, - "disable-porting-opt-in": {
}
}
}
], - "account": {
- "id": "acc_01HRC2T6WK4CMVGFXA2RESTQ97",
- "_links": {
}
}
}, - "_links": {
- "subscriber": {
}, - "products": {
}, - "qrcode": {
}, - "grace": {
}, - "suspend": {
}, - "deactivate": {
}, - "cancel": {
}
}
}
}
}
Subscription Grace Webhook
This webhook is triggered when a subscription goes into grace period.
Authorizations:
Request Body schema: application/hal+jsonrequired
Subscription grace event payload
id required | string (EventId) <= 100 characters A string that uniquely identifies an Event |
type required | string Value: "subscription.grace" The type of notification |
created_at required | string <date-time> (Iso8601DateTime) The Date Time format according to the ISO 8601 |
required | object |
Responses
Request samples
- Payload
{- "id": "evt_01J494G6WZAR2E2808Z8M07K4Z",
- "type": "subscription.grace",
- "created_at": "2021-02-01T14:28:17.967Z",
- "data": {
- "subscription": {
- "id": "subs_01BX5ZZKBKACTAV9WEVGEMMVRY",
- "status": "grace",
- "created_at": "2023-01-01T00:00:00.100Z",
- "updated_at": "2023-05-21T00:00:00.500Z",
- "_embedded": {
- "sim_profile": {
- "iccid": "8988211234567890123",
- "sim_type": "esim",
- "profile_status": "installed",
- "matching_id": "5C-ZYXZZ-1R54O94",
- "smdp_address": "rsp.truphone.com",
- "_embedded": {
- "device": {
- "uicc": {
- "eid": "89049032004008882600018948798950"
}
}
}
}, - "active_phone_numbers": [
- {
- "id": "pn_01BX5ZZKBKACTAV9WEVGEMUIJ6",
- "status": "active",
- "created_at": "2024-01-01T00:00:00.100Z",
- "updated_at": "2024-05-21T00:00:00.500Z",
- "msisdn": "+4912984900817",
- "country": "DE",
- "is_primary": true,
- "_links": {
- "enable-porting-opt-in": {
}, - "disable-porting-opt-in": {
}
}
}
], - "account": {
- "id": "acc_01HRC2T6WK4CMVGFXA2RESTQ97",
- "_links": {
}
}
}, - "_links": {
- "subscriber": {
}, - "products": {
}, - "qrcode": {
}, - "suspend": {
}, - "cancel": {
}
}
}
}
}
Subscription Suspended Webhook
This webhook is triggered when a subscription is suspended.
Authorizations:
Request Body schema: application/hal+jsonrequired
Subscription suspended event payload
id required | string (EventId) <= 100 characters A string that uniquely identifies an Event |
type required | string Value: "subscription.suspended" The type of notification |
created_at required | string <date-time> (Iso8601DateTime) The Date Time format according to the ISO 8601 |
required | object |
Responses
Request samples
- Payload
{- "id": "evt_01J494G6WZAR2E2808Z8M07K4Z",
- "type": "subscription.suspended",
- "created_at": "2021-02-01T14:28:17.967Z",
- "data": {
- "subscription": {
- "id": "subs_01BX5ZZKBKACTAV9WEVGEMMVRY",
- "status": "suspended",
- "created_at": "2023-01-01T00:00:00.100Z",
- "updated_at": "2023-05-21T00:00:00.500Z",
- "_embedded": {
- "sim_profile": {
- "iccid": "8988211234567890123",
- "sim_type": "esim",
- "profile_status": "installed",
- "matching_id": "5C-ZYXZZ-1R54O94",
- "smdp_address": "rsp.truphone.com",
- "_embedded": {
- "device": {
- "uicc": {
- "eid": "89049032004008882600018948798950"
}
}
}
}, - "active_phone_numbers": [
- {
- "id": "pn_01BX5ZZKBKACTAV9WEVGEMUIJ6",
- "status": "active",
- "created_at": "2024-01-01T00:00:00.100Z",
- "updated_at": "2024-05-21T00:00:00.500Z",
- "msisdn": "+4912984900817",
- "country": "DE",
- "is_primary": true,
- "_links": {
- "enable-porting-opt-in": {
}, - "disable-porting-opt-in": {
}
}
}
], - "account": {
- "id": "acc_01HRC2T6WK4CMVGFXA2RESTQ97",
- "_links": {
}
}
}, - "_links": {
- "subscriber": {
}, - "products": {
}, - "qrcode": {
}, - "cancel": {
}
}
}
}
}
Subscription Terminated Webhook
This webhook is triggered when a subscription is terminated.
Authorizations:
Request Body schema: application/hal+jsonrequired
Subscription terminated event payload
id required | string (EventId) <= 100 characters A string that uniquely identifies an Event |
type required | string Value: "subscription.terminated" The type of notification |
created_at required | string <date-time> (Iso8601DateTime) The Date Time format according to the ISO 8601 |
required | object |
Responses
Request samples
- Payload
{- "id": "evt_01J494G6WZAR2E2808Z8M07K4Z",
- "type": "subscription.terminated",
- "created_at": "2021-02-01T14:28:17.967Z",
- "data": {
- "subscription": {
- "id": "subs_01BX5ZZKBKACTAV9WEVGEMMVRY",
- "status": "terminated",
- "created_at": "2023-01-01T00:00:00Z",
- "updated_at": "2023-05-21T00:00:00Z",
- "_embedded": {
- "sim_profile": {
- "iccid": "8988211234567890123",
- "sim_type": "esim",
- "profile_status": "ready_for_installation",
- "matching_id": "5C-ZYXZZ-1R54O94",
- "smdp_address": "rsp.truphone.com",
- "_embedded": {
- "device": {
- "uicc": {
- "eid": "89049032004008882600018948798950"
}
}
}
}, - "account": {
- "id": "acc_01HRC2T6WK4CMVGFXA2RESTQ97",
- "_links": {
}
}
}, - "_links": {
- "subscriber": {
}, - "products": {
}
}
}
}
}
Subscription Deactivated Webhook
This webhook is triggered when a subscription is deactivated.
Authorizations:
Request Body schema: application/hal+jsonrequired
Subscription deactivated event payload
id required | string (EventId) <= 100 characters A string that uniquely identifies an Event |
type required | string Value: "subscription.deactivated" The type of notification |
created_at required | string <date-time> (Iso8601DateTime) The Date Time format according to the ISO 8601 |
required | object |
Responses
Request samples
- Payload
{- "id": "evt_01J494G6WZAR2E2808Z8M07K4Z",
- "type": "subscription.deactivated",
- "created_at": "2021-02-01T14:28:17.967Z",
- "data": {
- "subscription": {
- "id": "subs_01BX5ZZKBKACTAV9WEVGEMMVRY",
- "status": "deactivated",
- "created_at": "2023-01-01T00:00:00.100Z",
- "updated_at": "2023-05-21T00:00:00.500Z",
- "_embedded": {
- "sim_profile": {
- "iccid": "8988211234567890123",
- "sim_type": "esim",
- "profile_status": "installed",
- "matching_id": "5C-ZYXZZ-1R54O94",
- "smdp_address": "rsp.truphone.com",
- "_embedded": {
- "device": {
- "uicc": {
- "eid": "89049032004008882600018948798950"
}
}
}
}, - "active_phone_numbers": [
- {
- "id": "pn_01BX5ZZKBKACTAV9WEVGEMUIJ6",
- "status": "active",
- "created_at": "2024-01-01T00:00:00.100Z",
- "updated_at": "2024-05-21T00:00:00.500Z",
- "msisdn": "+49112984900817",
- "country": "DE",
- "is_primary": true,
- "_links": {
- "enable-porting-opt-in": {
}, - "disable-porting-opt-in": {
}
}
}
], - "account": {
- "id": "acc_01HRC2T6WK4CMVGFXA2RESTQ97",
- "_links": {
}
}
}, - "_links": {
- "subscriber": {
}, - "products": {
}, - "resume": {
}, - "cancel": {
}
}
}
}
}
Subscription Canceled Webhook
This webhook is triggered when a subscription is canceled.
Authorizations:
Request Body schema: application/hal+jsonrequired
Subscription canceled event payload
id required | string (EventId) <= 100 characters A string that uniquely identifies an Event |
type required | string Value: "subscription.canceled" The type of notification |
created_at required | string <date-time> (Iso8601DateTime) The Date Time format according to the ISO 8601 |
required | object |
Responses
Request samples
- Payload
{- "id": "evt_01J494G6WZAR2E2808Z8M07K4Z",
- "type": "subscription.canceled",
- "created_at": "2021-02-01T14:28:17.967Z",
- "data": {
- "subscription": {
- "id": "subs_01BX5ZZKBKACTAV9WEVGEMMVRY",
- "status": "canceled",
- "created_at": "2023-01-01T00:00:00.100Z",
- "updated_at": "2023-05-21T00:00:00.500Z",
- "_embedded": {
- "sim_profile": {
- "iccid": "8988211234567890123",
- "sim_type": "esim",
- "profile_status": "installed",
- "matching_id": "5C-ZYXZZ-1R54O94",
- "smdp_address": "rsp.truphone.com",
- "_embedded": {
- "device": {
- "uicc": {
- "eid": "89049032004008882600018948798950"
}
}
}
}, - "active_phone_numbers": [
- {
- "id": "pn_01BX5ZZKBKACTAV9WEVGEMUIJ6",
- "status": "active",
- "created_at": "2024-01-01T00:00:00.100Z",
- "updated_at": "2024-05-21T00:00:00.500Z",
- "msisdn": "+4912984900817",
- "country": "DE",
- "is_primary": true,
- "_links": {
- "enable-porting-opt-in": {
}, - "disable-porting-opt-in": {
}
}
}
], - "account": {
- "id": "acc_01HRC2T6WK4CMVGFXA2RESTQ97",
- "_links": {
}
}
}, - "_links": {
- "subscriber": {
}, - "products": {
}
}
}
}
}
Subscription Profile Installed Webhook
This webhook is triggered when a profile is installed.
Authorizations:
Request Body schema: application/hal+jsonrequired
Subscription profile event payload
id required | string (EventId) <= 100 characters A string that uniquely identifies an Event |
type required | string Value: "subscription.sim_profile.installed" The type of notification |
created_at required | string <date-time> (Iso8601DateTime) The Date Time format according to the ISO 8601 |
required | object |
Responses
Request samples
- Payload
{- "id": "evt_01J494G6WZAR2E2808Z8M07K4Z",
- "type": "subscription.sim_profile.installed",
- "created_at": "2021-02-01T14:28:17.967Z",
- "data": {
- "subscription": {
- "id": "subs_01J3YVZN6DGMG6BWYJ8QY8NZ1H",
- "status": "active",
- "created_at": "2024-07-29T09:08:45.901Z",
- "updated_at": "2024-07-29T09:08:45.984Z",
- "_embedded": {
- "sim_profile": {
- "sim_type": "esim",
- "profile_status": "Installed",
- "matching_id": "BR-24GGSR-11KEFFV",
- "smdp_address": "rsp.truphone.com",
- "iccid": "8999999999990238017",
- "_embedded": {
- "device": {
- "uicc": {
- "eid": "89049032004008882600018948798950"
}
}
}
}, - "account": {
- "id": "acc_01HRC2T6WK4CMVGFXA2RESTQ97",
- "_links": {
}
}
}, - "_links": {
- "qrcode": {
}, - "products": {
},
}
}
}
}
Subscription Profile Deleted Webhook
This webhook is triggered when a profile is deleted.
Authorizations:
Request Body schema: application/hal+jsonrequired
Subscription profile event payload
id required | string (EventId) <= 100 characters A string that uniquely identifies an Event |
type required | string Value: "subscription.sim_profile.deleted" The type of notification |
created_at required | string <date-time> (Iso8601DateTime) The Date Time format according to the ISO 8601 |
required | object |
Responses
Request samples
- Payload
{- "id": "evt_01J494G6WZAR2E2808Z8M07K4Z",
- "type": "subscription.sim_profile.deleted",
- "created_at": "2021-02-01T14:28:17.967Z",
- "data": {
- "subscription": {
- "id": "subs_01J3YVZN6DGMG6BWYJ8QY8NZ1H",
- "status": "terminated",
- "created_at": "2024-07-29T09:08:45.901Z",
- "updated_at": "2024-07-29T09:08:45.984Z",
- "_embedded": {
- "sim_profile": {
- "sim_type": "esim",
- "profile_status": "Deleted",
- "matching_id": "BR-24GGSR-11KEFFV",
- "smdp_address": "rsp.truphone.com",
- "iccid": "8999999999990238017",
- "_embedded": {
- "device": {
- "uicc": {
- "eid": "89049032004008882600018948798950"
}
}
}
}, - "account": {
- "id": "acc_01HRC2T6WK4CMVGFXA2RESTQ97",
- "_links": {
}
}
}, - "_links": {
- "qrcode": {
}, - "products": {
},
}
}
}
}
Subscription Profile Ready for Installation Webhook
This webhook is triggered when a profile is ready for installed.
Authorizations:
Request Body schema: application/hal+jsonrequired
Subscription profile event payload
id required | string (EventId) <= 100 characters A string that uniquely identifies an Event |
type required | string Value: "subscription.sim_profile.ready_for_installation" The type of notification |
created_at required | string <date-time> (Iso8601DateTime) The Date Time format according to the ISO 8601 |
required | object |
Responses
Request samples
- Payload
{- "id": "evt_01J494G6WZAR2E2808Z8M07K4Z",
- "type": "subscription.sim_profile.ready_for_installation",
- "created_at": "2021-02-01T14:28:17.967Z",
- "data": {
- "subscription": {
- "id": "subs_01J3YVZN6DGMG6BWYJ8QY8NZ1H",
- "status": "active",
- "created_at": "2024-07-29T09:08:45.901Z",
- "updated_at": "2024-07-29T09:08:45.984Z",
- "_embedded": {
- "sim_profile": {
- "sim_type": "esim",
- "profile_status": "ready_for_installation",
- "matching_id": "BR-24GGSR-11KEFFV",
- "smdp_address": "rsp.truphone.com",
- "iccid": "8999999999990238017",
- "_embedded": {
- "device": {
- "uicc": {
- "eid": "89049032004008882600018948798950"
}
}
}
}, - "account": {
- "id": "acc_01HRC2T6WK4CMVGFXA2RESTQ97",
- "_links": {
}
}
}, - "_links": {
- "qrcode": {
}, - "products": {
},
}
}, - "order": {
- "id": "ord_01J7ZWP1X8MBE7GZ73M75JEPB2",
- "_links": {
}
}
}
}
Order Completed Webhook
This webhook is triggered when an order is completed.
Authorizations:
Request Body schema: application/hal+jsonrequired
Order completed notification payload
id required | string (EventId) <= 100 characters A string that uniquely identifies an Event |
type required | string Value: "order.completed" The type of notification |
created_at required | string <date-time> (Iso8601DateTime) The Date Time format according to the ISO 8601 |
required | object |
Responses
Request samples
- Payload
{- "id": "evt_01J494G6WZAR2E2808Z8M07K4Z",
- "type": "order.completed",
- "created_at": "2024-08-08T14:28:17.967Z",
- "data": {
- "order": {
- "id": "ord_01HV3KWPNRCT870WV3XG41CAT3",
- "status": "completed",
- "type": "activate_subscription",
- "created_at": "2024-08-02T09:13:28.384Z",
- "updated_at": "2024-08-02T09:13:40.544Z",
- "completed_at": "2024-08-02T09:15:30.544Z",
- "_embedded": {
- "subscription": {
- "id": "subs_01HRCZZWCBXR40JQ6B705952WJ",
- "status": "active",
- "created_at": "2024-07-11T10:29:42.426Z",
- "updated_at": "2024-07-11T10:29:42.426Z",
- "_embedded": {
- "sim_profile": {
- "iccid": "8988211234567890023",
- "sim_type": "esim",
- "profile_status": "ready_for_installation",
- "matching_id": "5C-ZYXZZ-1R54O94",
- "smdp_address": "rsp.truphone.com",
- "_embedded": {
- "device": {
- "uicc": {
- "eid": "89049032007208882600182092769530"
}
}
}
}, - "account": {
- "id": "acc_01HRC2T6WK4CMVGFXA2RESTQ97",
- "_links": {
}
}
}, - "_links": {
- "qrcode": {
}
}
}
}, - "_links": {
}
}
}
}
Order Failed Webhook
This webhook is triggered when an order has failed.
Authorizations:
Request Body schema: application/hal+jsonrequired
Order failed notification payload
id required | string (EventId) <= 100 characters A string that uniquely identifies an Event |
type required | string Value: "order.failed" The type of notification |
created_at required | string <date-time> (Iso8601DateTime) The Date Time format according to the ISO 8601 |
required | object |
Responses
Request samples
- Payload
{- "id": "evt_01J494G6WZAR2E2808Z8M07K4Z",
- "type": "order.failed",
- "created_at": "2024-08-08T14:28:17.967Z",
- "data": {
- "order": {
- "id": "ord_01HV3KWPNRCT870WV3XG41CAT3",
- "status": "failed",
- "type": "activate_subscription",
- "created_at": "2024-08-02T09:13:28.384Z",
- "updated_at": "2024-08-02T09:13:40.544Z",
- "completed_at": "2024-08-02T09:15:30.544Z",
- "_embedded": {
- "subscription": {
- "id": "subs_01HRCZZWCBXR40JQ6B705952WJ",
- "status": "active",
- "created_at": "2024-07-11T10:29:42.426Z",
- "updated_at": "2024-07-11T10:29:42.426Z",
- "_embedded": {
- "sim_profile": {
- "iccid": "8988211234567890023",
- "sim_type": "esim",
- "profile_status": "ready_for_installation",
- "matching_id": "5C-ZYXZZ-1R54O94",
- "smdp_address": "rsp.truphone.com",
- "_embedded": {
- "device": {
- "uicc": {
- "eid": "89049032007208882600182092769530"
}
}
}
}, - "account": {
- "id": "acc_01HRC2T6WK4CMVGFXA2RESTQ97",
- "_links": {
}
}
}, - "_links": {
- "qrcode": {
}
}
}
}, - "_links": {
}
}
}
}
Porting Draft Webhook
This webhook is triggered when a porting request is in draft
Authorizations:
Request Body schema: application/hal+jsonrequired
Porting draft event schema
id required | string (EventId) <= 100 characters A string that uniquely identifies an Event |
type required | string Value: "porting.draft" The type of notification |
created_at required | string <date-time> (Iso8601DateTime) The Date Time format according to the ISO 8601 |
required | object |
Responses
Request samples
- Payload
{- "id": "evt_01J494G6WZAR2E2808Z8M07K4Z",
- "type": "porting.draft",
- "created_at": "2021-02-01T14:28:17.967Z",
- "data": {
- "porting": {
- "id": "port_01J6HE2DP5M8GKQ9P8R83VQW3J",
- "direction": "in",
- "preferred_schedule": {
- "type": "specific_date",
- "preferred_porting_at": "2024-08-30T10:42:34.309Z"
}, - "country": "DE",
- "status": "draft",
- "msisdn": "+4912341234123",
- "donor_details": {
- "_embedded": {
- "network_operator": {
- "id": "nopr_01J6795M195EXEECTPY9Y3QD66",
- "name": "Operator Name",
- "trade_name": "Trade Operator Name",
- "country": "DE",
- "status": "active",
- "created_at": "2024-08-30T10:42:34.309Z",
- "updated_at": "2024-08-30T10:42:34.309Z",
- "_links": {
}
}, - "service_provider": {
- "id": "spro_01J6795M195EXEECTPY9Y3QD66",
- "name": "Provider Name",
- "country": "DE",
- "status": "active",
- "created_at": "2024-08-30T10:42:34.309Z",
- "updated_at": "2024-08-30T10:42:34.309Z",
- "_links": {
}
}
}, - "account": {
- "type": "personal"
}
}, - "created_at": "2024-08-30T10:42:34.309Z",
- "updated_at": "2024-08-30T10:42:34.309Z",
- "_links": {
- "subscriber": {
}, - "subscription": {
}, - "phone_number": {
}
}
}
}
}
Porting Pending Webhook
This webhook is triggered when a porting request is in pending
Authorizations:
Request Body schema: application/hal+jsonrequired
Porting pending event schema
id required | string (EventId) <= 100 characters A string that uniquely identifies an Event |
type required | string Value: "porting.pending" The type of notification |
created_at required | string <date-time> (Iso8601DateTime) The Date Time format according to the ISO 8601 |
required | object |
Responses
Request samples
- Payload
{- "id": "evt_01J494G6WZAR2E2808Z8M07K4Z",
- "type": "porting.pending",
- "created_at": "2021-02-01T14:28:17.967Z",
- "data": {
- "porting": {
- "id": "port_01J6HE2DP5M8GKQ9P8R83VQW3J",
- "direction": "in",
- "preferred_schedule": {
- "type": "specific_date",
- "preferred_porting_at": "2024-08-30T10:42:34.309Z"
}, - "country": "DE",
- "status": "pending",
- "msisdn": "+4912341234123",
- "donor_details": {
- "_embedded": {
- "network_operator": {
- "id": "nopr_01J6795M195EXEECTPY9Y3QD66",
- "name": "Operator Name",
- "trade_name": "Trade Operator Name",
- "country": "DE",
- "status": "active",
- "created_at": "2024-08-30T10:42:34.309Z",
- "updated_at": "2024-08-30T10:42:34.309Z",
- "_links": {
}
}, - "service_provider": {
- "id": "spro_01J6795M195EXEECTPY9Y3QD66",
- "name": "Provider Name",
- "country": "DE",
- "status": "active",
- "created_at": "2024-08-30T10:42:34.309Z",
- "updated_at": "2024-08-30T10:42:34.309Z",
- "_links": {
}
}
}, - "account": {
- "type": "personal"
}
}, - "created_at": "2024-08-30T10:42:34.309Z",
- "updated_at": "2024-08-30T10:42:34.309Z",
- "_links": {
- "subscriber": {
}, - "subscription": {
}, - "phone_number": {
}
}
}
}
}
Porting Scheduled Webhook
This webhook is triggered when a porting request is in Scheduled
Authorizations:
Request Body schema: application/hal+jsonrequired
Porting draft event schema
id required | string (EventId) <= 100 characters A string that uniquely identifies an Event |
type required | string Value: "porting.scheduled" The type of notification |
created_at required | string <date-time> (Iso8601DateTime) The Date Time format according to the ISO 8601 |
required | object |
Responses
Request samples
- Payload
{- "id": "evt_01J494G6WZAR2E2808Z8M07K4Z",
- "type": "porting.scheduled",
- "created_at": "2021-02-01T14:28:17.967Z",
- "data": {
- "porting": {
- "id": "port_01J6HE2DP5M8GKQ9P8R83VQW3J",
- "direction": "in",
- "preferred_schedule": {
- "type": "specific_date",
- "preferred_porting_at": "2024-08-30T10:42:34.309Z"
}, - "country": "DE",
- "status": "scheduled",
- "msisdn": "+4912341234123",
- "donor_details": {
- "_embedded": {
- "network_operator": {
- "id": "nopr_01J6795M195EXEECTPY9Y3QD66",
- "name": "Operator Name",
- "trade_name": "Trade Operator Name",
- "country": "DE",
- "status": "active",
- "created_at": "2024-08-30T10:42:34.309Z",
- "updated_at": "2024-08-30T10:42:34.309Z",
- "_links": {
}
}, - "service_provider": {
- "id": "spro_01J6795M195EXEECTPY9Y3QD66",
- "name": "Provider Name",
- "country": "DE",
- "status": "active",
- "created_at": "2024-08-30T10:42:34.309Z",
- "updated_at": "2024-08-30T10:42:34.309Z",
- "_links": {
}
}
}, - "account": {
- "type": "personal"
}
}, - "cancelation_deadline_at": "2024-10-01T14:28:17.456Z",
- "scheduled_at": "2024-10-01T14:28:17.456Z",
- "created_at": "2024-08-30T10:42:34.309Z",
- "updated_at": "2024-08-30T10:42:34.309Z",
- "_links": {
- "subscriber": {
}, - "subscription": {
}, - "phone_number": {
}, - "request-cancelation": {
}
}
}
}
}
Porting Processing Webhook
This webhook is triggered when a porting request is in Processing
Authorizations:
Request Body schema: application/hal+jsonrequired
Porting Processing event schema
id required | string (EventId) <= 100 characters A string that uniquely identifies an Event |
type required | string Value: "porting.processing" The type of notification |
created_at required | string <date-time> (Iso8601DateTime) The Date Time format according to the ISO 8601 |
required | object |
Responses
Request samples
- Payload
{- "id": "evt_01J494G6WZAR2E2808Z8M07K4Z",
- "type": "porting.processing",
- "created_at": "2021-02-01T14:28:17.967Z",
- "data": {
- "porting": {
- "id": "port_01J6HE2DP5M8GKQ9P8R83VQW3J",
- "direction": "in",
- "preferred_schedule": {
- "type": "specific_date",
- "preferred_porting_at": "2024-08-30T10:42:34.309Z"
}, - "country": "DE",
- "status": "processing",
- "msisdn": "+4912341234123",
- "donor_details": {
- "_embedded": {
- "network_operator": {
- "id": "nopr_01J6795M195EXEECTPY9Y3QD66",
- "name": "Operator Name",
- "trade_name": "Trade Operator Name",
- "country": "DE",
- "status": "active",
- "created_at": "2024-08-30T10:42:34.309Z",
- "updated_at": "2024-08-30T10:42:34.309Z",
- "_links": {
}
}, - "service_provider": {
- "id": "spro_01J6795M195EXEECTPY9Y3QD66",
- "name": "Provider Name",
- "country": "DE",
- "status": "active",
- "created_at": "2024-08-30T10:42:34.309Z",
- "updated_at": "2024-08-30T10:42:34.309Z",
- "_links": {
}
}
}, - "account": {
- "type": "personal"
}
}, - "scheduled_at": "2024-10-01T14:28:17.456Z",
- "created_at": "2024-08-30T10:42:34.309Z",
- "updated_at": "2024-08-30T10:42:34.309Z",
- "_links": {
- "subscriber": {
}, - "subscription": {
}, - "phone_number": {
}
}
}
}
}
Porting Completed Webhook
This webhook is triggered when a porting request is in Completed
Authorizations:
Request Body schema: application/hal+jsonrequired
Porting Completed event schema
id required | string (EventId) <= 100 characters A string that uniquely identifies an Event |
type required | string Value: "porting.completed" The type of notification |
created_at required | string <date-time> (Iso8601DateTime) The Date Time format according to the ISO 8601 |
required | object |
Responses
Request samples
- Payload
{- "id": "evt_01J494G6WZAR2E2808Z8M07K4Z",
- "type": "porting.completed",
- "created_at": "2021-02-01T14:28:17.967Z",
- "data": {
- "porting": {
- "id": "port_01J6HE2DP5M8GKQ9P8R83VQW3J",
- "direction": "in",
- "preferred_schedule": {
- "type": "specific_date",
- "preferred_porting_at": "2024-08-30T10:42:34.309Z"
}, - "country": "DE",
- "status": "completed",
- "msisdn": "+4912341234123",
- "donor_details": {
- "_embedded": {
- "network_operator": {
- "id": "nopr_01J6795M195EXEECTPY9Y3QD66",
- "name": "Operator Name",
- "trade_name": "Trade Operator Name",
- "country": "DE",
- "status": "active",
- "created_at": "2024-08-30T10:42:34.309Z",
- "updated_at": "2024-08-30T10:42:34.309Z",
- "_links": {
}
}, - "service_provider": {
- "id": "spro_01J6795M195EXEECTPY9Y3QD66",
- "name": "Provider Name",
- "country": "DE",
- "status": "active",
- "created_at": "2024-08-30T10:42:34.309Z",
- "updated_at": "2024-08-30T10:42:34.309Z",
- "_links": {
}
}
}, - "account": {
- "type": "personal"
}
}, - "completed_at": "2024-10-01T14:28:17.456Z",
- "created_at": "2024-08-30T10:42:34.309Z",
- "updated_at": "2024-08-30T10:42:34.309Z",
- "_links": {
- "subscriber": {
}, - "subscription": {
}, - "phone_number": {
}
}
}
}
}
Porting Cancelation Requested Webhook
This webhook is triggered when a porting request is in CancelationRequested
Authorizations:
Request Body schema: application/hal+jsonrequired
Porting CancelationRequested event schema
id required | string (EventId) <= 100 characters A string that uniquely identifies an Event |
type required | string Value: "porting.cancelation_requested" The type of notification |
created_at required | string <date-time> (Iso8601DateTime) The Date Time format according to the ISO 8601 |
required | object |
Responses
Request samples
- Payload
{- "id": "evt_01J494G6WZAR2E2808Z8M07K4Z",
- "type": "porting.cancelation_requested",
- "created_at": "2021-02-01T14:28:17.967Z",
- "data": {
- "porting": {
- "id": "port_01J6HE2DP5M8GKQ9P8R83VQW3J",
- "direction": "in",
- "preferred_schedule": {
- "type": "specific_date",
- "preferred_porting_at": "2024-08-30T10:42:34.309Z"
}, - "country": "DE",
- "status": "cancelation_requested",
- "msisdn": "+4912341234123",
- "donor_details": {
- "_embedded": {
- "network_operator": {
- "id": "nopr_01J6795M195EXEECTPY9Y3QD66",
- "name": "Operator Name",
- "trade_name": "Trade Operator Name",
- "country": "DE",
- "status": "active",
- "created_at": "2024-08-30T10:42:34.309Z",
- "updated_at": "2024-08-30T10:42:34.309Z",
- "_links": {
}
}, - "service_provider": {
- "id": "spro_01J6795M195EXEECTPY9Y3QD66",
- "name": "Provider Name",
- "country": "DE",
- "status": "active",
- "created_at": "2024-08-30T10:42:34.309Z",
- "updated_at": "2024-08-30T10:42:34.309Z",
- "_links": {
}
}
}, - "account": {
- "type": "personal"
}
}, - "cancelation_deadline_at": "2024-10-01T14:28:17.456Z",
- "scheduled_at": "2024-10-01T14:28:17.456Z",
- "created_at": "2024-08-30T10:42:34.309Z",
- "updated_at": "2024-08-30T10:42:34.309Z",
- "_links": {
- "subscriber": {
}, - "subscription": {
}, - "phone_number": {
}
}
}
}
}
Porting Canceled Webhook
This webhook is triggered when a porting request is in Canceled
Authorizations:
Request Body schema: application/hal+jsonrequired
Porting Canceled event schema
id required | string (EventId) <= 100 characters A string that uniquely identifies an Event |
type required | string Value: "porting.canceled" The type of notification |
created_at required | string <date-time> (Iso8601DateTime) The Date Time format according to the ISO 8601 |
required | object |
Responses
Request samples
- Payload
{- "id": "evt_01J494G6WZAR2E2808Z8M07K4Z",
- "type": "porting.canceled",
- "created_at": "2021-02-01T14:28:17.967Z",
- "data": {
- "porting": {
- "id": "port_01J6HE2DP5M8GKQ9P8R83VQW3J",
- "direction": "in",
- "preferred_schedule": {
- "type": "specific_date",
- "preferred_porting_at": "2024-08-30T10:42:34.309Z"
}, - "country": "DE",
- "status": "canceled",
- "msisdn": "+4912341234123",
- "donor_details": {
- "_embedded": {
- "network_operator": {
- "id": "nopr_01J6795M195EXEECTPY9Y3QD66",
- "name": "Operator Name",
- "trade_name": "Trade Operator Name",
- "country": "DE",
- "status": "active",
- "created_at": "2024-08-30T10:42:34.309Z",
- "updated_at": "2024-08-30T10:42:34.309Z",
- "_links": {
}
}, - "service_provider": {
- "id": "spro_01J6795M195EXEECTPY9Y3QD66",
- "name": "Provider Name",
- "country": "DE",
- "status": "active",
- "created_at": "2024-08-30T10:42:34.309Z",
- "updated_at": "2024-08-30T10:42:34.309Z",
- "_links": {
}
}
}, - "account": {
- "type": "personal"
}
}, - "canceled_at": "2024-10-01T14:28:17.456Z",
- "created_at": "2024-08-30T10:42:34.309Z",
- "updated_at": "2024-08-30T10:42:34.309Z",
- "_links": {
- "subscriber": {
}, - "subscription": {
}, - "phone_number": {
}
}
}
}
}
Porting Rejected Webhook
This webhook is triggered when a porting request is in Rejected
Authorizations:
Request Body schema: application/hal+jsonrequired
Porting Rejected event schema
id required | string (EventId) <= 100 characters A string that uniquely identifies an Event |
type required | string Value: "porting.rejected" The type of notification |
created_at required | string <date-time> (Iso8601DateTime) The Date Time format according to the ISO 8601 |
required | object |
Responses
Request samples
- Payload
{- "id": "evt_01J494G6WZAR2E2808Z8M07K4Z",
- "type": "porting.rejected",
- "created_at": "2021-02-01T14:28:17.967Z",
- "data": {
- "porting": {
- "id": "port_01J6HE2DP5M8GKQ9P8R83VQW3J",
- "direction": "in",
- "preferred_schedule": {
- "type": "specific_date",
- "preferred_porting_at": "2024-08-30T10:42:34.309Z"
}, - "country": "DE",
- "status": "rejected",
- "msisdn": "+4912341234123",
- "donor_details": {
- "_embedded": {
- "network_operator": {
- "id": "nopr_01J6795M195EXEECTPY9Y3QD66",
- "name": "Operator Name",
- "trade_name": "Trade Operator Name",
- "country": "DE",
- "status": "active",
- "created_at": "2024-08-30T10:42:34.309Z",
- "updated_at": "2024-08-30T10:42:34.309Z",
- "_links": {
}
}, - "service_provider": {
- "id": "spro_01J6795M195EXEECTPY9Y3QD66",
- "name": "Provider Name",
- "country": "DE",
- "status": "active",
- "created_at": "2024-08-30T10:42:34.309Z",
- "updated_at": "2024-08-30T10:42:34.309Z",
- "_links": {
}
}
}, - "account": {
- "type": "personal"
}
}, - "rejection": {
- "reason": "wrong_birth_date",
- "message": "Wrong birth date",
- "rejected_at": "2024-08-31T10:42:34.309Z"
}, - "created_at": "2024-08-30T10:42:34.309Z",
- "updated_at": "2024-08-30T10:42:34.309Z",
- "_links": {
- "subscriber": {
}, - "subscription": {
}, - "phone_number": {
}
}
}
}
}
Contract Created Webhook
This webhook is triggered when a new contract is created.
Authorizations:
Request Body schema: application/hal+jsonrequired
Contract event schema
id required | string (EventId) <= 100 characters A string that uniquely identifies an Event |
type required | string Value: "contract.created" The type of notification |
created_at required | string <date-time> (Iso8601DateTime) The Date Time format according to the ISO 8601 |
required | object |
Responses
Request samples
- Payload
{- "id": "evt_01J494G6WZAR2E2808Z8M07K4Z",
- "type": "contract.created",
- "created_at": "2021-02-01T14:28:17.967Z",
- "data": {
- "contract": {
- "id": "con_1234",
- "type": "contract_summary",
- "created_at": "2024-08-30T10:42:34.309Z",
- "_embedded": {
- "account": {
- "id": "acc_01HRC2T6WK4CMVGFXA2RESTQ97",
- "_links": {
}
}, - "order": {
- "id": "ord_01HRC2T6WK4CMVGFXA2RESTQ97",
- "_links": {
}
}
}, - "_links": {
}
}
}
}
Invoice Open Webhook
This webhook is triggered when a new invoice is open.
Authorizations:
Request Body schema: application/hal+jsonrequired
Invoice event schema
id required | string (EventId) <= 100 characters A string that uniquely identifies an Event |
type required | string Value: "invoice.open" The type of notification |
created_at required | string <date-time> (Iso8601DateTime) The Date Time format according to the ISO 8601 |
required | object |
Responses
Request samples
- Payload
{- "id": "evt_01J494G6WZAR2E2808Z8M07K4Z",
- "type": "invoice.open",
- "created_at": "2021-02-01T14:28:17.967Z",
- "data": {
- "invoice": {
- "id": "inv_1234",
- "status": "paid",
- "created_at": "2024-10-01T14:28:17.456Z",
- "number": "INV-2025-001",
- "period": "2025-02-10T00:00:00Z/2025-02-15T23:59:59Z",
- "total": {
- "amount": 5400,
- "currency": "EUR"
}, - "amount_breakdown": [
- {
- "type": "recurring",
- "total": {
- "amount": 2400,
- "currency": "EUR"
}
}, - {
- "type": "sms_oob",
- "total": {
- "amount": 600,
- "currency": "EUR"
}
}, - {
- "type": "voice_oob",
- "total": {
- "amount": 1200,
- "currency": "EUR"
}
}, - {
- "type": "one_off",
- "total": {
- "amount": 1200,
- "currency": "EUR"
}
}
], - "_embedded": {
- "account": {
- "id": "acc_01BX5ZZKBKACTAV9WEVGEMMVRY",
- "_links": {
}
}
}, - "_links": {
}
}
}
}