Appearance
Account Details
Account Details corresponds to the bank details of the Wallet, with all the relevant information such as the IBAN and the owner's identity. This is known as RIB in French.
Treezor provides Account Details in 2 formats:
As PDF
To retrieve an Account Details as PDF you can use the following request
bash
curl -X GET {baseUrl}/core-connect/account-details/{walletId}/computed' \
--header 'Authorization: Bearer {accessToken}' \
--header 'Content-Type: application/json'
1
2
3
2
3
Returns an object containing a URL to download the PDF.
json
{
"link": "https://dev-connect-files.s3.eu-west-3.amazonaws.com/tmp/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxx.pdf",
"expireIn": 300
}
1
2
3
4
2
3
4
The PDF uses the configured template for its rendering and is named after a concatenation of the Wallet name and id.
The PDF must be downloaded within 5 minutes, after which it expires.
As JSON
To retrieve an Account Details as JSON you can use the following request
bash
curl -X GET {baseUrl}/core-connect/account-details/{walletId}/raw' \
--header 'Authorization: Bearer {accessToken}' \
--header 'Content-Type: application/json'
1
2
3
2
3
Returns the Account Details in JSON.
json
{
"bic": "TRZOFR21XXX",
"iban": "FR7616798000010000XXXXXXXXX",
"title": "",
"firstname": "Alex",
"lastname": "Willow",
"postcode": "75000",
"city": "Paris",
"address1": "15 Hazel road",
"address2": "",
"countryName": "Allemagne",
"treezorAddress": {
"name": "Treezor SAS",
"address1": "33, av de Wagram",
"address2": null,
"postcode": "75017",
"city": "Paris"
}
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Endpoints
Endpoint | Scope |
---|---|
/core‑connect/account‑details/{walletId}/computed Request a PDF account details for a given Wallet | read_only |
/core‑connect/account‑details/{walletId}/raw Retrieve a JSON account details for a given Wallet | read_only |