v1

latestOpenAPI 3.0.02026-07-2691259477.2 KB
Accounts | Update

Update Legal Payment Account Data

This method enables you to update information relating to a legal client payment account.

  1. The client enters their new data.
  2. The client calls the Lemonway Webservice.
  3. Lemonway records data when it exists.
  4. The application processes Lemonway's response and displays a confirmation message.
put/v2/accounts/legal/{accountid}

Path parameters

accountidstring required

Account ID

Headers

Authorizationstring required

Authorization bearer (OAuth 2)

PSU-Accept-Languagestring

Response language accepted by final client (PSU). English by default

PSU-IP-Addressstring required

IP address of the final client (PSU).

PSU-User-Agentstring

User-agent of the final client (PSU).

Request body

emailstring

New Email.

titlestring

Client title

firstNamestring required

Client first name

lastNamestring required

Client last name

phoneNumberstring

MSISDN phone number

mobileNumberstring

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

isDebtorboolean

For crowdfunding/loan platforms, indicate if the wallet is created for a debtor.

nationalitystring

client nationality, using ISO 3166-1 alpha-3 format. Separate multiple nationalities with a comma.

payerOrBeneficiaryinteger

Indicates if the payment account is created for a payer or a beneficiary: Empty: unknown status (default) 1: Payer 2: Beneficiary

isCompanyboolean

Important: This object is deprecated and no longer permissible in accordance with EU compliance rules.

Example request

{
  "company": {
    "name": "Lemonway SAS",
    "description": "Ecommerce, clothings",
    "websiteUrl": "www.lemonway.fr",
    "identificationNumber": "1234567ABCDEF"
  },
  "email": "adresse@domaine.com",
  "title": "M",
  "firstName": "Pierre",
  "lastName": "Dupont",
  "adresse": {
    "street": "26 rue de Paris",
    "postCode": "93100",
    "city": "Montreuil",
    "country": "FRA"
  },
  "Birth": {
    "date": "21/03/1985",
    "city": "Montreuil",
    "Country": "FRA"
  },
  "phoneNumber": "33672635263",
  "mobileNumber": "33672635263",
  "isDebtor": true,
  "nationality": "FRA,USA",
  "payerOrBeneficiary": 1,
  "isCompany": false
}

Response

OK