Skip to content

Payment confirmation🔗

Study the “General Information” and the “Signature Verification” sections first.

Attention

Use only when either the "Automatically close payments and bonuses (Recommended!)" option is not enabled for the application or payments are used without processing.

It is necessary to send information to the MRGS server that payment was processed and player received a reward.

Parameters🔗

Parameter Method Value Mandatory Type Description
action GET confirm_payment yes string Command
id GET 1 yes number ID of the payment to close

Error codes🔗

Code Description
-30 Unexpected error. Contact technical specialists.
-31 No payment ID was returned.
-32 Payment not found.
-33 Payment is already closed.
-34 Failed to change payment details.

Request example🔗

https://mrgs.astrum.team/pub/s2s.php?action=confirm_payment&appId=44&format=json&id=1&hash=c719d5885e3dc66b1db363772a63cf04

Response example🔗

{
    "status":0,
    "error":"",
    "result":{
        "payment": 1
    }
}

Last update: 2025-01-21
Created: 2020-02-17