Checking Bundle Status

This method can be used for checking the status of previously started bundle by unique bundle ID.

Every request should be secured using JWT authentication token provided in an Authorization: Bearer header containing JWT token using the following payload and also include a JWT-Request: true header for indicating the type of request.

Please refer to the Security page for additional information about JWT.

Request URL: https://bw.fortumo.eu/b/{merchant_id}/{bundle_id}

JWT parameters

Attribute Type Description Required
aud String Audience. Identifies the recipients that the JWT is intended for. Should be set at "Fortumo". Mandatory
exp Long, Unix epoch Expiration time. Identifies the expiration time after which the JWT must not be accepted for processing. Mandatory
iat Long, Unix epoch Issued at. Identifies the time at which the JWT was issued. We strongly suggest to set this as now minus 2 minutes to avoid server time conflicts. Mandatory
iss String Issuer. Identifies the principal that issued the JWT. Value must equal to partner ID as provided by Fortumo. Mandatory
jti String Should be set at "jwt-id" Mandatory
nbf Long, Unix epoch Not before. Identifies the time before which the JWT must not be accepted for processing. Mandatory
sub String Subject. Identifies the principal that is the subject of the JWT. Should be set as "bundle". Mandatory
1
2
3
4
5
6
7
8
9
10
11
12
13
GET /b/d3ad608d0a1729727a3eb6bc0892b426/8ebd3885-7129-4e23-99c7-58e9741d3941:d3304123  HTTP/1.1
Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpc3MiOiI2N...OL4LxCc4FA-OtAb_UD9M5M
Content-Type: application/json

{
    "iss": "d3ad608d0a1729727a3eb6bc0892b426",
    "exp": 1525437711,
    "iat": 1522845411,
    "nbf": 1522845211,
    "sub": "bundle",
    "aud": "Fortumo",
    "jti": "jwt-id"
}

Response parameters

Response body is JSON with the following fields:

Attribute Type Description Required
bundle_state String Bundle activation status. Refer to detailed status codes for additional details. Mandatory
bundle_id String Unique activated bundle id. Mandatory
product String An identifier to indicate whether the consumer is on a free, promotional price or full price tier Mandatory
bundle_starts_at Datetime ISO 8601 formatted bundle validity start. Optional
bundle_ends_at Datetime ISO 8601 formatted bundle validity end. Optional
Help us improve our Merchants Portal. Was this article helpful?