Register a Money-in by Cheque

MoneyInChequeInit

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

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 Lemonway's address
  4. The operation will be confirmed about 2 working days after Lemonway has received the cheque and the wallet will be credited

XML

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

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

JSON

{   
    "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"
}
{  
    "TRANS":{  
        "HPAY":{  
            "ID":"string",
            "MLABEL":"string",
            "DATE":" string ",
            "SEN":" string",
            "REC":"string",
            "DEB":"string",
            "CRED":"string",
            "COM":"string",
            "MSG":"string",
            "STATUS":"string"
        }
    }
}
 

Request Input Description

ElementDescriptionRequiredFormatExample
walletID of the payment account to creditYes[0 : 256] char33612345678 or taxi67
amountTotAmount of the chequeYes2 decimals15
amountComAmount of the fees you want to keepYes2 decimals1
commentCommentNo[0 :140] char245
autoCommissionTells if you want us to automatically calculate the correct fee to debit from the client.Yes[1] char0: no (default)
If yes: [amountTot] will be debited from the bank account, [payment account] will receive [amounTot- Lemonway's automatic fee], and you will not receive any fee1: yes
transferIdLeave emptyNo[8] char
partnerLeave emptyNo[0 : 256] char
chequeTypeIf empty or 15 for cheque payment.No[2] char15
23 : Pagaré

Response Output Description

ElementDescriptionExample
IDID of the transaction677
MLABELNot used
DATEInitialization date18/06/2014 16:11:10
SENNot used
RECPayment account to creditPizza56
DEB0.00 in this case0
CREDAmount to credit (total minus your fee)15
COMYour fee2
MSGComment245
STATUSAlways 0 in this case: pending0