Get Total Balance

It is the API that returns the total balance of the accounts authorized by the customer in TL, USD and EUR.

 

Parameters

No input parameter required.

 

Name Type Description

-

- -

Data Returned

Data is returned as JSON as specified by the dataFormat parameter.

Regardless of format, the data contains the following fields:

Name Type Description

returnCode

string Return code of API call .

returnMessage

string Return message of authorization API call.

data

string Data contains the information below.

BalanceList

Array Balance list

Currency

string Currency code. It can only be "TL", "USD", "EUR".

TotalAvailableBalance

string Total available balance

Examples

Request:

 
{   
}
  

Response:

            

{
   "returnCode": "API-00000",
   "returnMsg": "İşlem başarıyla gerçekleşmiştir.",
   "data": {
      "BalanceList": [
         {
            "Currency": "TL",
            "TotalAvailableBalance": "390.141,22"
         },
         {
            "Currency": "USD",
            "TotalAvailableBalance": "9.953,63"
         },
         {
            "Currency": "EUR",
            "TotalAvailableBalance": "8.405,51"
         }
      ],
      "IsProhibited": false,
      "ErrorCode": null,
      "DialogBoxes": [],
      "IsConfirmationRequired": false
   }
}