GetWalletDetailsBatch: Get 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 |
1.7 | Output: Lemonway's internal payment account ID |
1.8 | Output: List of cards associated to the payment account |
2.0 | Output: 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: the amount of money in the wallet and so forth. Everything about one wallet is here.
Fill at least one search field.
Request
XML
<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>
JSON
{
"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 |
Payment account email | No | [0 : 256] char |
Response
XML
<?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>
JSON
"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 | |||
>= 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. | 2 |
>= 1.2 | DOC>TYPE | Type of document. | 0 |
>= 1.5 | DOC>VD | Validity date of the document | 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. | 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. | 5 |
>= 1.6 | BLOCKED | Indicates if wallet is blocked or not: | 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. | 5 |
>= 1.4 | SDDMANDATE>DATA | IBAN associated with the mandate | |
>= 1.4 | SDDMANDATE>SWIFT | SWIFT code associated with the mandate | |
>= 1.7 | LWID | Internal ID given by LEMONWAY (ID displayed on the BACKOFFICE) | 3673 |
>= 1.8 | CARDS | List of cards linked to the wallet | |
>= 2.0 | FirstName | Holder's First Name | Jean |
>= 2.0 | LastName | Holder's Last Name | Dupont |
>= 2.0 | CompanyName | Company name | LEMON |
>= 2.0 | CompanyDescription | Company Description | Payment Service |
>= 2.0 | CompanyWebsite | Company Website | lemonway.com |
>= 2.0 | isDebtor | For crowdfunding/loan platforms, indicates if the wallet is created for a debtor 1: yes 0 or empty: no | 0 |
>= 2.0 | payerOrBeneficiary | Indicates if the wallet is created for a payer or a beneficiary: | 1 |