Create sandbox agreements
POST/v1/sandbox/agreements
Only used to manage agreements for corporate customers.
Create agreement for customer. Engagements are the connection between accounts and customers.
When granting consent in test a corporate customer will first select an agreement before granting consent to accounts registered on that agreement.
Engagements must have both the role "REGISTER" and "VIEW" to be available for granting consent in the sandbox environment.
Note that the field "customer" in engagement points to the PSU which should see the accounts when granting consent in the PSD2 Sandbox. However the field "account" in the engagement should not be owned by the same PSU, this should be owned by the customer created as the corporation which the PSU is a member of. Also note that the field "owner" in agreement is also the corporation which the PSU is a member of.
Request
Responses
- 201