Skip to main content

Create an Agreement Template

Create the settings that control the consent flow for your Software Product.

POST /template

Scope: biza-au:og:template:write

Implementation notes​

  • What each setting controls is described in What is an Agreement Template.
  • The payload version is V1 or V2. V2 adds require_all_scopes and the non-bank lending industries in data_holder_industry.
  • If you leave them out, direct_marketing_shown and require_all_scopes default to true.
  • allowed_redirect_uris must list every redirectUri and errorRedirectUri you will prime with. agreementEndCallbackUrl is your CDR end-of-life webhook.
  • A new template is active. Keep the returned id: it is the templateId you prime with. Templates cannot be edited; to change one, create another and delete the old one.
  • Send x-v: 1 or x-v: 2.

Reference​

From the Open Gateway API 4.0.1. See the full reference.

Loading...