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
Version | Item | Description | Mandatory | Format | Example |
---|---|---|---|---|---|
> = 1.0 | transactionId | Money-In ID to refund | Yes | [0–10] char | 176 |
> = 1.0 | comment | Comment regarding the refund. | No | [0–140] char | Total Refund of last payment and stop rebill after the refund and closed account and wallet. |
Please explain why you refund | Or | ||||
Never received the PO 12366GG | |||||
> = 1.1 | amountToRefund | Amount to refund. If empty, the total amount of the payment will be refunded. | No | 2 decimals | 15 |
Response Output Description
Item | Description | Example |
---|---|---|
ID | Refund ID | 255 |
DATE | Refund transaction Date | 10/9/2011 18:09 |
SEN | A wallet that was debited | Pizza56 |
REC | Empty in this case | |
DEB | Refund amount | 15 |
CRED | 0 in this case | 0 |
COM | Your fee. | 0 |
STATUS | 3: Money-In successful | 3 |
4: error | ||
0: waiting for finalization | ||
INT_STATUS | 0: Success | 0 |
4: Pending | ||
6: PSP Error |