CancelMoneyIn
How it works
With the CancelMoneyIn method, you can cancel a pre-authorization / SDD request.
Important
All 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> <!--à partir de la version 1.3 -->
<IS3DS>string</IS3DS>
<CTRY>string</CTRY>
<AUTH>string</AUTH> <!--à partir de la version 1.5 -->
<NUM>string</NUM> <!--à partir de la version 1.8 -->
<EXP>string</EXP> <!--à partir de la version 1.8 -->
<TYP>string</TYP> <!--à partir de la version 1.8 -->
</EXTRA>
<INT_MSG>string</INT_MSG>
<MLABEL>string</MLABEL> <!--à partir de la version 1.6 -->
<SCHEDULED_DATE>string</SCHEDULED_DATE>
<REFUND>string<REFUND> <!--à partir de la version 2.1 -->
</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" <!-- à partir de la version 2.1 -->
}
}
}
Request Input Description
Version | Element | Description | Request | 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 | Correspond 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 (total minus fee) | 15 |
>= 1.0 | COM | Your fee | 2 |
>= 1.0 | MSG | Comment | order 245 |
>= 1.0 | STATUS | 3: money-in successfully completed | 3 |
4: error | |||
0: waiting for finalization (from version 1.2) | |||
16: Reservation successfully made, waiting for validation. (Only if you have chosen an environment with a deferred payment method) | |||
>= 2.2 | INT_STATUS | 0: success | 0 |
4: pending | |||
6: error | |||
7: cancelled (by the client or dropped) | |||
16: waiting for validation/finalization | |||
>= 1.3 | EXTRA | An optional tag containing card information | |
>= 1.3 | EXTRA.IS3DS | Indicates whether the transaction has been authenticated with 3D Secure: | 1 |
0 if no | |||
1 if yes | |||
>= 1.3 | EXTRA.CTRY | Code pays du pays d'émission de la carte | 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 | VISA or MASTERCARD | VISA |
>= 1.4 | INT_MSG | error codes or Lemonway messages | 05-00-05 |
>= 1.6 | MLABEL | IBAN if money-in have been performed by iDEAL or SDD | |
>= 1.0 | SCHEDULED_DATE | for an SDD | 12/31/2015 |
>= 2.1 | REFUND | Refund amount | 15 |