Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

4.1.      Post Account Access Consents

4.1.1     Request

POST /account-access-consents

Authorization: Bearer 2YotnFZFEjr1zCsicMWpAA

x-fapi-auth-date: Sun, 10 Sep 2020 19:43:31 GMT

x-fapi-customer-ip-address: 104.25.212.99

x-fapi-interaction-id: 93bac548-d2de-4546-b106-880a5018460d

Content-Type: application/json

Accept: application/json

{

  "Data": {

    "Permissions": [

      "ReadAccountsBasic"

    ],

    "ExpirationDateTime": "2020-03-17T07:05:34.326Z",

    "TransactionFromDateTime": "2020-03-17T07:05:34.327Z",

    "TransactionToDateTime": "2020-03-17T07:05:34.327Z"

  },

  "Risk": {}

}

4.1.2      Response

201 Created

x-fapi-interaction-id: 93bac548-d2de-4546-b106-880a5018460d

Content-Type: application/json

  "Data": {

    "ConsentId": "tbc-0083976",

    "CreationDateTime": "2020-03-17T07:05:34.508Z",

    "Status": "Authorised",

    "StatusUpdateDateTime": "2020-03-17T07:05:34.508Z",

    "Permissions": [

      "ReadAccountsBasic"

    ],

    "ExpirationDateTime": "2020-03-17T07:05:34.508Z",

    "TransactionFromDateTime": "2020-03-17T07:05:34.508Z",

    "TransactionToDateTime": "2020-03-17T07:05:34.508Z"

  },

  "Risk": {},

  "Links": {

    "Self": "www.tbc.com"

  },

  "Meta": {

    "TotalPages": 1,

    "FirstAvailableDateTime": "2020-03-17T07:05:34.508Z",

    "LastAvailableDateTime": "2020-03-17T07:05:34.508Z"

  }

}

4.2.  GET /account-access-consents/{ConsentId}

4.2.1     Request

GET /account-access-consents/tbc-0083976 (ConsentId)

Authorization: Bearer 2YotnFZFEjr1zCsicMWpAA

x-fapi-auth-date: Sun, 10 Sep 2020 19:43:31 GMT

x-fapi-customer-ip-address: 104.25.212.99

x-fapi-interaction-id: 93bac548-d2de-4546-b106-880a5018460d

Accept: application/json

4.2.2     Response

200 OK

x-fapi-interaction-id: 93bac548-d2de-4546-b106-880a5018460d

Content-Type: application/json

{{

  "Data": {

    "ConsentId": "tbc-0083976",

    "CreationDateTime": "2020-03-17T07:05:34.508Z",

    "Status": "Authorised",

    "StatusUpdateDateTime": "2020-03-17T07:05:34.508Z",

    "Permissions": [

      "ReadAccountsBasic"

    ],

    "ExpirationDateTime": "2020-03-17T07:05:34.508Z",

    "TransactionFromDateTime": "2020-03-17T07:05:34.508Z",

    "TransactionToDateTime": "2020-03-17T07:05:34.508Z"

  },

  "Risk": {},

  "Links": {

    "Self": "www.tbc.com"

  },

  "Meta": {

    "TotalPages": 1,

    "FirstAvailableDateTime": "2020-03-17T07:05:34.508Z",

    "LastAvailableDateTime": "2020-03-17T07:05:34.508Z"

  }

}

4.3.  DELETE /account-access-consents/{ConsentId}

4.3.1     Request

DELETE /account-access-consents/tbc-0083976

Authorization: Bearer 2YotnFZFEjr1zCsicMWpAA

x-fapi-auth-date:  Sun, 10 Sep 2020 19:43:31 GMT

x-fapi-customer-ip-address: 104.25.212.99

x-fapi-interaction-id: 93bac548-d2de-4546-b106-880a5018460d

4.3.2     Response

204 No Content

x-fapi-interaction-id: 93bac548-d2de-4546-b106-880a5018460d