MoneyInChequeInit: Register a Money-in by Cheque
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.
Version | Description |
|---|---|
1.0 |
How it works
- You receive a cheque
- You call MoneyInChequeInit to register the cheque on the correct wallet
- You send the cheque to Lemonway's address
- The operation will be confirmed about 2 working days after Lemonway has received the cheque and the wallet will be credited
Request
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>
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"
}
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 you want 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. | Yes | [1] char | 0: no (default) |
transferId | Leave empty | No | [8] char | |
| partner | Leave empty | No | [0 : 256] char | |
| chequeType | If empty or 15 for cheque payment. 23 : Pagaré | No | [2] char | 15 |
Answer
XML
<?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
{
"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 your fee) | 15.00 |
COM | Your fee | 2.00 |
MSG | Comment | 245 |
STATUS | Always 0 in this case: pending | 0 |