Skip to content

Commit 6b4459e

Browse files
committed
docfix: tweaks to Glossary Item on Regulated Entities
1 parent f4253b6 commit 6b4459e

File tree

1 file changed

+80
-2
lines changed

1 file changed

+80
-2
lines changed

obp-api/src/main/scala/code/api/util/Glossary.scala

Lines changed: 80 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3558,7 +3558,7 @@ object Glossary extends MdcLoggable {
35583558
|* `keystore.passphrase` - Passphrase for keystore private keys
35593559
|* `keystore.alias` - Alias for certificate entries in keystore
35603560
|
3561-
|These properties are essential for TPP (Third Party Provider) certificate validation in PSD2/Berlin Group implementations, where regulated entities authenticate using QWAC (Qualified Website Authentication Certificate) or other qualified certificates.
3561+
|These properties are used for TPP (Third Party Provider) certificate validation in PSD2/Berlin Group implementations, where regulated entities authenticate using QWAC (Qualified Website Authentication Certificate) or other qualified certificates.
35623562
|
35633563
|## Internal Usage by OBP:
35643564
|
@@ -3574,7 +3574,7 @@ object Glossary extends MdcLoggable {
35743574
|
35753575
|This integration ensures that only properly registered and certificated Third Party Providers can access sensitive banking data and payment initiation services in compliance with PSD2 regulations.
35763576
|
3577-
|## Real-Time Certificate Retrieval:
3577+
|## Real-Time Entity / Certificate Retrieval:
35783578
|
35793579
|Regulated Entities can be retrieved in real time from the National Authority / National Bank through the following data flow patterns:
35803580
|
@@ -3593,6 +3593,84 @@ object Glossary extends MdcLoggable {
35933593
|
35943594
|* ${messageDocLinkRabbitMQ("obp.getRegulatedEntities")} - Retrieve all regulated entities
35953595
|* ${messageDocLinkRabbitMQ("obp.getRegulatedEntityByEntityId")} - Retrieve a specific regulated entity by ID
3596+
| For instance, a National Authority might publish:
3597+
|{
3598+
| "comercialName": "BANK_X_TPP_AISP",
3599+
| "idno": "1234567890123",
3600+
| "licenseNumber": "123456_bank_x",
3601+
| "roles": [
3602+
| "PISP"
3603+
| ],
3604+
| "certificate": {
3605+
| "snCert": "117",
3606+
| "caCert": "Bank (test)"
3607+
| }
3608+
|}
3609+
|
3610+
|
3611+
|and the Bank's OBP Adapter converts this and returns it to the connector like so:
3612+
|
3613+
|{
3614+
| "inboundAdapterCallContext": {
3615+
| "correlationId": "f347feb7-0c25-4a2f-8a40-d853917d0ccd"
3616+
| },
3617+
| "status": {
3618+
| "errorCode": "",
3619+
| "backendMessages": []
3620+
| },
3621+
| "data": [
3622+
| {
3623+
| "entityName": "BANCA COM S.A.",
3624+
| "entityCode": "198762948",
3625+
| "attributes": [
3626+
| {
3627+
| "attributeType": "STRING",
3628+
| "name": "CERTIFICATE_SERIAL_NUMBER",
3629+
| "value": "1082"
3630+
| },
3631+
| {
3632+
| "attributeType": "STRING",
3633+
| "name": "CERTIFICATE_CA_NAME",
3634+
| "value": "BANK CA (test)"
3635+
| }
3636+
| ],
3637+
| "services": [
3638+
| {
3639+
| "roles": [
3640+
| "PSP_PI",
3641+
| "PSP_AI"
3642+
| ]
3643+
| }
3644+
| ]
3645+
| },
3646+
| {
3647+
| "entityName": "Bank Y S.A.",
3648+
| "entityCode": "1029876963",
3649+
| "attributes": [
3650+
| {
3651+
| "attributeType": "STRING",
3652+
| "name": "CERTIFICATE_SERIAL_NUMBER",
3653+
| "value": "1135"
3654+
| },
3655+
| {
3656+
| "attributeType": "STRING",
3657+
| "name": "CERTIFICATE_CA_NAME",
3658+
| "value": "BANK CA (test)"
3659+
| }
3660+
| ],
3661+
| "services": [
3662+
| {
3663+
| "roles": [
3664+
| "PSP_PI",
3665+
| "PSP_AI"
3666+
| ]
3667+
| }
3668+
| ]
3669+
| }
3670+
| ]
3671+
|}
3672+
|
3673+
| Note the use of Regulated Entity Attribute Names to handle different data types from the national authority.
35963674
|
35973675
|Note: You can / should run a separate instance of OBP for surfacing the Regulated Entities endpoints.
35983676
|""".stripMargin)

0 commit comments

Comments
 (0)