Refund a transaction

RefundMoneyInCreate

General Rules

  • Refunds can only be processed using the card initially used for payment.
  • If no specific refund amount is defined, the total initial payment amount is refunded.
  • The Client's Wallet used for the initial payment, is debited with the refund amount. If insufficient funds are in the Client's Wallet, the remaining amount required for the refund will be debited from your SC Wallet.
    In this case, an ON-US payment will be automatically made from your SC Wallet to the Client's Wallet before the card is refunded.
  • It is possible to accumulate refunds in a Wallet. You can then request multiple refunds until the total payment amount has been refunded.
  • Lemonway retains the payment fee.

How it works

RefundMoneyInCreate lets you refund Money-In operations that were originally made by card.

XML

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <RefundMoneyInCreate xmlns="Service_mb_json">
      <p>
        <moneyInTransactionId>long</moneyInTransactionId>
        <linkedP2pIds>
          <id>long</id>
          <id>long</id>
        </linkedP2pIds>
        <amountToRefund>decimal</amountToRefund>
        <comment>string</comment>
        <transactionDateTime>long</transactionDateTime>
        <walletIp>string</walletIp>
        <walletUa>string</walletUa>
        <wlLogin>string</wlLogin>
        <wlPass>string</wlPass>
        <language>string</language>
        <version>string</version>
      </p>
    </RefundMoneyInCreate>
  </soap:Body>
</soap:Envelope>
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <RefundMoneyInCreateResponse xmlns="Service_mb_json">
      <RefundMoneyInCreateResult />
    </RefundMoneyInCreateResponse>
  </soap12:Body>
</soap12:Envelope>

Request Input Description

ElementDescriptionRequiredFormat
moneyInTransactionIdMoney-In to refundYes
transactionDateTimeAdd the exact Money-In execution timestampNoUnix timestamp Example: 2023-08-16T08:43:32+00:00
linkedP2pIdsList the P2P IDs related to the refundYes

Response Output Description

ItemDescriptionExample
IDRefund ID255
DATERefund transaction Date10/9/2011 18:09
SENWallet debitedBeta123
RECEmpty
DEBRefund amount15
CRED00
COMYour commission fee0
0 in this case
STATUS3: Money-In successful3
4: error
0: waiting for finalization
INT_STATUS0: Success0
4: Pending
6: PSP Error