U2c Mobile API Documentation

Postman collection → OpenAPI spec →

Introduction

U2c Mobile API Documentation.

Authenticating requests

To authenticate requests, include an Authorization header with the value "Bearer {YOUR_API_TOKEN}".

All authenticated endpoints are marked with a requires authentication badge in the documentation below.

You can retrieve your token by calling login method.

Endpoints

POST api/login

POST
https://api2.u2cmobile.com
/api/login

This endpoint allows you to fetch your access token..

Headers

Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
$client = new \GuzzleHttp\Client();
$url = 'https://api2.u2cmobile.com/api/login';
$response = $client->post(
    $url,
    [
        'headers' => [
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
        'json' => [
            'email' => 'cassie52@example.net',
            'password' => 'password',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response:

POST api/helix-post-data

POST
https://api2.u2cmobile.com
/api/helix-post-data
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_API_TOKEN}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
$client = new \GuzzleHttp\Client();
$url = 'https://api2.u2cmobile.com/api/helix-post-data';
$response = $client->post(
    $url,
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_API_TOKEN}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

GET api/brands

GET
https://api2.u2cmobile.com
/api/brands
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_API_TOKEN}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
$client = new \GuzzleHttp\Client();
$url = 'https://api2.u2cmobile.com/api/brands';
$response = $client->get(
    $url,
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_API_TOKEN}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response:
Headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
    "status_code": 401,
    "success": false,
    "message": "Unauthenticated.",
    "data": null
}

GET api/brand/{id}

GET
https://api2.u2cmobile.com
/api/brand/{id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_API_TOKEN}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

id
string
required

The ID of the brand.

Example:
564
Example request:
$client = new \GuzzleHttp\Client();
$url = 'https://api2.u2cmobile.com/api/brand/564';
$response = $client->get(
    $url,
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_API_TOKEN}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response:
Headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
    "status_code": 401,
    "success": false,
    "message": "Unauthenticated.",
    "data": null
}

GET api/activation/plans/{brand_id}

GET
https://api2.u2cmobile.com
/api/activation/plans/{brand_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_API_TOKEN}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

brand_id
string
required

The ID of the brand.

Example:
564
Example request:
$client = new \GuzzleHttp\Client();
$url = 'https://api2.u2cmobile.com/api/activation/plans/564';
$response = $client->get(
    $url,
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_API_TOKEN}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response:
Headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
    "status_code": 401,
    "success": false,
    "message": "Unauthenticated.",
    "data": null
}

GET api/activation/plans-by-mdn/{mdn}

GET
https://api2.u2cmobile.com
/api/activation/plans-by-mdn/{mdn}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_API_TOKEN}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

mdn
string
required
Example:
architecto
Example request:
$client = new \GuzzleHttp\Client();
$url = 'https://api2.u2cmobile.com/api/activation/plans-by-mdn/architecto';
$response = $client->get(
    $url,
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_API_TOKEN}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response:
Headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
    "status_code": 401,
    "success": false,
    "message": "Unauthenticated.",
    "data": null
}

GET api/refill/plans/{brand_id}

GET
https://api2.u2cmobile.com
/api/refill/plans/{brand_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_API_TOKEN}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

brand_id
string
required

The ID of the brand.

Example:
564
Example request:
$client = new \GuzzleHttp\Client();
$url = 'https://api2.u2cmobile.com/api/refill/plans/564';
$response = $client->get(
    $url,
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_API_TOKEN}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response:
Headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
    "status_code": 401,
    "success": false,
    "message": "Unauthenticated.",
    "data": null
}

GET api/activation/plan/{id}

GET
https://api2.u2cmobile.com
/api/activation/plan/{id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_API_TOKEN}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

id
string
required

The ID of the plan.

Example:
architecto
Example request:
$client = new \GuzzleHttp\Client();
$url = 'https://api2.u2cmobile.com/api/activation/plan/architecto';
$response = $client->get(
    $url,
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_API_TOKEN}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response:
Headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
    "status_code": 401,
    "success": false,
    "message": "Unauthenticated.",
    "data": null
}

GET api/refill/plan/{id}

GET
https://api2.u2cmobile.com
/api/refill/plan/{id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_API_TOKEN}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

id
string
required

The ID of the plan.

Example:
architecto
Example request:
$client = new \GuzzleHttp\Client();
$url = 'https://api2.u2cmobile.com/api/refill/plan/architecto';
$response = $client->get(
    $url,
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_API_TOKEN}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response:
Headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
    "status_code": 401,
    "success": false,
    "message": "Unauthenticated.",
    "data": null
}

POST api/activation

POST
https://api2.u2cmobile.com
/api/activation
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_API_TOKEN}
Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
$client = new \GuzzleHttp\Client();
$url = 'https://api2.u2cmobile.com/api/activation';
$response = $client->post(
    $url,
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_API_TOKEN}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
        'json' => [
            'brand_id' => 16,
            'plan_id' => 16,
            'imei' => 4326.41688,
            'first_name' => 'architecto',
            'last_name' => 'architecto',
            'email' => 'zbailey@example.net',
            'address' => 'architecto',
            'city' => 'architecto',
            'state' => 'architecto',
            'zipcode' => 4326.41688,
            'sim_type' => 'esim',
            'source' => 'architecto',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

POST api/activation-calculation

POST
https://api2.u2cmobile.com
/api/activation-calculation
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_API_TOKEN}
Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
$client = new \GuzzleHttp\Client();
$url = 'https://api2.u2cmobile.com/api/activation-calculation';
$response = $client->post(
    $url,
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_API_TOKEN}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
        'json' => [
            'plan_id' => 4326.41688,
            'month' => '12',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

POST api/refill

POST
https://api2.u2cmobile.com
/api/refill
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_API_TOKEN}
Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
$client = new \GuzzleHttp\Client();
$url = 'https://api2.u2cmobile.com/api/refill';
$response = $client->post(
    $url,
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_API_TOKEN}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
        'json' => [
            'mdn' => 'bngzmi',
            'plan_id' => 16,
            'amount' => 4326.41688,
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

POST api/refill-with-card

POST
https://api2.u2cmobile.com
/api/refill-with-card
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_API_TOKEN}
Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
$client = new \GuzzleHttp\Client();
$url = 'https://api2.u2cmobile.com/api/refill-with-card';
$response = $client->post(
    $url,
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_API_TOKEN}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
        'json' => [
            'mdn' => 'bngzmi',
            'plan_id' => 16,
            'amount' => 4326.41688,
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

POST api/portin

POST
https://api2.u2cmobile.com
/api/portin
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_API_TOKEN}
Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
$client = new \GuzzleHttp\Client();
$url = 'https://api2.u2cmobile.com/api/portin';
$response = $client->post(
    $url,
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_API_TOKEN}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
        'json' => [
            'brand_id' => 4326.41688,
            'plan_id' => 4326.41688,
            'imei' => '822569775449171',
            'first_name' => 'architecto',
            'last_name' => 'architecto',
            'email' => 'zbailey@example.net',
            'address' => 'architecto',
            'city' => 'architecto',
            'state' => 'architecto',
            'zipcode' => 4326.41688,
            'sim_type' => 'esim',
            'mdn' => '1374491716806',
            'account_number' => 'architecto',
            'account_password' => 'architecto',
            'authorizer_first_name' => 'architecto',
            'authorizer_last_name' => 'architecto',
            'authorizer_address' => 'architecto',
            'authorizer_city' => 'architecto',
            'authorizer_state' => 'architecto',
            'authorizer_zipcode' => 4326.41688,
            'phone' => '1374491716806',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

POST api/portin-with-card

POST
https://api2.u2cmobile.com
/api/portin-with-card
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_API_TOKEN}
Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
$client = new \GuzzleHttp\Client();
$url = 'https://api2.u2cmobile.com/api/portin-with-card';
$response = $client->post(
    $url,
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_API_TOKEN}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
        'json' => [
            'brand_id' => 4326.41688,
            'plan_id' => 4326.41688,
            'imei' => '822569775449171',
            'first_name' => 'architecto',
            'last_name' => 'architecto',
            'email' => 'zbailey@example.net',
            'address' => 'architecto',
            'city' => 'architecto',
            'state' => 'architecto',
            'zipcode' => 4326.41688,
            'sim_type' => 'esim',
            'mdn' => '1374491716806',
            'account_number' => 'architecto',
            'account_password' => 'architecto',
            'authorizer_first_name' => 'architecto',
            'authorizer_last_name' => 'architecto',
            'authorizer_address' => 'architecto',
            'authorizer_city' => 'architecto',
            'authorizer_state' => 'architecto',
            'authorizer_zipcode' => 4326.41688,
            'phone' => '1374491716806',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

POST api/helix/suspend

POST
https://api2.u2cmobile.com
/api/helix/suspend
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_API_TOKEN}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
$client = new \GuzzleHttp\Client();
$url = 'https://api2.u2cmobile.com/api/helix/suspend';
$response = $client->post(
    $url,
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_API_TOKEN}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

POST api/helix/deactivate

POST
https://api2.u2cmobile.com
/api/helix/deactivate
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_API_TOKEN}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
$client = new \GuzzleHttp\Client();
$url = 'https://api2.u2cmobile.com/api/helix/deactivate';
$response = $client->post(
    $url,
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_API_TOKEN}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

POST api/helix/resotre

POST
https://api2.u2cmobile.com
/api/helix/resotre
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_API_TOKEN}
Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
$client = new \GuzzleHttp\Client();
$url = 'https://api2.u2cmobile.com/api/helix/resotre';
$response = $client->post(
    $url,
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_API_TOKEN}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
        'json' => [
            'mdn' => 'architecto',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

GET api/transaction/{public_id}

GET
https://api2.u2cmobile.com
/api/transaction/{public_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_API_TOKEN}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

public_id
string
required

The ID of the public.

Example:
architecto
Example request:
$client = new \GuzzleHttp\Client();
$url = 'https://api2.u2cmobile.com/api/transaction/architecto';
$response = $client->get(
    $url,
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_API_TOKEN}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response:
Headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
    "status_code": 401,
    "success": false,
    "message": "Unauthenticated.",
    "data": null
}

POST api/esim/qr

POST
https://api2.u2cmobile.com
/api/esim/qr
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_API_TOKEN}
Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
$client = new \GuzzleHttp\Client();
$url = 'https://api2.u2cmobile.com/api/esim/qr';
$response = $client->post(
    $url,
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_API_TOKEN}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
        'json' => [
            'brand_id' => 4326.41688,
            'sim_no' => 'architecto',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

GET api/esim/qr/{public_id}

GET
https://api2.u2cmobile.com
/api/esim/qr/{public_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_API_TOKEN}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

public_id
string
required

The ID of the public.

Example:
architecto
Example request:
$client = new \GuzzleHttp\Client();
$url = 'https://api2.u2cmobile.com/api/esim/qr/architecto';
$response = $client->get(
    $url,
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_API_TOKEN}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response:
Headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
    "status_code": 401,
    "success": false,
    "message": "Unauthenticated.",
    "data": null
}

GET api/esim/qr/v2/{public_id}

GET
https://api2.u2cmobile.com
/api/esim/qr/v2/{public_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_API_TOKEN}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

public_id
string
required

The ID of the public.

Example:
architecto
Example request:
$client = new \GuzzleHttp\Client();
$url = 'https://api2.u2cmobile.com/api/esim/qr/v2/architecto';
$response = $client->get(
    $url,
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_API_TOKEN}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response:
Headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
    "status_code": 401,
    "success": false,
    "message": "Unauthenticated.",
    "data": null
}

POST api/coupon-referral-code

POST
https://api2.u2cmobile.com
/api/coupon-referral-code
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_API_TOKEN}
Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
$client = new \GuzzleHttp\Client();
$url = 'https://api2.u2cmobile.com/api/coupon-referral-code';
$response = $client->post(
    $url,
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_API_TOKEN}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
        'json' => [
            'brand_id' => 'architecto',
            'plan_id' => 'architecto',
            'month' => 'architecto',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

POST api/device/check-imei

POST
https://api2.u2cmobile.com
/api/device/check-imei
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_API_TOKEN}
Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
$client = new \GuzzleHttp\Client();
$url = 'https://api2.u2cmobile.com/api/device/check-imei';
$response = $client->post(
    $url,
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_API_TOKEN}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
        'json' => [
            'imei' => '822569775449171',
            'brand_id' => 16,
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

POST api/getTaxRateByAddress

POST
https://api2.u2cmobile.com
/api/getTaxRateByAddress
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_API_TOKEN}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
$client = new \GuzzleHttp\Client();
$url = 'https://api2.u2cmobile.com/api/getTaxRateByAddress';
$response = $client->post(
    $url,
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_API_TOKEN}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

POST api/taxRatesCalculation

POST
https://api2.u2cmobile.com
/api/taxRatesCalculation
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_API_TOKEN}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
$client = new \GuzzleHttp\Client();
$url = 'https://api2.u2cmobile.com/api/taxRatesCalculation';
$response = $client->post(
    $url,
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_API_TOKEN}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

POST api/customer/login

POST
https://api2.u2cmobile.com
/api/customer/login
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_API_TOKEN}
Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
$client = new \GuzzleHttp\Client();
$url = 'https://api2.u2cmobile.com/api/customer/login';
$response = $client->post(
    $url,
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_API_TOKEN}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
        'json' => [
            'email' => 'gbailey@example.net',
            'password' => 'architecto',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

POST api/customer/register

POST
https://api2.u2cmobile.com
/api/customer/register
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_API_TOKEN}
Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
$client = new \GuzzleHttp\Client();
$url = 'https://api2.u2cmobile.com/api/customer/register';
$response = $client->post(
    $url,
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_API_TOKEN}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
        'json' => [
            'first_name' => 'b',
            'last_name' => 'n',
            'email' => 'ashly64@example.com',
            'password' => 'pBNvYg',
            'gender' => 'other',
            'phone' => 'hwaykc',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

🔹 Send OTP using either email or MDN.

POST
https://api2.u2cmobile.com
/api/customer/send-otp
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_API_TOKEN}
Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
$client = new \GuzzleHttp\Client();
$url = 'https://api2.u2cmobile.com/api/customer/send-otp';
$response = $client->post(
    $url,
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_API_TOKEN}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
        'json' => [
            'email' => 'gbailey@example.net',
            'mdn' => 'm',
            'brand_id' => 16,
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

🔹 Verify OTP using either email or MDN.

POST
https://api2.u2cmobile.com
/api/customer/verify-otp
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_API_TOKEN}
Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
$client = new \GuzzleHttp\Client();
$url = 'https://api2.u2cmobile.com/api/customer/verify-otp';
$response = $client->post(
    $url,
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_API_TOKEN}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
        'json' => [
            'email' => 'gbailey@example.net',
            'mdn' => 'm',
            'otp' => '569775',
            'brand_id' => 16,
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

POST api/customer/check-email

POST
https://api2.u2cmobile.com
/api/customer/check-email
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_API_TOKEN}
Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
$client = new \GuzzleHttp\Client();
$url = 'https://api2.u2cmobile.com/api/customer/check-email';
$response = $client->post(
    $url,
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_API_TOKEN}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
        'json' => [
            'email' => 'gbailey@example.net',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

List all cards for the logged-in customer.

GET
https://api2.u2cmobile.com
/api/customer/cards
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_API_TOKEN}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
$client = new \GuzzleHttp\Client();
$url = 'https://api2.u2cmobile.com/api/customer/cards';
$response = $client->get(
    $url,
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_API_TOKEN}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response:
Headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
    "message": "Unauthenticated."
}

Store a new customer card.

POST
https://api2.u2cmobile.com
/api/customer/cards
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_API_TOKEN}
Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
$client = new \GuzzleHttp\Client();
$url = 'https://api2.u2cmobile.com/api/customer/cards';
$response = $client->post(
    $url,
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_API_TOKEN}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
        'json' => [
            'card_name' => 'b',
            'card_type' => 'n',
            'name' => 'g',
            'email' => 'rowan.gulgowski@example.com',
            'phone_number' => 'dljnikhwaykcmyuw',
            'country_code' => 'pwlvqw',
            'address' => 'r',
            'city' => 's',
            'state' => 'i',
            'zip_code' => 'tcpscqldzsnrwtuj',
            'card_number' => 'architecto',
            'payment_method_id' => 'n',
            'brand_id' => 16,
            'is_default' => '1',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

Show a single card owned by the customer.

GET
https://api2.u2cmobile.com
/api/customer/cards/{id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_API_TOKEN}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

id
string
required

The ID of the card.

Example:
architecto
Example request:
$client = new \GuzzleHttp\Client();
$url = 'https://api2.u2cmobile.com/api/customer/cards/architecto';
$response = $client->get(
    $url,
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_API_TOKEN}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response:
Headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
    "message": "Unauthenticated."
}

Update a card.

PUT
PATCH
https://api2.u2cmobile.com
/api/customer/cards/{id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_API_TOKEN}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

id
string
required

The ID of the card.

Example:
architecto
Example request:
$client = new \GuzzleHttp\Client();
$url = 'https://api2.u2cmobile.com/api/customer/cards/architecto';
$response = $client->put(
    $url,
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_API_TOKEN}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

Delete a card.

DELETE
https://api2.u2cmobile.com
/api/customer/cards/{id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_API_TOKEN}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

id
string
required

The ID of the card.

Example:
architecto
Example request:
$client = new \GuzzleHttp\Client();
$url = 'https://api2.u2cmobile.com/api/customer/cards/architecto';
$response = $client->delete(
    $url,
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_API_TOKEN}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

GET api/customer/profile

GET
https://api2.u2cmobile.com
/api/customer/profile
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_API_TOKEN}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
$client = new \GuzzleHttp\Client();
$url = 'https://api2.u2cmobile.com/api/customer/profile';
$response = $client->get(
    $url,
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_API_TOKEN}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response:
Headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
    "message": "Unauthenticated."
}

Update the logged-in customer's profile.

PUT
https://api2.u2cmobile.com
/api/customer/profile
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_API_TOKEN}
Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
$client = new \GuzzleHttp\Client();
$url = 'https://api2.u2cmobile.com/api/customer/profile';
$response = $client->put(
    $url,
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_API_TOKEN}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
        'json' => [
            'first_name' => 'b',
            'last_name' => 'n',
            'address' => 'g',
            'city' => 'z',
            'state' => 'm',
            'zip_code' => 'iyvdljnikhwaykcm',
            'date_of_birth' => '2022-01-31',
            'gender' => 'female',
            'password' => ']|{+-0pBNvYg',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

GET api/customer/orders

GET
https://api2.u2cmobile.com
/api/customer/orders
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_API_TOKEN}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
$client = new \GuzzleHttp\Client();
$url = 'https://api2.u2cmobile.com/api/customer/orders';
$response = $client->get(
    $url,
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_API_TOKEN}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response:
Headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
    "message": "Unauthenticated."
}

GET api/customer/orders/{public_id}

GET
https://api2.u2cmobile.com
/api/customer/orders/{public_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_API_TOKEN}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

public_id
string
required

The ID of the public.

Example:
architecto
Example request:
$client = new \GuzzleHttp\Client();
$url = 'https://api2.u2cmobile.com/api/customer/orders/architecto';
$response = $client->get(
    $url,
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_API_TOKEN}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response:
Headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
    "message": "Unauthenticated."
}

GET api/customer/latest-order

GET
https://api2.u2cmobile.com
/api/customer/latest-order
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_API_TOKEN}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
$client = new \GuzzleHttp\Client();
$url = 'https://api2.u2cmobile.com/api/customer/latest-order';
$response = $client->get(
    $url,
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_API_TOKEN}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response:
Headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
    "message": "Unauthenticated."
}

POST api/customer/usage/{id}

POST
https://api2.u2cmobile.com
/api/customer/usage/{id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_API_TOKEN}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

id
string
required

The ID of the usage.

Example:
architecto
Example request:
$client = new \GuzzleHttp\Client();
$url = 'https://api2.u2cmobile.com/api/customer/usage/architecto';
$response = $client->post(
    $url,
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_API_TOKEN}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

GET api/customer/autopays

GET
https://api2.u2cmobile.com
/api/customer/autopays
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_API_TOKEN}
Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
$client = new \GuzzleHttp\Client();
$url = 'https://api2.u2cmobile.com/api/customer/autopays';
$response = $client->get(
    $url,
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_API_TOKEN}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
        'json' => [
            'brand_id' => 16,
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response:
Headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
    "message": "Unauthenticated."
}

POST api/customer/autopays/cancel/{id}

POST
https://api2.u2cmobile.com
/api/customer/autopays/cancel/{id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_API_TOKEN}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

id
string
required

The ID of the cancel.

Example:
architecto

Body Parameters

Example request:
$client = new \GuzzleHttp\Client();
$url = 'https://api2.u2cmobile.com/api/customer/autopays/cancel/architecto';
$response = $client->post(
    $url,
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_API_TOKEN}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
        'json' => [
            'brand_id' => 16,
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

POST api/forgot-password

POST
https://api2.u2cmobile.com
/api/forgot-password
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_API_TOKEN}
Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
$client = new \GuzzleHttp\Client();
$url = 'https://api2.u2cmobile.com/api/forgot-password';
$response = $client->post(
    $url,
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_API_TOKEN}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
        'json' => [
            'email' => 'gbailey@example.net',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

POST api/reset-password

POST
https://api2.u2cmobile.com
/api/reset-password
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_API_TOKEN}
Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
$client = new \GuzzleHttp\Client();
$url = 'https://api2.u2cmobile.com/api/reset-password';
$response = $client->post(
    $url,
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_API_TOKEN}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
        'json' => [
            'email' => 'gbailey@example.net',
            'token' => 'architecto',
            'password' => 'architecto',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

POST api/validate-reset-token

POST
https://api2.u2cmobile.com
/api/validate-reset-token
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_API_TOKEN}
Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
$client = new \GuzzleHttp\Client();
$url = 'https://api2.u2cmobile.com/api/validate-reset-token';
$response = $client->post(
    $url,
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_API_TOKEN}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
        'json' => [
            'email' => 'gbailey@example.net',
            'token' => 'architecto',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));