MoneyInChequeInit : Présaisir un chèque
Version | Description |
---|---|
1.0 |
Cinématique
Cette etape est indispensable pour le rapprochement et vous permet d'indiquer une commission à prélever automatiquement.
- La MARQUE BLANCHE reçoit un chèque destiné à alimenter un wallet
- L'application MARQUE BLANCHE appelle MoneyInChequeInit pour présaisir un chèque reçu et à intégrer dans le système Lemonway
- La MARQUE BLANCHE envoie le chèque à l'adresse postale de Lemonway
- Il faudra compter environ 2 jours ouvrés à réception du chèque par Lemonway pour que l'opération soit validée et que le wallet soit effectivement crédité du montant du chèque (moins l'éventuelle commission demandée par la MARQUE BLANCHE)
Requête
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></transferId>
<partner></partner>
<chequeType></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 | Requis | Format | Exemple |
---|---|---|---|---|
wallet | Identifiant du compte de paiement à créditer | Oui | [0 : 256] car | 33612345678 ou taxi67 |
amountTot | Montant du chèque | Oui | 2 décimales | 15.00 |
amountCom | Montant que la MARQUE BLANCHE souhaite se reverser | Oui | 2 décimales | 1.00 |
comment | Commentaire concernant la transaction | Non | [0 :140] car | Commande numéro 245 |
autoCommission | Si oui :
| Oui | [1] car | 0 : non (par «défaut) |
transferId | Laisser vide | Non | [8] car | |
partner | Laisser vide | Non | [0 : 256] car | |
chequeType | Si vide ou 15 pour un paiement en chèque 23 pour un paiement en chèque pagaré | Non | [2] car | 15 |
Réponse
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 | Exemple |
---|---|---|
ID | Identifiant de la transaction | 677 |
MLABEL | Non utilisé dans le cadre de la marque blanche | |
DATE | Date de l'initialisation | 18/06/2014 16:11:10 |
SEN | Non utilisé | |
REC | Compte de paiement à créditer | Pizza56 |
DEB | 0.00 dans ce cas | 0.00 |
CRED | Montant à créditer au compte de paiement (total moins la commission de la MARQUE BLANCHE) | 15.00 |
COM | Commission prélevée par la MARQUE BLANCHE | 2.00 |
MSG | Commentaire | Commande numéro 245 |
STATUS | Toujours 0 : en attente | 0 |