UpdateWalletDetails: Update Wallet Data

Version

Description

1.0


How it works

With the UpdateWalletDetails method, your system asks Lemonway to update information related to a client payment account.

  1. The user enters his new data
  2. The application calls the Lemonway webservice
  3. Lemonway records data when it exists
  4. The application processes Lemonway's response and displays a confirmation message

Request


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"

 
}
If you are not willing to change some fields, please do not enter data in those fields. Information will not be updated.

Item

Description

Mandatory

Format

Example

wallet

Wallet ID.

Yes

[1 :100] char

33612345678

newEmail

New Email. Unique as usual.

No

[6 :256] char

adresse@domaine.com

newTitle

Client title

No

[1] char

"M": M.
"F": Miss
"J": joint account
"U": Unknown(default)

newFirstName

Client first name

No

[2 :256] char

Pierre

newLastName

Client last name

No

[2 :256] char

Dupont

newStreet

Client number and street

No

[0 :256] car

26 rue de Paris

newPostCode

Client postcode/ZIP

No

[0 :10] car

93100

newCity

Client city

No

[0 :140] car

Montreuil

newCtry

Client country using ISO-3 format

No

[3] char

FRA

newIp

IP address of the Client.

Not from your server, please. The one collected by your system, from your customer. To help us fight against fraud and to secure your business.

No

char

91.222.286.32

newPhoneNumber

MSISDN phone number.

No "00", no "+", or it won't work.

No

[6 :30] char

33672635263

newMobileNumber

Mobile phone number with MSISDN format: international number with country code without "00" neither "+".
This will be used by default when electronically signing documents

No

[6 :30] char

33672635263

No "00"
No "+" thanks

newBirthDate

Client birthdate

No

dd/MM/yyyy

21/03/1985

newIsCompany

Indicates if the wallet is created for a company
1: yes
0: no

No

[1] char

1

newCompanyName

Company name

No

[1 :256] char

Lemonway SAS

newCompanyWebsite

Website URL

No

[1 :256] char

www.lemonway.fr

newCompanyDescription

Company description

No

[1 :256] char

Ecommerce, clothings

newCompanyIdentificationNumber

Company identification number

No

[1 :256] char

123567ABCDEF

newIsDebtor

For crowdfunding/loan platforms, indicates if the wallet is created for a debtor
1: yes
0 or empty: no

No

[1] char

1

newNationality

Nationality of the client, using ISO-3 format.
Please separate multiple nationalities with a comma.

No

[0 :19] char

FRA,USA

newBirthcity

Client city of birth

No

[0 :140] car

Montreuil

newBirthcountry

Client country of birth using ISO-3 format

No

[3] char

FRA

newPayerOrBeneficiaryIndicates if the wallet is created for a payer or a beneficiary : 
Empty: unknown status (default) 
1: payer 
2: beneficiary
No[1] char1

Response

  

XML

<?xml version="1.0" encoding="utf-8"?>
<WALLET>
	<ID>string</ID>
	<LWID>string</LWID>
</WALLET>
  

JSON

{  
    "WALLET":{  
        "ID":"string",
        "LWID":"string"
    }
}

Item

Description

Example

ID

An updated Wallet ID (your choice when you did create the Wallet).

33612345678

LWID

Lemonway Wallet ID (you cannot choose this number). This number is also printed on our Dashboard.

2343