Home Support SMS API

Balance Query

Description: The protocol is used to get account balance

Request URL:

                    
                      https://api.onbuka.com/v3/getBalance
                    
                  

Request Sample:

                    
                      RequestURL:
                        https://api.onbuka.com/v3/getBalance
                      RequestMethod:
                        GET
                      RequestHeaders:
                        Content-Type:application/json;charset=UTF-8
                        Sign:05d7a50893e22a5c4bb3216ae3396c7c
                        Timestamp:1630468800
                        Api-Key:bDqJFiq9
                    
                  

Response Parameters Description:

Parameters Parameters Type

status

"0"means successful,others than 0 means failure, seeing Status code description.

String

reason

Failure reason description

String

balance

Actual account balance

String

gift

Gifted account balance

String

credit

Credit account balance

String

Response Sample:

                    
                      {
                        "status": "0",
                        "reason": "success",
                        "balance": "99.990000",
                        "gift": "50.00000",
                        "credit": "0"
                      }
                    
                  
 

Previous Topic: Sign Signature Rule
Next Topic: Sending Messages

Feedback

0/500