Search for Money-In by Cheque
GetMoneyInChequeDetails
The GetMoneyInChequeDetails method returns the list of cheques Lemonway has received and credited to payment accounts since a given date.
Process: your clients send their cheques
- Payable to Lemonway or you
- With a specific code on the back of the cheque, defined by Lemonway (See this page)
- To the physical address of Lemonway or yours (you will have to send the cheques to Lemonway by batch).
How it works
Use GetMoneyInChequeStatus to obtain the list of all Money-In by cheque (received by Lemonway), starting from an entry date given in input to this method.
XML
<Request>
<GetMoneyInChequeDetails xmlns="Service_mb">
<wlLogin>string</wlLogin>
<wlPass>string</wlPass>
<language>string</language>
<version>string</version>
<walletIp>string</walletIp>
<walletUa>string</walletUa>
<updateDate>string</updateDate>
<updateEndDate>string</updateEndDate>
</GetMoneyInChequeDetails>
</Request>
<Response>
<?xml version="1.0" encoding="utf-8"?>
<TRANS>
<HPAY>
<ID>string</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>
<INT_MSG>string</INT_MSG>
<BANK_REF>string</BANK_REF>
</HPAY>
</TRANS>
</Response>
JSON
{
"wlLogin":"string",
"wlPass":"string",
"language":"string",
"version":"string",
"walletIp":"string",
"walletUa":"string",
"updateDate":"string",
"updateEndDate":"string"
}
{
"TRANS":{
"HPAY":[
{
"ID":"string",
"DATE":" string ",
"SEN":" string ",
"REC":" string ",
"DEB":" string ",
"CRED":" string ",
"COM":" string ",
"MSG":" string ",
"STATUS":" string",
"INT_MSG":"string",
"BANK_REF":"string"
}
]
}
}
Request Input Description
Item | Description | Mandatory | Format | Example |
---|---|---|---|---|
updateDate | Date in second UTC | Yes | String | 1373448225 |
updateEndDate | Date in second UTC | No | String | 1373448226 |
Response Output Description
Version | Item | Description | Example |
---|---|---|---|
>= 1.0 | HPAY | Money-In | |
>= 1.0 | ID | Money-In 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 did the money-in | pizza |
>= 1.0 | DEB | 0 in this case | 0 |
>= 1.0 | CRED | The amount credited to the payment account (total received in this case) | 15 |
>= 1.0 | COM | Your fee. Always 0 when the money-in is by cheque | 0 |
>= 1.0 | MSG | Comment | Order number 2457765AX2 |
>= 1.0 | STATUS | 3: Money-In successful | 3 |
4: Error | |||
0: Money-in is pending (the cheque was received, but Lemonway is waiting for the bank to process it) | |||
>= 1.4 | INT_MSG | Error code or message from Lemonway | Cancelled |
>= 1.9 | BANK_REF | Bank reference | 12345678 |