For the complete documentation index, see llms.txt. This page is also available as Markdown.

Commissions of project (API)

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 = secretKey

projectId

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

Example of a successful response:

{
    "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

Example of an erroneous answer:

Description of possible errors:

-32000

Invalid authorization parameters (login, secret key)

-32602

Invalid query parameters

-32603

Internal technical error

Last updated

Was this helpful?