Consents
Create
The API allows the TPP to ask an ASPSP to create a new funds-confirmation-consent resource.
CURL
![]()
curl -i \
-H "Authorization: Bearer authorization" \
-H "Content-Type: application/json" \
-H "x-fapi-interaction-id: 93bac548-d2de-4546-b106-880a5018460d" \
-H "x-fapi-auth-date: Sun, 10 Sep 2017 19:43:31 GMT" \
-H "x-fapi-customer-ip-address: 104.25.212.99" \
-d 'eyJhbGciOiJQUzI1NiIsImtpZCI6InRlc3QifQ.eyJEYXRhIjp7IkV4cGlyYXRpb25EYXRlVGltZSI6IjIwMTctMDYtMDVUMTU6MTU6MTMrMDA6MDAiLCJEZWJ0b3JBY2NvdW50Ijp7IlNjaGVtZU5hbWUiOiJVSy5PQklFLlNvcnRDb2RlQWNjb3VudE51bWJlciIsIklkZW50aWZpY2F0aW9uIjoiMTEyODAwMDEyMzQ1NjciLCJOYW1lIjoiQW5kcmVhIFNtaXRoIiwiU2Vjb25kYXJ5SWRlbnRpZmljYXRpb24iOiIwMDAyIn19fQ.RhdYgvKOKG9gmGSXx8WlX0RbqAWrVDbpAoYgYpaUHJ1Aq3_eHnbHukl0eT_OXTsa3_LXNco1Uo5eaJX9H3ZaInvzDMMXg_OjMIgx1gLsLl-bWs5Cdh4_NUplMCiVPgYQMH9Zl9jmlwVt_kNzhR1ObWw7yr8Z5UecNKMkV_FnXlEwnAnkac0wDcozn2tvFS-tPQJjIT7vx5bnbb-dhky6EHGiTNvUJNzH8GfwqCD8BcSbBxnOUhAvVmQVmBfGzjAa7Ci-6XkqbXV25vRY5n7AJ71Co1xUSDTUOnu2QE168owcXl_lcS-nb0hQIZAHifAu6tQDKFaQ8wQj1C66VwR0kA' \
-X POST "/api/:provider_code/open-banking/v3.1.11/cbpii/funds-confirmation-consents"
Example of request
![]()
{"Data":{"ExpirationDateTime":"2017-06-05T15:15:13+00:00","DebtorAccount":{"SchemeName":"UK.OBIE.SortCodeAccountNumber","Identification":"11280001234567","Name":"Andrea Smith","SecondaryIdentification":"0002"}}}
Example of response
![]()
{"Data":{"ConsentId":"18463","CreationDateTime":"2017-06-05T15:15:13+00:00","Status":"AwaitingAuthorisation","StatusUpdateDateTime":"2017-06-05T15:15:13+00:00","ExpirationDateTime":"2017-06-05T15:15:13+00:00","DebtorAccount":{"SchemeName":"UK.OBIE.SortCodeAccountNumber","Identification":"11280001234567","Name":"Andrea Smith","SecondaryIdentification":"0002"}},"Links":{"Self":"/open-banking/v3.1/cbpii/funds-confirmation-consents/18463"},"Meta":{}}
Request
POST
/api/:provider_code/open-banking/v3.1.11/cbpii/funds-confirmation-consents
Headers
| Header | Type | Description |
|---|---|---|
Accept
|
string, optional | Media type that is acceptable for the response. Default value: application/json |
x-fapi-interaction-id
|
string, optional | An RFC4122 UID used as a correlation Id. |
Content-Type
|
string, optional | The media type of the body of the request. Default value: application/json |
Idempotency-Key
|
string, optional | Unique uuid used to recognize subsequent retries of the same request valid for 24 hours. Allowed length: max: 40 characters |
Authorization
|
string, required | Standard HTTP Header; Allows Credentials to be provided to the Authorisation / Resource Server depending on the type of resource being requested. For OAuth 2.0 / OIDC, this comprises of either the Basic / Bearer Authentication Schemes. Can raise: HeaderMissing, HeaderInvalid, ResourceNotFound, Forbidden |
x-fapi-auth-date
|
string, optional | The time when the PSU last logged in with the TPP. Supplied as HTTP-date (RFC7231), e.g. Sun, 10 Sep 2017 19:43:31 GMT. |
x-fapi-customer-ip-address
|
string, optional | The PSU's IP address if the PSU is currently logged in with the TPP. Identifies user presence for the data fetch. |
Request parameters
Response headers
| Header | Type | Description |
|---|---|---|
Content-Type
|
string, required | The media type of the body of the request. |
x-fapi-interaction-id
|
string, required | An RFC4122 UID used as a correlation Id. If provided, the ASPSP must "play back" this value in the x-fapi-interaction-id response header. |
Retry-After
|
integer, optional | Amount of time in seconds after which Salt Edge PSD2 Compliance Solution resends the previously failed request. |
Response
Upon successful request, 200 status code will be returned. See ‘Related Errors’ table for other possibilities.
Related Errors
| Class | Code | Description |
|---|---|---|
| ResourceNotFound | 400 | Specified resource doesn't exist. |
| FieldInvalidDate | 400 | An invalid date is supplied. |
| FieldInvalid | 400 | An invalid value is supplied in the field. More details in error_message. |
| HeaderMissing | 400 | A required HTTP header has not been provided. |
| HeaderInvalid | 400 | An invalid value is supplied in the HTTP header. |
| Forbidden | 403 | Action is forbidden. More details in error_message. |
Show
The API allows the TPP to ask an ASPSP to show a funds-confirmation-consent resource.
CURL
![]()
curl -i \
-H "Authorization: Bearer authorization" \
-H "Content-Type: application/json" \
-H "x-fapi-interaction-id: 93bac548-d2de-4546-b106-880a5018460d" \
-H "x-fapi-auth-date: Sun, 10 Sep 2017 19:43:31 GMT" \
-H "x-fapi-customer-ip-address: 104.25.212.99" \
-d 'eyJhbGciOiJQUzI1NiIsImtpZCI6InRlc3QifQ.e30.PszyiolnQjQpkqUXdtpeuwohGVltn42XfZEv2vuWK0i09c1IL2yfhujOj7Nd96SVEUGdoSBUqRIJ8Rb2HEknUHVUN5rkAc6tgRZvzjD-gL6VdkyR7RhZ_zSgISmgG20NDP1n1XhoAtgtV4PYhsq6XspY8c5l2gnzA7Tv-7OzDfbj614wP8HHAgEHuDlMyj_qs7LZc0c4TBM5PNhaOjleMdOmieKMIoylM1vdE_F363zI_ue02lCAKqWzUxKTAE_J0A8ENuzqgkN7vB409rJGNoN2_TbKImZYkySwcLbjYLOiL33GRpuABaBYQXhfdcNTolBIkJmhGrM15bjmylpQ9w' \
-X GET "/api/:provider_code/open-banking/v3.1.11/cbpii/funds-confirmation-consents/:consent_id"
Example of response
![]()
{"Data":{"ConsentId":"18463","CreationDateTime":"2017-06-05T15:15:13+00:00","Status":"AwaitingAuthorisation","StatusUpdateDateTime":"2017-06-05T15:15:13+00:00","ExpirationDateTime":"2017-06-05T15:15:13+00:00","DebtorAccount":{"SchemeName":"UK.OBIE.SortCodeAccountNumber","Identification":"11280001234567","Name":"Andrea Smith","SecondaryIdentification":"0002"}},"Links":{"Self":"/open-banking/v3.1/cbpii/funds-confirmation-consents/18463"},"Meta":{}}
Request
GET
/api/:provider_code/open-banking/v3.1.11/cbpii/funds-confirmation-consents/:consent_id
Headers
| Header | Type | Description |
|---|---|---|
Accept
|
string, optional | Media type that is acceptable for the response. Default value: application/json |
x-fapi-interaction-id
|
string, optional | An RFC4122 UID used as a correlation Id. |
Authorization
|
string, required | Standard HTTP Header; Allows Credentials to be provided to the Authorisation / Resource Server depending on the type of resource being requested. For OAuth 2.0 / OIDC, this comprises of either the Basic / Bearer Authentication Schemes. Can raise: HeaderMissing, HeaderInvalid, ResourceNotFound, Forbidden |
x-fapi-auth-date
|
string, optional | The time when the PSU last logged in with the TPP. Supplied as HTTP-date (RFC7231), e.g. Sun, 10 Sep 2017 19:43:31 GMT. |
x-fapi-customer-ip-address
|
string, optional | The PSU's IP address if the PSU is currently logged in with the TPP. Identifies user presence for the data fetch. |
Request parameters
Response headers
| Header | Type | Description |
|---|---|---|
Content-Type
|
string, required | The media type of the body of the request. |
x-fapi-interaction-id
|
string, required | An RFC4122 UID used as a correlation Id. If provided, the ASPSP must "play back" this value in the x-fapi-interaction-id response header. |
Retry-After
|
integer, optional | Amount of time in seconds after which Salt Edge PSD2 Compliance Solution resends the previously failed request. |
Response
Upon successful request, 200 status code will be returned. See ‘Related Errors’ table for other possibilities.
Related Errors
| Class | Code | Description |
|---|---|---|
| ResourceNotFound | 400 | Specified resource doesn't exist. |
| FieldInvalid | 400 | An invalid value is supplied in the field. More details in error_message. |
| HeaderMissing | 400 | A required HTTP header has not been provided. |
| HeaderInvalid | 400 | An invalid value is supplied in the HTTP header. |
| Forbidden | 403 | Action is forbidden. More details in error_message. |
Destroy
If the PSU revokes consent to confirm funds with the TPP, the TPP must delete the funds-confirmation-consent resource.
CURL
![]()
curl -i \
-H "Authorization: Bearer authorization" \
-H "Content-Type: application/json" \
-H "x-fapi-interaction-id: 93bac548-d2de-4546-b106-880a5018460d" \
-H "x-fapi-auth-date: Sun, 10 Sep 2017 19:43:31 GMT" \
-H "x-fapi-customer-ip-address: 104.25.212.99" \
-d 'eyJhbGciOiJQUzI1NiIsImtpZCI6InRlc3QifQ.e30.qt7bA7J604x8Y6lxwfKn7FcWDHAgAv0D1syUv7YzXuKILIYfULejMW_lRZrdlLrO0ZyOsRrZXB7-6apSn47QA55rGHy3j7JMYXR8m55lBVUSwsBBcPr1p13T17da__VCXrlozjSHNfhULi-cA7OdO33UUqb-MGcwqS-5QBj6r2NYZg2rZ_zUUd5y524cpTZ-fJ_Oz6r0Cts9Nd_mzjVpdMcznIy6-a3Zeme4Ek4m9neXWn8edjjNhaYHnsjQU-caLIF6W_4quxdz6yaEx5Lz6kQWbtOmn0a2D0-xP9krQDLzZt7D-geNMfBRpN-Lxi7cDmzNB7nIEKkZkYLSOEOSFA' \
-X DELETE "/api/:provider_code/open-banking/v3.1.11/cbpii/funds-confirmation-consents/:consent_id"
Request
DELETE
/api/:provider_code/open-banking/v3.1.11/cbpii/funds-confirmation-consents/:consent_id
Headers
| Header | Type | Description |
|---|---|---|
Accept
|
string, optional | Media type that is acceptable for the response. Default value: application/json |
x-fapi-interaction-id
|
string, optional | An RFC4122 UID used as a correlation Id. |
Authorization
|
string, required | Standard HTTP Header; Allows Credentials to be provided to the Authorisation / Resource Server depending on the type of resource being requested. For OAuth 2.0 / OIDC, this comprises of either the Basic / Bearer Authentication Schemes. Can raise: HeaderMissing, HeaderInvalid, ResourceNotFound, Forbidden |
x-fapi-auth-date
|
string, optional | The time when the PSU last logged in with the TPP. Supplied as HTTP-date (RFC7231), e.g. Sun, 10 Sep 2017 19:43:31 GMT. |
x-fapi-customer-ip-address
|
string, optional | The PSU's IP address if the PSU is currently logged in with the TPP. Identifies user presence for the data fetch. |
Request parameters
Response headers
| Header | Type | Description |
|---|---|---|
Content-Type
|
string, required | The media type of the body of the request. |
x-fapi-interaction-id
|
string, required | An RFC4122 UID used as a correlation Id. If provided, the ASPSP must "play back" this value in the x-fapi-interaction-id response header. |
Retry-After
|
integer, optional | Amount of time in seconds after which Salt Edge PSD2 Compliance Solution resends the previously failed request. |
Response
Upon successful request, 200 status code will be returned. See ‘Related Errors’ table for other possibilities.
Related Errors
| Class | Code | Description |
|---|---|---|
| ResourceNotFound | 400 | Specified resource doesn't exist. |
| FieldInvalid | 400 | An invalid value is supplied in the field. More details in error_message. |
| ResourceInvalidConsentStatus | 400 | The action can't be performed with current status of consent. |
| HeaderMissing | 400 | A required HTTP header has not been provided. |
| HeaderInvalid | 400 | An invalid value is supplied in the HTTP header. |
| Unauthorized | 401 | Unauthorized access. |
| Forbidden | 403 | Action is forbidden. More details in error_message. |
Funds Confirmation
Create
If the TPP would like to confirm funds with the ASPSP, it should create a new funds-confirmation resource, and check the funds available flag in the response.
CURL
![]()
curl -i \
-H "Authorization: Bearer authorization" \
-H "Content-Type: application/json" \
-H "x-fapi-interaction-id: 93bac548-d2de-4546-b106-880a5018460d" \
-H "x-fapi-auth-date: Sun, 10 Sep 2017 19:43:31 GMT" \
-H "x-fapi-customer-ip-address: 104.25.212.99" \
-d 'eyJhbGciOiJQUzI1NiIsImtpZCI6InRlc3QifQ.eyJEYXRhIjp7IkNvbnNlbnRJZCI6IjEyMyIsIlJlZmVyZW5jZSI6IlNvbWUgcmVmIiwiSW5zdHJ1Y3RlZEFtb3VudCI6eyJBbW91bnQiOiIxMTUuMyIsIkN1cnJlbmN5IjoiR0JQIn19fQ.CWiiY6L-pUv9QtxvVuTp-BV8wdvSl4oPGw3OqiFbjCC9gvX_qxgYkH3L44GmGvi2ajPDBI7q3rvY-EpxS7Oj7wDWVPF0Xv-gqY_hNIaVr0OSP1jQKQ97vk7i-1x0X5Op2NGSokVBJRE_-yEhhvu_cYz5-lOai8tgc3MjpOKK9Mqgf7ZFHGApedeSNVNlocq7280wKHqPeg9_wtY2LxJ3dLQu_1n8SHlXUyke0kHvJeCCOTG4Ew0l3U5MpzP-xQ_JXG01MlkwrHrNDaO-OVl2k6T3Zdw2fqHj65z7fcX0hyPrE1vU0S9k4EO371hGTte0-rytYg4fAyg5ar1lXL_hSw' \
-X POST "/api/:provider_code/open-banking/v3.1.11/cbpii/funds-confirmations"
Example of request
![]()
{"Data":{"ConsentId":"123","Reference":"Some ref","InstructedAmount":{"Amount":"115.3","Currency":"GBP"}}}
Example of response
![]()
{"Data":{"FundsConfirmationId":"1321","ConsentId":"22123","CreationDateTime":"2017-06-05T15:15:13+00:00","FundsAvailable":true,"Reference":"Some ref","InstructedAmount":{"Amount":"115.3","Currency":"GBP"}},"Links":{"Self":"/open-banking/v3.1/cbpii/funds-confirmations/1321"},"Meta":{}}
Request
POST
/api/:provider_code/open-banking/v3.1.11/cbpii/funds-confirmations
Headers
| Header | Type | Description |
|---|---|---|
Accept
|
string, optional | Media type that is acceptable for the response. Default value: application/json |
x-fapi-interaction-id
|
string, optional | An RFC4122 UID used as a correlation Id. |
Content-Type
|
string, optional | The media type of the body of the request. Default value: application/json |
Authorization
|
string, required | Standard HTTP Header; Allows Credentials to be provided to the Authorisation / Resource Server depending on the type of resource being requested. For OAuth 2.0 / OIDC, this comprises of either the Basic / Bearer Authentication Schemes. Can raise: HeaderMissing, HeaderInvalid, ResourceNotFound, Forbidden |
Idempotency-Key
|
string, optional | Unique uuid used to recognize subsequent retries of the same request valid for 24 hours. Allowed length: max: 40 characters |
x-fapi-auth-date
|
string, optional | The time when the PSU last logged in with the TPP. Supplied as HTTP-date (RFC7231), e.g. Sun, 10 Sep 2017 19:43:31 GMT. |
x-fapi-customer-ip-address
|
string, optional | The PSU's IP address if the PSU is currently logged in with the TPP. Identifies user presence for the data fetch. |
Request parameters
Response headers
| Header | Type | Description |
|---|---|---|
Content-Type
|
string, required | The media type of the body of the request. |
x-fapi-interaction-id
|
string, required | An RFC4122 UID used as a correlation Id. If provided, the ASPSP must "play back" this value in the x-fapi-interaction-id response header. |
Retry-After
|
integer, optional | Amount of time in seconds after which Salt Edge PSD2 Compliance Solution resends the previously failed request. |
Response
Upon successful request, 200 status code will be returned. See ‘Related Errors’ table for other possibilities.
Related Errors
| Class | Code | Description |
|---|---|---|
| ResourceNotFound | 400 | Specified resource doesn't exist. |
| FieldInvalid | 400 | An invalid value is supplied in the field. More details in error_message. |
| RequestFormatInvalid | 400 | Request format is wrong. Details are stored in error_message |
| UnsupportedCurrency | 400 | The currency is not supported. |
| HeaderMissing | 400 | A required HTTP header has not been provided. |
| HeaderInvalid | 400 | An invalid value is supplied in the HTTP header. |
| Forbidden | 403 | Action is forbidden. More details in error_message. |