Commissions of project (API)
Last updated
Was this helpful?
You can refine the commissions of a specific project using the API request:
GET https://unitpay.ru/api
method = getCommissions
projectId = 123456
login = partner@example.com
secretKey = secretKeyprojectId
number
Project ID in the UnitPay system
login
string
Email account in the UnitPay system
secretKey
string
Partner's secret key, available in Unitpay account settings
{
"result": {
"webmoney": 2,
"card": 3.5,
"card_not_rf": 10,
"sbp": 0.7
}
}name
text
Name of payment method
commission
number
Full commission for payment execution
-32000
Invalid authorization parameters (login, secret key)
-32602
Invalid query parameters
-32603
Internal technical error
Last updated
Was this helpful?
Was this helpful?
{
"error": {
"message": "Invalid authorization parameters",
"code": -32000
}
}