UpdateWalletDetails : Mise à jour d'informations de wallet
Version | Description |
---|---|
1.0 |
Cinématique
Avec la méthode UpdateWalletDetails, le système MARQUE BLANCHE demande à Lemonway la mise à jour d'informations liées à un wallet CLIENT.
- L'utilisateur saisit ses nouvelles données
- L'application appelle le webservice de Lemonway
- Lemonway enregistre les données lorsqu'elles existent
- L'application traite la réponse de Lemonway et affiche un message de confirmation
Requête
XML
<UpdateWalletDetails xmlns="Service_mb">
<wlLogin>string</wlLogin>
<wlPass>string</wlPass>
<language>string</language>
<version>string</version>
<walletIp>string</walletIp>
<walletUa>string</walletUa>
<wallet>string</wallet>
<newEmail>string</newEmail>
<newTitle>string</newTitle>
<newFirstName>string</newFirstName>
<newLastName>string</newLastName>
<newStreet>string</newStreet>
<newPostCode>string</newPostCode>
<newCity>string</newCity>
<newCtry>string</newCtry>
<newIp>string</newIp>
<newPhoneNumber>string</newPhoneNumber>
<newMobileNumber>string</newMobileNumber>
<newBirthDate>string</newBirthDate>
<newIsCompany>string</newIsCompany>
<newCompanyName>string</newCompanyName>
<newCompanyWebsite>string</newCompanyWebsite>
<newCompanyDescription>string</newCompanyDescription>
<newCompanyIdentificationNumber>string</newCompanyIdentificationNumber>
<newIsDebtor>string</newIsDebtor>
<newNationality>string</newNationality>
<newBirthcity>string</newBirthcity>
<newBirthcountry>string</newBirthcountry>
<newPayerOrBeneficiary> String </newPayerOrBeneficiary>
</UpdateWalletDetails>
JSON
{
"wlLogin":"string",
"wlPass":"string",
"language":"string",
"version":"string",
"walletIp":"string",
"walletUa":"string",
"wallet":"string",
"newEmail":"string",
"newTitle":"string",
"newFirstName":"string",
"newLastName":"string",
"newStreet":"string",
"newPostCode":"string",
"newCity":"string",
"newCtry":"string",
"newIp":"string",
"newPhoneNumber":"string",
"newMobileNumber":"string",
"newBirthDate":"string",
"newIsCompany":"string",
"newCompanyName":"string",
"newCompanyWebsite":"string",
"newCompanyDescription":"string",
"newCompanyIdentificationNumber":"string",
"newIsDebtor":"string",
"newNationality":"string",
"newBirthcity":"string",
"newBirthcountry":"string",
"newPayerOrBeneficiary" : "string"
}
Element | Description | Requis | Format | Exemple |
---|---|---|---|---|
wallet | Identifiant du wallet dans le système en marque blanche. | Oui | [1 :100] car | 33612345678 |
newEmail | Nouvelle adresse email du CLIENT. Doit être unique dans l'environnement de la MARQUE BLANCHE | Non | [6 :256] car | |
newTitle | Civilité du CLIENT | Non | [1] car | "M" : M. |
newFirstName | Prénom du CLIENT | Non | [2 :256] car | Pierre |
newLastName | Nom du CLIENT | Non | [2 :256] car | Dupont |
newStreet | Numéro et rue de l'adresse du CLIENT | Non | [0 :256] car | 26 rue de Paris |
newPostCode | Code postal du CLIENT | Non | [0 :10] car | 93100 |
newCity | Ville du CLIENT | Non | [0 :140] car | Montreuil |
newCtry | Pays du CLIENT | Non | [3] car | FRA |
newIp | Adresse IP du CLIENT Assurez vous de nous fournir l'adresse IP collectée par votre système, auprès de votre client pour nous aider à lutter contre la fraude et à sécuriser votre entreprise et non celle de votre serveur | Non | car | 91.222.286.32 |
newPhoneNumber | Numéro de téléphone de contact, en format MSISDN : numéro international avec code pays, sans le « + » ni « 00 » | Non | [6 :30] car | 33672635263 |
newMobileNumber | Numéro de téléphone mobile de contact, en format MSISDN : numéro international avec code pays, sans le « + » ni « 00 » | Non | [6 :30] car | 33672635263 |
newBirthDate | Date de naissance | Non | dd/MM/yyyy | 21/03/1985 |
newIsCompany | Indique si le wallet est créé pour une personne morale | Non | [1] car | 1 |
newCompanyName | Raison sociale de l'entreprise / l'association… | Non | [1 :256] car | Lemonway SAS |
newCompanyWebsite | URL du site web | Non | [1 :256] char | |
newCompanyDescription | Description de l'activité | Non | [1 :256] char | Ecommerce, vêtements |
newCompanyIdentificationNumber | Numéro d'identification de la personne morale (SIREN, RNA, immatriculation RCS/RN) | No | [1 :256] char | 123567ABCDEF |
newIsDebtor | Dans une plateforme de crowdfunding/prêt, indique si le wallet est créé pour un emprunteur | Non | [1] car | 1 |
newNationality | Nationalité du CLIENT, au format ISO-3 | Non | [0 :19] char | FRA |
newBirthcity | Ville de naissance du CLIENT | Non | [0 :140] car | Montreuil |
newBirthcountry | Pays de naissance du CLIENT, au format ISO-3 | Non | [3] car | FRA |
newPayerOrBeneficiary | Indique si le wallet est un payeur ou un bénéficiaire Vide : statut inconnu (par défaut) 1: payeur | No | [1] char | 1 |
Réponse
XML
<?xml version="1.0" encoding="utf-8"?>
<WALLET>
<ID>string</ID>
<LWID>string</LWID>
</WALLET>
JSON
{
"WALLET":{
"ID":"string",
"LWID":"string"
}
}
Element | Description | Exemple |
---|---|---|
ID | Identifiant du wallet mis à jour avec succès | 33612345678 |
LWID | Identifiant interne attribué par LEMONWAY (identifiant affiché dans le BACKOFFICE) | 2343 |