Get User Balance
GET https://vpay.by/api/balance?api_token={API_TOKEN}
Example response:
{
"status": "success",
"data": {
"balance": "10"
}
}
Check Operation
POST https://vpay.by/api/check?api_token={API_TOKEN}
cart_number |
Cart number, format "123456******7890" |
True |
phone |
Phone number |
False |
ip |
IP address of the user |
True |
amount |
Transaction amount |
True |
Example response:
{
"status": "success",
"data": {
"risk": 20
}
}
Risk up to 20% means that the transaction is most likely safe. Risk 21 to 80% means that the transaction is suspicious and needs to be noted. If the risk is more than 80% the transaction is most likely fraudulent and it is worth rejecting.