GetMoneyOutTransDetails : Rechercher un money-out
Version | Description |
---|---|
1.0 | |
1.4 | Sortie supplémentaire : balise INT_MSG contenant des codes d'erreurs ou messages de Lemonway |
Cinématique
Avec la méthode « GetMoneyOutTransDetails», la MARQUE BLANCHE peut vérifier le statut et les détails d'un money-out effectué dans son système :
Requête
XML
<GetMoneyOutTransDetails xmlns="Service_mb">
<wlLogin>string</wlLogin>
<wlPass>string</wlPass>
<language>string</language>
<version>string</version>
<walletIp>string</walletIp>
<walletUa>string</walletUa>
<transactionId>string</transactionId>
<transactionComment>string</transactionComment>
</GetMoneyOutTransDetails>
JSON
{
"wlLogin":"string",
"wlPass":"string",
"language":"string",
"version":"string",
"walletIp":"string",
"walletUa":"string",
"transactionId":"string",
"transactionComment":"string"
}
Element | Description | Requis | Format | Exemple |
---|---|---|---|---|
transactionId | Identifiant du money-out | Non | int | 255 |
transactionComment | Commentaire associé au money-out | Non | [0 :140] car | « Commande numéro 245 » |
Réponse
XML
<?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>
</HPAY>
...
<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>
</HPAY>
</TRANS>
JSON
{
"TRANS":{
"HPAY":[
{
"ID":"string",
"DATE":" string ",
"SEN":" string ",
"REC":" string ",
"DEB":" string ",
"CRED":" string ",
"COM":" string ",
"MSG":" string ",
"STATUS":" string",
"INT_MSG":"string"
},
...
]
}
}
Element | Description | Exemple |
---|---|---|
HPAY | Correspond à un money-out | |
ID | Identifiant du money-out | 255 |
DATE | Date du money-out | 10/09/2011 18:09:27 |
SEN | Wallet ayant effectué le money-out | 33612345678 |
REC | Vide dans ce cas | |
DEB | Montant à débiter du wallet | 15.00 |
CRED | 0 dans ce cas | 0.00 |
COM | Commission prélevée par la MARQUE BLANCHE | 3.00 |
MSG | Commentaire | Commande numéro 245 |
STATUS | 3 : money-out effectué avec succès | 3 |
INT_MSG | Codes d'erreur ou messages provenant de Lemonway | Cancelled |