6.1. PSU Context Retrieval
6.1.1. Request
GET http://localhost:18080/v1/accounts
6.1.1.1. Headers
PSU-Date: 2017-06-08T09:33:55.954+02:00
Accept: application/hal+json; charset=utf-8
PSU-GEO-Location: GEO:52.506931,13.144558
X-Request-ID: f3207dd0-0b65-41c7-beff-6b89744ad453
PSU-Referer: http://en.wikipedia.org/wiki/Main_Page
PSU-IP-Port: 12345
PSU-Accept: text/plain
Authorization: Bearer 1234567890AZERTYUIOP
PSU-Accept-Charset: utf-8
PSU-Accept-Encoding: gzip, deflate
PSU-IP-Address: 10.10.10.10
PSU-User-Agent: Mozilla
PSU-HTTP-Method: POST
PSU-Accept-Language: en-US
Content-Type: application/json
User-Agent: OpenAPI-Generator/1.6.2/java
Signature: keyId="https://path.to/myQsealCertificate_612b4c7d103074b29e4c1ece1ef40bc575c0a87e",algorithm="rsasha256",headers="psu-accept psu-accept-charset psu-accept-encoding psu-accept-language psu-date psu-geo-location psu-httpmethod psu-ip-address psu-ip-port psu-referer psu-useragent",signature="FJlfq7G/hBdO9GqwVZKkBxyZ8YYKbHG0QUzJR6cSY3Rro6eafp0H2Ag7NPNAg1SsuvR+++u6Ybgveuk2/uOT4y/ g2DJD0toLbO+/senqo2yQiNKw5l96YtxMsGrt1OD9KrJiuk4wnKPfBAaObSXLl4A6vFrPxDEs9//AxubHbNU="6.1.1.2. No body data
6.1.2. Response
Status code: 200
6.1.2.1. Headers
X-Request-Id: f3207dd0-0b65-41c7-beff-6b89744ad453
Content-Type: application/hal+json;charset=utf-8
Date: Tue, 16 Nov 2021 14:30:00 GMT
Keep-Alive: timeout=60
Connection: keep-alive6.1.3. Body
{
"accounts": [
{
"resourceId": "account_rsc1",
"bicFi": "BNKAFRPPXXX",
"accountId": {
"iban": "YY64COJH41059545330222956960771321"
},
"name": "Compte de Mr et Mme Dupont",
"usage": "PRIV",
"cashAccountType": "CACC",
"psuStatus": "Co-account Holder",
"_links": {
"owners": {
"href": "/v1/accounts/account_rsc1/owners"
},
"balances": {
"href": "/v1/accounts/account_rsc1/balances"
},
"transactions": {
"href": "/v1/accounts/account_rsc1/transactions"
},
"overdrafts": {
"href": "/v1/accounts/account_rsc1/overdrafts"
}
}
},
{
"resourceId": "account_rsc2",
"bicFi": "BNKAFRPPXXX",
"accountId": {
"iban": "YY98JHCL48922452970525461479908705"
},
"name": "Compte de Mme Dupont",
"usage": "PRIV",
"cashAccountType": "CACC",
"psuStatus": "Account Holder",
"_links": {
"owners": {
"href": "/v1/accounts/account_rsc2/owners"
},
"balances": {
"href": "/v1/accounts/account_rsc2/balances"
},
"transactions": {
"href": "/v1/accounts/account_rsc2/transactions"
},
"overdrafts": {
"href": "/v1/accounts/account_rsc2/overdrafts"
}
}
}
],
"_links": {
"self": {
"href": "/v1/accounts"
},
"consents": {
"href": "/v1/consents"
},
"endUserIdentity": {
"href": "v1/end-user-identity"
},
"trustedBeneficiaries": {
"href": "/v1/trusted-beneficiaries"
}
}
}