MoneyInNeosurf : Crédit de wallet par carte Neosurf, Myneosurf et Neocode
Version | Description |
---|---|
1.0 |
Cinématique
Cette méthode ne nécessite qu'un seul point d'intégration.
Avec la méthode MoneyInNeosurf, le système effectue un rechargement en temps réel du wallet par carte Neosurf, MyNeosurf ou Neocode.
L'application MARQUE BLANCHE envoie à Lemonway l'identifiant du wallet à créditer, l'identifiant de la carte Neosurf ou MyNeosurf ou Neocode à débiter, le montant à créditer, et un commentaire.
Requête
XML
<MoneyInNeosurf 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>
<idTicket>string</idTicket>
<isNeocode>string</isNeocode>
<wkToken>string</wkToken>
</MoneyInNeosurf>
JSON
{
"wlLogin":"string",
"wlPass":"string",
"language":"string",
"version":"string",
"walletIp":"string",
"walletUa":"string",
"wallet":"string",
"amountTot":"string",
"amountCom":"string",
"comment":"string",
"idTicket":"string",
"isNeocode":"string",
"wkToken":"string"
}
Element | Description | Requis | Format | Exemple |
---|---|---|---|---|
wallet | Identifiant du compte de paiement à créditer | Oui | [0 : 256] car | 33612345678 ou taxi67 |
amountTot | Montant à débiter de la CB | Oui | 2 décimales | 15.00 |
amountCom | Montant que la MARQUE BLANCHE souhaite prélever | Non | 2 décimales | 1.00 |
comment | Commentaire du paiement | Non | [0 :140] car | Commande numéro 245 |
idTicket | Identifiant du ticket | Oui | [0:32] | 2651261983 |
isNeocode | 1 : il s'agit d'une carte Neocode. | Oui | [1] car | 0 |
wkToken | Identifiant de la transaction donné par le système de la MARQUE BLANCHE, peut servir de champ de recherche | Non | [0:50] car | 833U89 |
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 | 255 |
MLABEL | Non utilisé | |
DATE | Date de la demande | 10/09/2011 18:09:27 |
SEN | Vide dans ce cas | |
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) | 15.00 |
COM | Commission prélevée par la MARQUE BLANCHE | 2.00 |
MSG | Commentaire | Commande numéro 245 |
STATUS | 3 : finalisé avec succès |