latestSwagger 2.02026-08-1021419.9 KB
26f19f79f17b
Notifications
This API is intended to be used by AA to notify FIU about the change in consent status due to the consent management operations performed by the Customer. For more details about consent notification flow, please refer FAQ section. <br>Note: "Request Body Example Value" and "Responses Example Value" given below is for illustrative purposes only.
post/Consent/Notification
Headers
{"stackTrail":"paths:/Consent/Notification:post:parameters:0:schema","oasType":"schema","type":"unknown"}
aa_api_key is provided to FIU by the AA
x-jws-signaturestring required
Detached JWS of the body
x-request-metastring required
It is the Base64 encoded JSON object having the identifier of the receiver (recipient-id) to whom the API call needs to be forwarded. <br/>Ex: x-request-meta: [Base64 of {"recipient-id": "SIMULATOR"}] i.e<br/> x-request-meta: eyJyZWNpcGllbnQtaWQiOiAiU0lNVUxBVE9SIn0K
Request body
Example request
{
"ver": "2.0.0",
"timestamp": "2023-06-26T11:39:57.153Z",
"txnid": "0b811819-9044-4856-b0ee-8c88035f8858",
"Notifier": {
"type": "AA",
"id": "AA-1"
},
"ConsentStatusNotification": {
"consentId": "XXXX0-XXXX-XXXX",
"consentHandle": "XXXX0-XXXX-XXXX",
"consentStatus": "PAUSED"
}
}Response
OK
Example response
{
"ver": "2.0.0",
"timestamp": "2023-06-26T06:13:30.967+0000",
"txnid": "f35761ac-4a18-11e8-96ff-0277a9fbfedc",
"response": "OK"
}