Skip to main content
GET
Query Account Balance

Authorizations

x-ti-app-id
string
header
required

Please Sign in to TextIn and navigate to "Console - API Keys" to view x-ti-app-id

x-ti-secret-code
string
header
required

Please Sign in to TextIn and navigate to "Console - API Keys" to view x-ti-secret-code

Response

200 - application/json

Balance information

code
integer
required

Status code

  • 200: Success
  • 40101: x-ti-app-id or x-ti-secret-code is empty
  • 40102: x-ti-app-id or x-ti-secret-code is invalid, authentication failed
  • 40004: Parameter error, please check the technical documentation and verify the parameters
  • 500: Internal server error
Example:

200

msg
string
required

Status message

Example:

"success"

data
object

Account balance overview.