Rest Full API

BALANCE introduction

BSG provides an API to get the balance information of your account.

 

URI

https://app.bsg.hk/rest/common/balance

Available http methods:

  • GET /rest/common/balance

The balance object

This object represents your balance information.

ATTRIBUTES

Attribute Type Description
amount float The amount of balance.
currency string For all supported currencies, an ISO-4217 code is returned.
limit int The credit limit of the postpay payment type.

REQUIRED PARAMETERS

No parameters are required.

RETURNS
Returns a balance object if the request was successful. If the request failed, an error object will be returned.

EXAMPLE RESPONSE

{
"error":0,
"errorDescription":"No errors",
"amount":"-0.2800005",
"currency":"EUR",
"limit":"10"
}
Menu