Information about Payout

You can use this request to clarify information about a specific payment.

https://unitpay.ru/api?
     method=massPaymentStatus
     params[login][email protected]
     params[transactionId]=1782
     params[secretKey]=ключ

login

string

Email account in the UnitPay system

secretKey

string

Account secret key, available in profile settings

transactionId

text

Unique payout ID on your side

Successful Response:

{"result": {
    "message": "The payout has been successfully made",
    "status": "success",
    "payoutId": "114233",
    "partnerBalance": "15733.00",
    "createDate": "2016-10-01 11:51:02",
    "completeDate": "2016-10-01 11:52:02",
    "sum": "300",
    "payoutCommission": "6.00",
    "partnerCommission": "0.00"
}}

message

string

Commentary of successful and unsuccessful operation, can be used as a hint to the user after the query has been executed

status

string

success - successful payment

not_completed - payment has been sent to the payment system, but no confirmation has been received yet (temporary status)

error - erroneous payment

payoutId

number

Unique payment ID in UnitPay system

partnerBalance

number

Partner's balance in the system available for payments

createDate

text

Date of creation of the disbursement

completeDate

text

Date of finalization of payout

sum

number

Payout amount

payoutCommission

number

Payout commission

partnerCommission

number

Partner commission

Example of an incorrect answer:

{"error": {
    "message": "Payment in the specified currency to the specified details is not possible",
    "code": 122
}}

message

string

Information describing the request error

code

string

Error code, detailed decoding in the table below

Error Description:

100

The "masspayment" service is deactivated

101

The "masspayment" service is not available to you

122

Payment in the specified currency to the specified details is not possible

1051

We were unable to retrieve the recipient's wallet information. Check the wallet number and try the operation again or after a while.

Technical errors:

-32000

Invalid authorisation parameters (login, secret key)

-32602

Invalid query parameters

-32603

Internal technical error

Last updated

Was this helpful?