Hàm lấy số dư tài khoản
Đây là hàm cơ bản đầu tiên mà bạn nên thử, hàm giúp bạn lấy về số dư trong tài khoản của bạn.
HTTP request
curl --location 'https://rest.esms.vn/MainService.svc/json/GetBalance_json' \
--header 'Content-Type: application/json' \
--data '{
"ApiKey": "{{ApiKey}}",
"SecretKey": "{{SecretKey}}"
}'Tham số
Kiểu dữ liệu
Tính bắt buộc
Mô tả
{
"Balance": 36693,
"CodeResponse": "100",
"UserID": 9999
}{
"Balance": 0,
"CodeResponse": "101",
"ErrorMessage": "Authorize Failed"
}Thuộc tính
Kiểu dữ liệu
Mô tả
Last updated