{"openapi":"3.0.0","info":{"description":"## Overview\n\nProvides a implementation for the consent details api.\n\nThis API provides third parties with a view of the consents that they have been granted by end users and also allow TPP to revoke the consent.","title":"API Consent Details Service","version":"1.0.31","x-api-id":"b816b511-eb47-4e6c-8888-e66e68eaaa6d","x-ibm-name":"psd2-consent-details-service"},"servers":[{"url":"https://api.rabobank.nl/openapi/oauth2","description":"Production server"},{"url":"https://api-sandbox.rabobank.nl/openapi/sandbox/oauth2","description":"Sandbox server"}],"paths":{"/consents/{consentId}":{"delete":{"parameters":[{"description":"The Consent Id can be found in the metadata field of the /token endpoint in the oauth api.","example":"bdf7e270-aae6-4a72-877d-95f2c7803db8","in":"path","name":"consentId","required":true,"schema":{"type":"string"}},{"description":"The certificate used for signing the request.","example":"MIIDkDCCAnigAwIBAgIEWs3AJDANBgkqhkiG9w0BAQsFADCBiTELMAkGA1UEBhMCTkwxEDAOBgNVBAgMB1V0cmVjaHQxEDAOBgNVBAcMB1V0cmVjaHQxETAPBgNVBAoMCFJhYm9iYW5rMRwwGgYDVQQLDBNPbmxpbmUgVHJhbnNhY3Rpb25zMSUwIwYDVQQDDBxQU0QyIEFQSSBQSSBTZXJ2aWNlcyBTYW5kYm94MB4XDTE4MDQxMTA3NTgyOFoXDTIzMDQxMTA3NTgyOFowgYkxCzAJBgNVBAYTAk5MMRAwDgYDVQQIDAdVdHJlY2h0MRAwDgYDVQQHDAdVdHJlY2h0MREwDwYDVQQKDAhSYWJvYmFuazEcMBoGA1UECwwTT25saW5lIFRyYW5zYWN0aW9uczElMCMGA1UEAwwcUFNEMiBBUEkgUEkgU2VydmljZXMgU2FuZGJveDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANoAjqGWUgCIm2F+0sBSEwLal+T3u+uldLikpxHCB8iL1GD7FrRjcA+MVsxhvHly7vRsHK+tQyMSaeK782RHpY33qxPLc8LmoQLb2EuiQxXj9POYkYBQ74qkrZnvKVlR3WoyQWeDOXnSY2wbNFfkP8ET4ElwyuIIEriwYhab0OIrnnrO8X82/SPZxHwEd3aQjQ6uhiw8paDspJbS5WjEfuwY16KVVUYlhbtAwGjvc6aK0NBm+LH9fMLpAE6gfGZNy0gzMDorVNbkQK1IoAGD8p9ZHdB0F3FwkILEjUiQW6nK+/fKDNJ0TBbpgZUpY8bR460qzxKdeZ1yPDqX2Cjh6fkCAwEAATANBgkqhkiG9w0BAQsFAAOCAQEAYL4iD6noMJAt63kDED4RB2mII/lssvHhcxuDpOm3Ims9urubFWEpvV5TgIBAxy9PBinOdjhO1kGJJnYi7F1jv1qnZwTV1JhYbvxv3+vk0jaiu7Ew7G3ASlzruXyMhN6t6jk9MpaWGl5Uw1T+gNRUcWQRR44g3ahQRIS/UHkaV+vcpOa8j186/1X0ULHfbcVQk4LMmJeXqNs8sBAUdKU/c6ssvj8jfJ4SfrurcBhY5UBTOdQOXTPY85aU3iFloerx7Oi9EHewxInOrU5XzqqTz2AQPXezexVeAQxP27lzqCmYC7CFiam6QBr06VebkmnPLfs76n8CDc1cwE6gUl0rMA==","in":"header","name":"TPP-Signature-Certificate","required":true,"schema":{"type":"string"}},{"description":"ClientId as provided by the Rabobank developer portal.","example":"616281c5-daca-439c-872f-816ed8302a49","in":"header","name":"X-IBM-Client-Id","required":true,"schema":{"type":"string"}},{"description":"ID of the request, unique to the call, as determined by the initiating party. Format is UUID v4.","example":"594d27d0-26d7-47dc-9d62-c307616220b6","in":"header","name":"X-Request-ID","required":true,"schema":{"type":"string"}},{"description":"Message digest. Is contained if and only if the Signature element is contained in the header of the request.","example":"sha-512=z4PhNX7vuL3xVChQ1m2AB9Yg5AULVxXcg/SpIdNs6c5H0NE8XYXysP+DGNKHfuwvY7kxvUdBeoGlODJ6+SfaPg==","in":"header","name":"Digest","required":true,"schema":{"type":"string"}},{"description":"A signature of the request on application level.","example":"keyId=\"1523433508\",algorithm=\"rsa-sha512\",headers=\"date digest x-request-id\",signature=\"y5o7gKxmfA6AT6IvZ5L89uWxhjcw0BPqDlfK6WX1pB5vKtOctzwustjHI6TjdgQMzQL9LAJX6izs5lVCB6Bjl/l3ntCt4rigJPzfTLbnSlxBhLcabru+KyC7pu00NasyMzl4kv/1jtxrBqzSsUvCz87IBSTLSeoPCJc4E5ME82Bdpss67RWcVe94UzLW8jsCqrncLxiMsD6d2ZQmnH/S7Gu9zk8g9eJovmLIaVLn4C5vW7khS63hSZf8qdTEDlMI/L+QgYVgZVIijKosYEnCB9tH5OYWS9cQ1g1NBrMHQASg/ZV8CxHkXizYg7gQoTGaKvSeD7QC172OqySblE1A9Q==\"","in":"header","name":"Signature","required":true,"schema":{"type":"string"}},{"description":"Date header as described in RFC-2616 section 3.3.1.","example":"Tue, 15 Nov 1994 08:12:31 GMT","in":"header","name":"Date","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Successfully deleted consent details"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/tppMessages"}}},"description":"Unauthorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/tppMessages"}}},"description":"Consent Not Found"},"500":{"description":"Internal Server Error"}},"description":"Returns success http status code","operationId":"revokeConsent","summary":"Revoke consent"}},"/v1/consents/{consentId}":{"get":{"parameters":[{"description":"The Consent Id can be found in the metadata field of the /token endpoint in the oauth api.","example":"bdf7e270-aae6-4a72-877d-95f2c7803db8","in":"path","name":"consentId","required":true,"schema":{"type":"string"}},{"description":"The certificate used for signing the request.","example":"MIIDkDCCAnigAwIBAgIEWs3AJDANBgkqhkiG9w0BAQsFADCBiTELMAkGA1UEBhMCTkwxEDAOBgNVBAgMB1V0cmVjaHQxEDAOBgNVBAcMB1V0cmVjaHQxETAPBgNVBAoMCFJhYm9iYW5rMRwwGgYDVQQLDBNPbmxpbmUgVHJhbnNhY3Rpb25zMSUwIwYDVQQDDBxQU0QyIEFQSSBQSSBTZXJ2aWNlcyBTYW5kYm94MB4XDTE4MDQxMTA3NTgyOFoXDTIzMDQxMTA3NTgyOFowgYkxCzAJBgNVBAYTAk5MMRAwDgYDVQQIDAdVdHJlY2h0MRAwDgYDVQQHDAdVdHJlY2h0MREwDwYDVQQKDAhSYWJvYmFuazEcMBoGA1UECwwTT25saW5lIFRyYW5zYWN0aW9uczElMCMGA1UEAwwcUFNEMiBBUEkgUEkgU2VydmljZXMgU2FuZGJveDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANoAjqGWUgCIm2F+0sBSEwLal+T3u+uldLikpxHCB8iL1GD7FrRjcA+MVsxhvHly7vRsHK+tQyMSaeK782RHpY33qxPLc8LmoQLb2EuiQxXj9POYkYBQ74qkrZnvKVlR3WoyQWeDOXnSY2wbNFfkP8ET4ElwyuIIEriwYhab0OIrnnrO8X82/SPZxHwEd3aQjQ6uhiw8paDspJbS5WjEfuwY16KVVUYlhbtAwGjvc6aK0NBm+LH9fMLpAE6gfGZNy0gzMDorVNbkQK1IoAGD8p9ZHdB0F3FwkILEjUiQW6nK+/fKDNJ0TBbpgZUpY8bR460qzxKdeZ1yPDqX2Cjh6fkCAwEAATANBgkqhkiG9w0BAQsFAAOCAQEAYL4iD6noMJAt63kDED4RB2mII/lssvHhcxuDpOm3Ims9urubFWEpvV5TgIBAxy9PBinOdjhO1kGJJnYi7F1jv1qnZwTV1JhYbvxv3+vk0jaiu7Ew7G3ASlzruXyMhN6t6jk9MpaWGl5Uw1T+gNRUcWQRR44g3ahQRIS/UHkaV+vcpOa8j186/1X0ULHfbcVQk4LMmJeXqNs8sBAUdKU/c6ssvj8jfJ4SfrurcBhY5UBTOdQOXTPY85aU3iFloerx7Oi9EHewxInOrU5XzqqTz2AQPXezexVeAQxP27lzqCmYC7CFiam6QBr06VebkmnPLfs76n8CDc1cwE6gUl0rMA==","in":"header","name":"TPP-Signature-Certificate","required":true,"schema":{"type":"string"}},{"description":"ClientId as provided by the Rabobank developer portal.","example":"616281c5-daca-439c-872f-816ed8302a49","in":"header","name":"X-IBM-Client-Id","required":true,"schema":{"type":"string"}},{"description":"ID of the request, unique to the call, as determined by the initiating party. Format is UUID v4.","example":"594d27d0-26d7-47dc-9d62-c307616220b6","in":"header","name":"X-Request-ID","required":true,"schema":{"type":"string"}},{"description":"Message digest. Is contained if and only if the Signature element is contained in the header of the request.","example":"sha-512=z4PhNX7vuL3xVChQ1m2AB9Yg5AULVxXcg/SpIdNs6c5H0NE8XYXysP+DGNKHfuwvY7kxvUdBeoGlODJ6+SfaPg==","in":"header","name":"Digest","required":true,"schema":{"type":"string"}},{"description":"A signature of the request on application level.","example":"keyId=\"1523433508\",algorithm=\"rsa-sha512\",headers=\"date digest x-request-id\",signature=\"y5o7gKxmfA6AT6IvZ5L89uWxhjcw0BPqDlfK6WX1pB5vKtOctzwustjHI6TjdgQMzQL9LAJX6izs5lVCB6Bjl/l3ntCt4rigJPzfTLbnSlxBhLcabru+KyC7pu00NasyMzl4kv/1jtxrBqzSsUvCz87IBSTLSeoPCJc4E5ME82Bdpss67RWcVe94UzLW8jsCqrncLxiMsD6d2ZQmnH/S7Gu9zk8g9eJovmLIaVLn4C5vW7khS63hSZf8qdTEDlMI/L+QgYVgZVIijKosYEnCB9tH5OYWS9cQ1g1NBrMHQASg/ZV8CxHkXizYg7gQoTGaKvSeD7QC172OqySblE1A9Q==\"","in":"header","name":"Signature","required":true,"schema":{"type":"string"}},{"description":"Date header as described in RFC-2616 section 3.3.1.","example":"Tue, 15 Nov 1994 08:12:31 GMT","in":"header","name":"Date","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Consent"}}},"description":"Successfully retrieved consent details"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/tppMessages"}}},"description":"Unauthorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/tppMessages"}}},"description":"Consent Not Found"},"500":{"description":"Internal Server Error"}},"description":"Returns the scope and products associated with the consent object","operationId":"getConsentByConsentId","summary":"Get consent details"}}},"components":{"schemas":{"AccountReference":{"description":"Details of consented products","properties":{"currency":{"description":"Currency code, as per ISO 4217.","example":"EUR","type":"string"},"iban":{"description":"An International Bank Account Number, as per ISO 13616.","example":"NL01RABO0123456789","type":"string"},"status":{"description":"status of the consent.","example":"valid","type":"string","x-extensible-enum":["valid","expired","revokedByPsu","terminatedByTpp","received","rejected"]},"validUntil":{"description":"Date at which this consent expires, as per section 5.6 of RFC 3339.","example":"9999-12-31","type":"string"}},"required":["currency","iban","status","validUntil"],"type":"object"},"Consent":{"description":"Consent details object","properties":{"access":{"additionalProperties":{"items":{"$ref":"#/components/schemas/AccountReference"},"type":"array"},"description":"An associative array relating scopes (field names) to consented products (values).","example":{"ais.balances.read":[{"currency":"EUR","iban":"NL64RABO0125607016","status":"valid","validUntil":"2199-12-31"},{"currency":"EUR","iban":"NL64RABO0125607017","status":"revokedByPsu","validUntil":"2199-12-31"}],"ais.transactions.read-history":[{"currency":"EUR","iban":"NL64RABO0125607016","status":"valid","validUntil":"2199-12-31"},{"currency":"EUR","iban":"NL64RABO0125607017","status":"revokedByPsu","validUntil":"2199-12-31"}]},"type":"object"},"consentId":{"description":"consent Id.","example":"011b375e-d866-4b43-9847-4812cccbab29","type":"string"}},"required":["access","consentId"],"type":"object"},"messageCodeText":{"example":"CERTIFICATE_INVALID","type":"string","x-extensible-enum":["SESSIONS_NOT_SUPPORTED","ACCESS_EXCEEDED","REQUESTED_FORMATS_INVALID","CERTIFICATE_INVALID","CERTIFICATE_EXPIRED","CERTIFICATE_BLOCKED","CERTIFICATE_REVOKED","CERTIFICATE_MISSING","SIGNATURE_INVALID","SIGNATURE_MISSING","FORMAT_ERROR","PARAMETER_NOT_SUPPORTED","PSU_CREDENTIALS_INVALID","SERVICE_INVALID","SERVICE_BLOCKED","CORPORATE_ID_INVALID","CONSENT_UNKNOWN","CONSENT_INVALID","CONSENT_EXPIRED","TOKEN_UNKNOWN","TOKEN_INVALID","TOKEN_EXPIRED","RESOURCE_UNKNOWN","RESOURCE_EXPIRED","TIMESTAMP_INVALID","PERIOD_INVALID","SCA_METHOD_UNKNOWN"]},"tppMessageCategory":{"description":"Category of the message","example":"ERROR","type":"string","x-extensible-enum":["ERROR","WARNING"]},"tppMessageGeneric":{"properties":{"category":{"$ref":"#/components/schemas/tppMessageCategory"},"code":{"$ref":"#/components/schemas/messageCodeText"},"path":{"example":"/v1/consents","type":"string"},"text":{"$ref":"#/components/schemas/tppMessageText"}},"required":["category","code"],"type":"object"},"tppMessageText":{"description":"Additional text.","example":"Header X-Request-ID is required","maxLength":512,"type":"string"},"tppMessages":{"description":"Messages on operational issues.","properties":{"tppMessages":{"items":{"$ref":"#/components/schemas/tppMessageGeneric"},"type":"array"}},"type":"object"}},"securitySchemes":{"clientId":{"description":"ClientId as provided by the Rabobank developer portal.","in":"header","name":"X-IBM-Client-Id","type":"apiKey"}}},"security":[{"clientId":[]}],"x-readme":{"explorer-enabled":false,"proxy-enabled":false}}