SMS Unit Balance
Using a GET method, your VTpass Messaging SMS unit balance can be retrieved using the end point below:
Live URL: https://messaging.vtpass.com/api/sms/balance
Authentication
Make sure to pass your Public Key and Secret Key as Authentication in the header to access the API
header: { X-Token: VT_PK_XXXXXXXXXXXXXXXXXXXXXXX X-Secret: VT_SK_XXXXXXXXXXXXXXXXXXXXXX }
Request Pattern:
To fetch your unit balance on VTpass Messaging, you may hit the balance endpoint while passing your keys via the header as shown above:
URL: https://messaging.vtpass.com/api/sms/balance
FIELDS | Mandatory/Optional | TYPE | DESCRIPTION |
---|---|---|---|
N/A | N/A | N/A | N/A |
Expected Response:
256.21