Account Balance


Retrieves account balance of a customer.

Input parameters

The input consists of a single path parameter. The service can be accessed only through an online request (REST).

Table 1. Path Parameter of REST GET access
Name MaxL Java-Type Allowed values Conf. Remarks
memberAlias 15 String valid M&M card number no Miles & More Number (9 to 15 digit M&M number).

Where MaxL = Maximal Length and Conf. = Confidential

Request example

Code snippet: URL

Output parameters

The output of the service consists of JSON data containing either the successful response or an error code and message.

Table 2. Output of a successul REST GET access
Name MaxL Type Allowed values Remarks
remainingTotalPoints 15 int The current account balance of the member for currency award miles
overdraftCredit 15 int The overdraft credit the member will get according to the SAMBA rules.

Where MaxL = Maximal Length

Table 3. JSON output in case of failure
Name MaxL Type Allowed values Remarks
code 10 int Error code in case of error.
message 255 String Error message in case of error.

Where MaxL = Maximal Length

Response Model

Code snippet: Model
getAccountBalanceResponse {
  remainingTotalPoints (integer, optional),
  overdraftCredit (integer, optional)

Response Example

Code snippet: Json
  "mmAccountNumber": "string", 
  "customerNumber": "string", 
  "primaryMmCardNumber": "string", 
  "status": "string", 
  "numberStars": 0, 
  "lastStarChangeDate": "string"