Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

From 4.0

Allows to add more options to the PSD2 framework CWP and have them being taken up in the logic. These are used under the 'extra' section in the CWP and the logic would extract the contents of the '_links' and 'headers' elements.
  Each extra element has to have two sub-elements: '_links' and 'headers'.
  Each of these sub elements should be arrays, and they can be empty arrays ( [] ) but they have to be there.

  • _links: a list of extra links that need to be added to the responses. <authorisationid> is a placeholder that will be changed with the AuthorisationID that is generated.

  • headers: a list of headers that HAVE to be included in the request from the TPP beyond the least required ones.

  See examples below:

{
	"environment":{
		"extra":{
			"example1":{
				"_links":{
					"scaRedirect": { "href": "/mock/bank/authentication/<authorisationid>"},
					"scaOAuth": { "href": "/mock/bank/oauth/authorise/<authorisationid>"}
				},
				"headers":[]
			},
			"web":{
				"_links":{
					"scaRedirect":{ "href": "https://login.bank.com/mocklogin/<authorisationid>"}
				},
				"headers":[
					"PSU-IP-Address"
				]
			},
			"app":{
				"_links":{
					"scaRedirect":{ "href": "https://login.bank.com/mocklogin"
}
				},
				"headers":[
				]
			}
		}
	}
}
  • No labels