GetUserBalance

GET

Get User Balance

Returns the Indosat Ooredoo mobile subscriber balance.

 

Accessing this API requires to pass in the access_token value in the header. For more information on how to generate your access_token, please refer to this section.

 

 

Request

Method URL
GET https://blinke-stage.apigee.net/io/users/{mobile_number}/balance

 

 

Request Headers

Name Description Mandatory
Authorization Bearer access_token Yes
Content-Type application/json Yes

 

 

Path Parameter

Name Description
mobile_number*
string
The Indosat Ooredoo subscriber's mobile phone number (e.g. valid prefix number: 08xx – ISAT Number).

 

 

Response

Result of the successful request contains following information:

Name Description
balance
string
String represent the amount of balance.
currency
string
Currency code in ISO 4217 format.
modified
string
Latest modification date/time in UNIX time format.

 

 

Response (Example)

HTTP Code Response
200
{
    "balance": "150000",
    "currency": "IDR",
    "modified": "1509468548335"
}
401
{
    "fault": {
        "faultstring": "Invalid Access Token",
        "detail": {
            "errorcode": "keymanagement.service.invalid_access_token"
        }
    }
}

 

 

Sandbox limitation
  • Sandbox request only allows to check the following phone numbers, otherwise it will return "0" or N/A.

    Mobile Phone Balance Subscriber Type
    085888603300 0 IDR Postpaid
    08558063720 0 IDR Postpaid
    085798771688 25000 IDR Prepaid
    08558567242 0 IDR Postpaid
    085798771666 150000 IDR Prepaid

Resource URL

https://blinke-stage.apigee.net /io/users/{msisdn}/balance

Header Parameters


Name Values Description
Content-Type
(required)

application/json

Authorization
(required)

Bearer access_token

Request Body

HTTP Basic

OAuth 2.0

API Key

Reset

Make a request and see the response.

Make a request and see the response.

Make a request and see the response.

Resource Summary

Security

Working...