Confirmation interface
This XML interface allows the merchant to confirm the payment
Url: https://api.payplaypro.com/merchants/firmware-confirm
Method: POST
Content-Type: application/xml;charset=utf-8
Request body:
<Command>
<LMI_MERCHANT_ID></LMI_MERCHANT_ID>
<LMI_HASH></LMI_HASH>
<LMI_SYS_PAYMENT_ID></LMI_SYS_PAYMENT_ID>
</Command>
| Title | Field in XML | Description | |
|---|---|---|---|
| Merchant ID | LMI_MERCHANT_ID | The identifier of the merchant. | |
| Payment reference in the Payplaypro system | LMI_SYS_PAYMENT_ID | ||
| Hashsum of the request | LMI_HASH | Yes | The signature of the request is generated by hashing the original text of the XML request with an empty LMI\ _HASH value and the SecretKey using the algorithm specified in the Merchant Portal. The received signature is passed in the LMI_HASH tag. The recommended encryption algorithm is SHA256. Sign example |
XML response :
<Response>
<Retval></Retval>
<Retdesc></Retdesc>
</Response>
| Title | Field in XML | Description |
|---|---|---|
| Result code | Retval | 1 - success; 2 - incorrect request; -1 - general failure; -3 - Incorrect signature \ (HASH ); 101 - general error; 102 - internal error; 109 - incorrect LMI_SYS_PAYMENT_ID; |
| Description of the execution code | Retdesc | |
| Payment reference in the Payplaypro system | Retdata/LMI_SYS_PAYMENT_ID | |
| Url for redirect | Retdata/url | User should be redirected to this url to proceed |
| Wallet | Retdata/wallet | Required for some payment methods |
| ErrorMessage | additional error information |
| Title | Field in XML | Description |
|---|---|---|
| Result code | Retval | 1 - successful execution of the command, the result must be determined by Payment Status Request ; 2 - incorrect request; -1 - general failure; -3 - Incorrect signature \ (HASH ); |
| Result code Description | Retdesc |
To get the status of a transaction, you can use the "Payment Status Request". When the transaction receives a successful status, "a callback" will be called.