Preauthorization Request/SDD Cancellation
CancelMoneyIn
How it works
With the CancelMoneyIn method, you can cancel a pre-authorization / SDD request.
ImportantAll parameters are mandatory
XML
<CancelMoneyIn xmlns="Service_mb">
<wlLogin>string</wlLogin>
<wlPass>string</wlPass>
<language>string</language>
<version>string</version>
<walletIp>string</walletIp>
<walletUa>string</walletUa>
<wallet>string</wallet>
<transaction>string</transaction>
</CancelMoneyIn><?xml version="1.0" encoding="utf-8"?>
<CANCELMONEYIN>
<HPAY>
<ID>string</ID>
<CARD_ID>string</CARD_ID>
<DATE>string</DATE>
<SEN>string</SEN>
<REC>string</REC>
<DEB>string</DEB>
<CRED>string</CRED>
<COM>string</COM>
<MSG>string</MSG>
<STATUS>string</STATUS>
<EXTRA>
<IS3DS>string</IS3DS>
<CTRY>string</CTRY>
<AUTH>string</AUTH>
<NUM>string</NUM>
<EXP>string</EXP>
<TYP>string</TYP>
</EXTRA>
<INT_MSG>string</INT_MSG>
<MLABEL>string</MLABEL>
<SCHEDULED_DATE>string</SCHEDULED_DATE>
<REFUND>string</REFUND>
</HPAY>
</CANCELMONEYIN>JSON
{
"wlLogin":"string",
"wlPass":"string",
"language":"string",
"version":"string",
"walletIp":"string",
"walletUa":"string",
"wallet":"string",
"transaction":"string"
}{
"CANCELMONEYIN":{
"HPAY": {
"ID":"string",
"CARD_ID":"string",
"DATE":"string",
"SEN":"string",
"REC":"string",
"DEB":"string",
"CRED":"string",
"COM":"string",
"MSG":"string",
"STATUS":"string",
"EXTRA": {
"IS3DS":"string",
"CTRY":"string",
"AUTH":"string",
"NUM":"string",
"EXP":"string",
"TYP":"string"
},
"INT_MSG":"string",
"MLABEL":"string",
"SCHEDULED_DATE":"string",
"REFUND":"string"
}
}
}Request Input Description
| Version | Element | Description | Mandatory | Format | Example |
|---|---|---|---|---|---|
| >= 1.0 | wallet | Payment account ID | Yes | [1:256] char | Pizza75 |
| >= 1.0 | transaction | MoneyIn ID | Yes | int | 255 |
Response Output Description
| Version | Element | Description | Example |
|---|---|---|---|
| >= 1.0 | HPAY | Corresponds to a Money-In | |
| >= 1.0 | ID | Money-In ID | 255 |
| >= 1.0 | CARD_ID | Card ID | 255 |
| >= 1.0 | DATE | Money-in date | 10/9/2011 18:09 |
| >= 1.0 | SEN | Empty in this case | |
| >= 1.0 | REC | Payment account that performed the Money-In | pizza |
| >= 1.0 | DEB | 0 in this case | 0 |
| >= 1.0 | CRED | Amount to credit on the payment account | 15 |
| >= 1.0 | COM | Your fee | 2 |
| >= 1.0 | MSG | Comment | order 245 |
| >= 1.0 | STATUS | 3: money-in successfully completed | 3 |
| >= 1.2 | STATUS | 0: waiting for finalization | |
| >= 2.2 | INT_STATUS | 0: success | 0 |
| >= 1.3 | EXTRA | Optional tag containing card information | |
| >= 1.3 | EXTRA.IS3DS | Indicates if 3D Secure was used (0: no, 1: yes) | 1 |
| >= 1.3 | EXTRA.CTRY | Country code of card issuance | FRA |
| >= 1.5 | EXTRA.AUTH | Authorization number | 455622 |
| >= 1.8 | EXTRA.NUM | Hidden card numbers | 4972XXXXXXXXXX03 |
| >= 1.8 | EXTRA.EXP | Expiration date if applicable | |
| >= 1.8 | EXTRA.TYP | Card type (e.g., VISA, MASTERCARD) | VISA |
| >= 1.4 | INT_MSG | Error codes or messages from Lemonway | 05-00-05 |
| >= 1.6 | MLABEL | IBAN if money-in performed via iDEAL or SDD | |
| >= 1.0 | SCHEDULED_DATE | Scheduled date for an SDD | 12/31/2015 |
| >= 2.1 | REFUND | Refund amount | 15 |
