Get Agreement Detail
Read one agreement: its status, consents, configuration and Data Holder.
GET /principal/{principalId}/agreement/{agreementId}
Scope: biza-au:og:agreement:read
Implementation notesβ
- Check
statusbefore you query data: only anACTIVEagreement allows access to CDR data.collectionConsent.scopeslists the data the Consumer agreed to share. - The agreement must belong to
principalId, or the call returns403. - Call it after the consent redirect, rather than relying on the redirect alone.
- Send
x-v: 2, orx-v: 1for the earlier payload.
Referenceβ
From the Open Gateway API 4.0.1. See the full reference.
Loading...