5.1.8 "getConsentStatus" interface

From CBI GLOBE Wiki

This API check the status of an account information consent resource.

Input parameters

Attribute Description
consent-id The consent identification assigned to the created resource.
tpp-signature-certificate This is a X509 certificate that the TPP uses for signing the request, in base64 encoding.

This certificate is in PEM format without the "-----BEGIN CERTIFICATE-----" and "-----END CERTIFICATE-----". Must be contained if a signature is contained, see above.

signature A signature of the request by the TPP on application level. This might be mandated by ASPSP.
digest Is contained if and only if the “Signature” element is contained in the header of the

request. The “digest” Header contains a Hash of the message body. The only hash algorithms that may be used to calculate the digest within the context of this specification are SHA-256 and SHA-512.

Output parameters

Attribute Description
Result Code Result of the get consent status.
Error Management Description of the type of error obtained in the event that the outcome is negative.
consentStatus Possible output values:

- received
- rejected
- valid
- revokedByPsu
- expired
- terminatedByTpp
- replaced
- invalidated
- pendingExpired

scaStatus This data element is containing information about the status of the SCA method applied.