7. Interface of receipt request

This XML-interface enables Merchant anytime to request a receipt of the payment initiated via

PaySoft Merchant Interface.

Action - https://api.paysoft.solutions/merchants/get-receipt

Method - POST

XML-request format:

<Command>
    <LMI_MERCHANT_ID></LMI_MERCHANT_ID>
    <LMI_SYS_PAYMENT_ID></LMI_SYS_PAYMENT_ID>
    <RECEIPT_LANGUAGE></RECEIPT_LANGUAGE>
    <LMI_HASH></LMI_HASH>
</Command>
Name XML-format Description
Merchant ID LMI_MERCHANT_ID Merchant’s POS ID which received a payment from Client.
Payment ID LMI_SYS_PAYMENT_ID Payment number in PaySoft system.
Language of receipt RECEIPT_LANGUAGE It is non-obligatory parameter. If sent then the receipt will be created at chosen language.
Control signature LMI_HASH Control signature of request which is created by encoding outgoing text of XML-request with blank field LMI_HASH and blank secret key SecretKey using algorithm chosen in Merchant’s cabinet. Received signature is transferred at tag LMI_HASH. The recommended encoding algorithm is SHA256.

XML-response format:

<?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?>
<Response>
    <Retval></Retval>
    <Retdesc></Retdesc>
    <Retdata>
        <Receipt></Receipt>
    </Retdata>
</Response>
Name XML-format Description
Operation code of request Retval 1 (one) – successful transaction
Description of operation code Retdesc
Payment receipt Retdata / Receipt

results matching ""

    No results matching ""