Hàm kiểm tra thông tin Users
Hàm cho phép bạn kiểm tra thông tin số dư của Users.
HTTP request
POST
http://api.omitopup.com/api/getuserinfo
Content Type: application/json
Response Type: application/json
curl --location --request POST 'http://api.omitopup.com/api/getuserinfo' \
--header 'token: ' {{token}}\
--header 'Content-Type: application/json' \
--data-raw '{
"email":"{{email}}",
"password":"{{password}}"
} '
Cấu trúc body của request:
Tham số
Mô tả
token *
Bạn sẽ được cung cấp khi sử dụng hàm đăng nhập.
email đăng ký tài khoản topup.
password
mật khẩu đăng nhập hệ thống topup.
Response:
{
"resultCode": 100,
"message": "Success",
"data": {
"email": "[email protected]",
"balance": 10000
}
}
Cấu trúc body của response:
Tham số
Mô tả
resultCode
100: Thành công. 99: Thất bại.
Email tài khoản cần kiểm tra thông tin.
balance
Số dư hiện tại của tài khoản cần kiểm tra thông tin.
Last updated
Was this helpful?