MoneyInChequeInit: Register a money-in by cheque

allows you to initialize a cheque you have physically received and plan to send to Lemon Way in order to credit a wallet. 
You can also not use this functionality and directly send the cheque to Lemon Way.

Version

Description

1.0

How it works

  1. You receive a cheque
  2. You call MoneyInChequeInit to register the cheque on the correct wallet
  3. You send the cheque to Lemon Way's address
  4. The operation will be confirmed about 2 working days after Lemon Way has received the cheque and the wallet will be credited

Request

<MoneyInChequeInit xmlns="Service_mb">

  <wlLogin>string</wlLogin>

  <wlPass>string</wlPass>

  <language>string</language>

  <version>string</version>

  <walletIp>string</walletIp>

  <walletUa>string</walletUa>

  <wallet>string</wallet>

  <amountTot>string</amountTot>

  <amountCom>string</amountCom>

  <comment>string</comment>

  <autoCommission>string</autoCommission>

  <transferId>string</transferId>

    <partner>string</partner>

     <chequeType>string</chequeType>

</MoneyInChequeInit>

  
    "wlLogin":"string",
    "wlPass":"string",
    "language":"string",
    "version":"string",
    "walletIp":"string",
    "walletUa":"string",
    "wallet":"string",
    "amountTot":"string",
    "amountCom":"string",
    "comment":"string",
    "autoCommission":"string"
    "transferId":"string",
    "partner":"string",
    
"chequeType":"string"

}

Element

Description

Required

Format

Example

wallet

ID of the payment account to credit

Yes

[0 : 256] char

33612345678 or taxi67

amountTot

Amount of the cheque

Yes

2 decimals

15.00

amountCom

Amount of the fees the WHITE BRAND wants to keep

Yes

2 decimals

1.00

comment

Comment

No

[0 :140] char

245

autoCommission

Tells if you want us to automatically calculate the correct fee to debit from the CLIENT.
If yes: [amountTot] will be debited from the bank account, [payment account] will receive [amounTot- Lemon Way's automatic fee], and the WHITE BRAND will not receive any fee

Yes

[1] char

0: no (default)
1: yes

transferId

Leave empty

No

[8] char

partnerLeave emptyNo[0 : 256] char 
chequeType

If empty or 15 for cheque payment.

23 : Pagaré

No[2] char15

Answer

<?xml version="1.0" encoding="utf-8"?>
<TRANS>
	<HPAY>
		<ID>string</ID>
		<MLABEL>string</MLABEL>
		<DATE> string </DATE>
		<SEN> string</SEN>
		<REC>string</REC>
		<DEB>string</DEB>
		<CRED>string</CRED>
		<COM>string</COM>
		<MSG>string</MSG>
		<STATUS>string</STATUS>
	</HPAY>
</TRANS>
{  
    "TRANS":{  
        "HPAY":{  
            "ID":"string",
            "MLABEL":"string",
            "DATE":" string ",
            "SEN":" string",
            "REC":"string",
            "DEB":"string",
            "CRED":"string",
            "COM":"string",
            "MSG":"string",
            "STATUS":"string"
        }
    }
}

Element

Description

Example

ID

ID of the transaction

677

MLABEL

Not used

DATE

Initialization date

18/06/2014 16:11:10

SEN

Not used

REC

Payment account to credit

Pizza56

DEB

0.00 in this case

0.00

CRED

Amount to credit (total minus the WHITE BRAND fee)

15.00

COM

WHITE BRAND fee

2.00

MSG

Comment

245

STATUS

Always 0 in this case: pending

0