GetWalletDetailsBatch: Getting detailed wallet data

Version

Description

1.1

Status of all uploaded documents and IBAN

1.2

Output: the type of uploaded document

1.3

Output: IBAN data and complete SWIFT BIC code

1.4

Output: SDD mandates

1.5

Output: validity date for documents

1.6

Output: blocked payment account
Output: IBAN holders

1.7

Output: Lemon Way's internal payment account ID

1.8

Output: List of cards associated to the payment account

2.0Output: payment account holder's name, company, payer or beneficiary, is debtor

How it works

This method is often used by your system, to get all information regarding many payment accounts at the same time: amount of money in the wallet, IBAN associated to the payment account, document uploaded for KYC (Know Your Customer)… Everything about one wallet is here.

Fill at least one search field.

Request

<GetWalletDetails xmlns="Service_mb_xml">

  <wlLogin>string</wlLogin>

  <wlPass>string</wlPass>

  <language>string</language>

  <version>string</version>

  <walletIp>string</walletIp>

  <walletUa>string</walletUa>
  <wallets>
    <EmailExtId>
      <wallet>string</wallet>
   
   <email>string</email>
    </EmailExtId>
    <EmailExtId>
      <wallet>string</wallet>
   
   <email>string</email>
    </EmailExtId>
  

    ...
  </wallets>
</GetWalletDetails>

  
    "wlLogin":"string",
    "wlPass":"string",
    "language":"string",
    "version":"string",
    "walletIp":"string",
    "walletUa":"string",

     "wallets":[
        {
             "wallet":"string",
              "email":"string"

        },
        {
             "wallet":"string",
              "email":"string"

        },

        ...
    ]
  
}

Item

Description

Mandatory

Format

Example

wallet

Payment account ID

No

[0 : 256] char

33612345678

email

Payment account email

No

[0 : 256] char

email@email.com

Answer

<?xml version="1.0" encoding="utf-8"?>
<WALLETS>
<GetWalletDetailsResult>
	<ID>string<ID>
	<BAL>string</BAL>
	<NAME>string<NAME>
	<EMAIL>string<EMAIL>
	<DOCS> <!--since version 1.1-->
		<DOC>
			<ID>docId</ID>
			<S>documentStatus</S>
			<TYPE>documentType</TYPE><!--since version 1.2-->
			<VD>validity date</VD><!--since version 1.5-->
		</DOC>
		...
	</DOCS>
	<IBANS> <!--since version 1.1-->
		<IBAN>
			<ID>ibanId</ID>
			<S>status</S>
			<DATA>iban</DATA><!--since version 1.3-->
			<SWIFT>swiftCode</SWIFT><!--since version 1.3-->
			<HOLDER>holder</HOLDER><!--since version 1.6-->
		</IBAN>
		...
	</IBANS>
	<STATUS>string</STATUS>
	<BLOCKED>1</BLOCKED> <!--since de version 1.6-->
	<SDDMANDATES> <!--since de version 1.4-->
		<SDDMANDATE>
			<ID>sddMandateId</ID>
			<S>status</S>
			<DATA>iban</DATA>
			<SWIFT>swiftCode</SWIFT>
		</SDDMANDATE>
		...
	</SDDMANDATES>
	<LWID>string</LWID>
	<CARDS> <!--since version 1.8-->
		<CARD>
			<ID>string</ID>
			<EXTRA>
				<IS3DS> string </IS3DS>
				<CTRY> string </CTRY>
				<AUTH> string </AUTH>
				<NUM> string </NUM>
				<EXP> string </EXP>
				<TYP> string </TYP>
			</EXTRA>
		</CARD>
		...
	</CARDS>
	<!--since version 2.0-->
	<FirstName> string </FirstName>
	<LastName> string </LastName>
	<CompanyName> string </CompanyName>
	<CompanyDescription> string </CompanyDescription>
	<CompanyWebsite> string </CompanyWebsite>
</GetWalletDetailsResult>
<GetWalletDetailsResult>
	...
</GetWalletDetailsResult>
...
</WALLETS>
"wallets":[ 
{
	"WALLET":{  
            "ID":"string",
            "BAL":"string",
            "NAME":"string",
            "EMAIL":"string",
            "DOCS":[  
                {  
                    "ID":"docId",
                    "S":"documentStatus",
                    "TYPE":"documentType",
                    "VD":"validity date"
                },
                ...
            ],
            "IBANS":[  
                {  
                    "ID":"ibanId",
                    "S":"status",
                    "DATA":"iban",
                    "SWIFT":"swiftCode",
                    "HOLDER":"holder"
                },
                ...
            ],
            "STATUS":"string",
            "BLOCKED":"1",
            "SDDMANDATES":[  
                {  
                    "ID":"sddMandateId",
                    "S":"status",
                    "DATA":"iban",
                    "SWIFT":"swiftCode"
                }
            ],
            "LWID":"string",
            "CARDS":[  
                {  
                    "ID":"string",
                    "EXTRA":{  
                        "IS3DS":"string",
                        "CTRY":"string",
                        "AUTH":"string",
                        "NUM":"string",
                        "EXP":"string",
                        "TYP":"string"
                    }
                },
                ...
            ],
            "FirstName":"string",
            "LastName":"string",
            "CompanyName":"string",
            "CompanyDescription":"string",
            "CompanyWebsite":"string",
        }
},
{
	"WALLET":{...}
},
...
]

Version

Item

Description

Example

>= 1.0

WALLET

Payment account

>= 1.0

ID

Payment account ID

33612345678 ou taxi67

>= 1.0

BAL

Payment account balance amount

23.90

>= 1.0

NAME

First name and last name

Jean Dupont

>= 1.0

EMAIL

Email

Jean.dupont@email.com

>= 1.1

DOCS

List of documents that changed since the entry date

>= 1.1

DOC

Document

>= 1.1

DOC>ID

Document ID

20

>= 1.1

DOC>S

Status of the document.
The list of status is available  in annex .

2

>= 1.2

DOC>TYPE

Type of document.
The list of types is available in annex .

0

>= 1.5

DOC>VD

Validity date of the document
Format: dd/mm/yyy
Empty if unknown

23/03/2016

>= 1.1

IBANS

IBAN list that changed since the entry date

>= 1.0

IBAN

IBAN

>= 1.0

IBAN>ID

IBAN ID

98

>= 1.0

IBAN>S

Only status 5 allows the use of the IBAN for a money-out.
The list of types is available in annex . 

5

>= 1.3

IBAN>DATA

IBAN saved

30002014400000156627A61

>= 1.3

IBAN>SWIFT

SWIFT BIC code associated to the IBAN

CRLYFRPP

>= 1.6

IBAN>HOLDER

Holder of the IBAN

Jean Dupont

>= 1.0

STATUS

Payment account status.
The list of status is available in annex

5

>= 1.6

BLOCKED

Indicates if wallet is blocked or not:
0: not blocked
1: blocked

1

>= 1.4

SDDMANDATES

List of SDD mandates associated to the wallet

>= 1.4

SDDMANDATE

SDD mandate block

>= 1.4

SDDMANDATE>ID

Mandate ID

98

>= 1.4

SDDMANDATE>S

Mandate status.
The list of types is available in annex . 

5

>= 1.4

SDDMANDATE>DATA

IBAN associated to the mandate

>= 1.4

SDDMANDATE>SWIFT

SWIFT code associated to the mandate

>= 1.7

LWID

Internal ID given by LEMON WAY (ID displayed on the BACKOFFICE)

3673

>= 1.8

CARDS

List of cards linked to the wallet

>= 2.0FirstNameHolder's First NameJean
>= 2.0LastNameHolder's Last NameDupont
>= 2.0CompanyNameCompany nameLEMON
>= 2.0CompanyDescriptionCompany DescriptionPayment Service
>= 2.0CompanyWebsiteCompany Websitelemonway.fr
>= 2.0isDebtorFor crowdfunding/loan platforms, indicates if the wallet is created for a debtor 
1: yes 
0 or empty: no
0
>= 2.0payerOrBeneficiary

Indicates if the wallet is created for a payer or a beneficiary : 
Empty: unknown status (default) 
1: payer 
2: beneficiary

1