CancelMoneyIn : Cancellation of a preauthorisation request / SDD

Version

Description

1.0  

1.2

Output: he STATUS data has an additional possible value

1.3

Output: EXTRA tag containing additional information about the card used

1.4

Output: INT_MSG tag containing error codes or Lemon Way messages

1.5

Adding the AUTH authorization number to the EXTRA tag

1.6

Added MLABEL tag to display IBAN when money-in by iDeal or direct debit

1.8

Adding more map information to the output

2.1 Output : amount refunded

How it works

With the "CancelMoneyIn" method, the WHITE BRAND can cancel a pre-authorization / SDD request.

Request

<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>

  
    "wlLogin":"string",
    "wlPass":"string",
    "language":"string",
    "version":"string",
    "walletIp":"string",
    "walletUa":"string",
    "wallet":"string",
    "transaction":"string"
}

Version

Element

Description

Requis

Format

Exemple

>= 1.0

wallet

payment account ID

Yes

[1 :256] char

Pizza75

>= 1.0

transaction

MoneyIn ID

Yes

int

255

Remarque

All parameter are mandatory!

Answer

<?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>
{   
    "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 -->
        }
    }
}

Version

Element

Description

Exemple

>= 1.0

HPAY

Correspond à un money-in

>= 1.0

ID

Money-in ID

255

>= 1.0 CARD_ID Card ID 255

>= 1.0

DATE

Money-in date

10/09/2011 18:09:27

>= 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.00

>= 1.0

CRED

Amount to credit on the payment account (total minus fee)

15.00

>= 1.0

COM

WHITE BRAND FEE

2.00

>= 1.0

MSG

Comment

order 245

>= 1.0

STATUS

3: money-in successfully completed
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)

3

>= 2.2 INT_STATUS 0: success
4: pending
6: error
16: waiting for validation / finalization
0

>= 1.3

EXTRA

Optional tag containing card information

>= 1.3

EXTRA.IS3DS

Indicates whether the transaction has been authenticated with 3D Secure:

0 if no
1 if yes

1

>= 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 Lemon Way messages

05-00-05

>= 1.6

MLABEL

IBAN if money-in have been preformed by iDEAL or SDD

>= 1.0

SCHEDULED_DATE

for an SDD

2015/12/31

>= 2.1 REFUND Refund amount 15.00