Refund a Money-In

RefundMoneyIn

General Rules

  • The refund can only be performed on the card or bank account that did the initial payment.
  • Lemonway keeps the payment fee.
  • If no amount is specified, the total amount of the payment is refunded.
  • The wallet of the client on which the initial payment was made is debited of the refund amount. If there is not enough money in the Client's Wallet, the missing amount of money to refund will be debited from your SC Wallet. In this case, an ON-US payment is automatically performed from your SC Wallet to the Client Wallet, prior to refunding the card.
  • It is possible to cumulate refunds and ask for many refunds until the total amount of the payment is refunded.

📘

Note

In the Response, the COM parameter will always reference the transaction code before any comment. For example: "COM":"Refund 124676, Homephones refund"

Card Payments

  • RefundMoneyIn for a card payment is not available from 10 P.M. to 3 A.M. (CET).
  • Refund is only available/possible for 12 months after the initial payment.

🚧

Look Out!

SOFORT Refunds are only available for 3 months after the initial payment.

🚧

Look Out!

IDEAL: Refunds are only available for 99 days after the initial payment.

How it works

RefundMoneyIn allows you to refund Money-In operations made using:

  • Card
  • iDeal
  • Sofort

XML

<!-- Request -->
<RefundMoneyIn xmlns="Service_mb">
  <wlLogin>string</wlLogin>
  <wlPass>string</wlPass>
  <language>string</language>
  <version>string</version>
  <walletIp>string</walletIp>
  <walletUa>string</walletUa>
  <transactionId>string</transactionId>
  <amountToRefund>string</amountToRefund> <!-- since version 1.1 -->
  <comment>string</comment>
</RefundMoneyIn>
<!-- Response -->
<?xml version="1.0" encoding="utf-8"?>
<TRANS>
	<HPAY>
		<ID>string</ID>
		<DATE> string </DATE>
		<SEN> string </SEN>
		<REC> string </REC>
		<DEB> string </DEB>
		<CRED> string </CRED>
		<COM> string </COM>
		<STATUS> string</STATUS>
	</HPAY>
</TRANS>

JSON

// Request
{   
    "wlLogin":"string",
    "wlPass":"string",
    "language":"string",
    "version":"string",
    "walletIp":"string",
    "walletUa":"string",
    "transactionId":"string",
    "amountToRefund":"string",
    "comment":"string"
}    
// Response
{  
    "TRANS":{  
        "HPAY":{  
            "ID":"string",
            "DATE":" string ",
            "SEN":" string ",
            "REC":" string ",
            "DEB":" string ",
            "CRED":" string ",
            "COM":" string ",
            "STATUS":" string"
        }
    }
}

Request Input Description

VersionItemDescriptionMandatoryFormatExample
> = 1.0transactionIdMoney-In ID to refundYes[0–10] char176
> = 1.0commentComment regarding the refund.No[0–140] charTotal Refund of last payment and stop rebill after the refund and closed account and wallet.
Please explain why you refundOr
Never received the PO 12366GG
> = 1.1amountToRefundAmount to refund. If empty, the total amount of the payment will be refunded.No2 decimals15

Response Output Description

ItemDescriptionExample
IDRefund ID255
DATERefund transaction Date10/9/2011 18:09
SENA wallet that was debitedPizza56
RECEmpty in this case
DEBRefund amount15
CRED0 in this case0
COMYour fee.0
STATUS3: Money-In successful3
4: error
0: waiting for finalization
INT_STATUS0: Success0
4: Pending
6: PSP Error