Get Consent status
GET
/public/v3/webflow/banks/{bank_slug}/consent/status
Get the status of the customer consent for bank account data
For endpoint authorization use Authorization: AppUserToken {customer_token} header. Create customer tokento use it in the header.
Parameter | Data type | Required? | Description |
---|---|---|---|
bank_slug | string | yes | Bank slug |
none
none
Parameter | Data type | Required? | Description |
---|---|---|---|
consent_id | string | yes | ID of the customer consent for bank account data |
creation_date_time | int | yes | Creation timestamp of the consent |
status | string | yes | Status of the customer consent. Allowed values: Authorised, AwaitingAuthorisation, Rejected, Revoked |
status_update_date_time | int | yes | Update timestamp of the consent |
permissions | array | yes | Array of permissions which were requested |
expiration_date_time | int | no | Timestamp of consent expiration. Can be null. |
transaction_from_date_time | int | yes | Timestamp since when bank account data will accessed from the bank. By default Planky tries to pull 5 years of the data. Note that banks can restrict data history to a specific period. |
transaction_to_date_time | int | yes | Timestamp till when bank account data will accessed from the bank. By default it is 3 months. |
1
2
3
curl --location --request GET 'https://api.friendlyscore.com/public/v3/webflow/banks/{bank_slug}/consent/status' \
--header 'Content-Type: application/json' \
--header 'Authorization: AppUserToken {customer_token}'
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
"consent_id": "abc",
"creation_date_time": 1642076018,
"status": "AwaitingAuthorisation",
"status_update_date_time": 1642076018,
"permissions": [
"ReadAccountsBasic",
"ReadAccountsDetail",
"ReadBalances",
"ReadBeneficiariesBasic",
"ReadBeneficiariesDetail",
"ReadDirectDebits",
"ReadTransactionsCredits",
"ReadTransactionsDebits",
"ReadTransactionsDetail"
],
"expiration_date_time": null,
"transaction_from_date_time": 1547381617,
"transaction_to_date_time": 1649852017
}
Was this article helpful?
Friendly Score UK Ltd.
84 Brook Street
London W1K 5EH
Call us on +44 20 3709 6726
Company registered in England
Company number 09168668, ICO ZA111687
VAT registration number 206 9758 80
Authorised and Regulated by the Financial Conduct Authority. (FRN: 821100, 781963)