swagger: '2.0'
info:
license:
name: Yodlee Developer License
url: https://developer.yodlee.com/terms/condition#_Services_1
contact:
email: developer@yodlee.com
description: 'This file describes the Yodlee Platform APIs using the swagger notation. You can use this swagger file to generate client side SDKs to the Yodlee Platform APIs for many different programming languages. Yodlee API v1.1 - Overview.
You will have to set the header before making the API call. The following headers apply to all the APIs:
- Authorization: This header holds the access token
- Api-Version: 1.1
Note: If there are any API-specific headers, they are mentioned explicitly in the respective API''s description.'
termsOfService: https://developer.yodlee.com/terms/condition
title: Yodlee Core APIs Account Token Configs API
version: 1.1.0
basePath: /
tags:
- name: Configs
description: Configs API
paths:
/configs/notifications/events:
get:
summary: Get Subscribed Notification Events
deprecated: false
produces:
- application/json;charset=UTF-8
description: The get events service provides the list of events for which consumers subscribed to receive notifications.
operationId: getSubscribedNotificationEvents
responses:
200:
schema:
$ref: '#/definitions/ConfigsNotificationResponse'
description: OK
401:
description: Unauthorized
404:
description: Not Found
parameters:
- in: query
allowEmptyValue: false
name: eventName
description: Name of the webhook subscription event
type: string
required: false
enum:
- REFRESH
- DATA_UPDATES
- AUTO_REFRESH_UPDATES
- LATEST_BALANCE_UPDATES
- CREDIT_MATRIX_REPORT_UPDATES
tags:
- Configs
/configs/publicKey:
get:
summary: Get Public Key
deprecated: false
produces:
- application/json;charset=UTF-8
description: The get public key service provides the public key that should be used to encrypt user credentials while invoking POST /providerAccounts and PUT /providerAccounts endpoints.
This service will only work if the PKI (public key infrastructure) feature is enabled for the customer.
Note: The key in the response is a string in PEM format.This endpoint is not available in the Sandbox environment and it is useful only if the PKI feature is enabled.
operationId: getPublicEncryptionKey
responses:
200:
schema:
$ref: '#/definitions/ConfigsPublicKeyResponse'
description: OK
401:
description: Unauthorized
404:
description: Not Found
tags:
- Configs
/configs/notifications/events/{eventName}:
post:
summary: Subscribe For Notification Event
deprecated: false
produces:
- application/json;charset=UTF-8
description: The subscribe events service is used to subscribe to an event for receiving notifications.
The callback URL, where the notification will be posted should be provided to this service.
If the callback URL is invalid or inaccessible, the subscription will be unsuccessful, and an error will be thrown.
Customers can subscribe to REFRESH,DATA_UPDATES,AUTO_REFRESH_UPDATES,LATEST_BALANCE_UPDATES and CREDIT_MATRIX_REPORT_UPDATES event.
Notes:This service is not available in developer sandbox/test environment and will be made available for testing in your dedicated environment, once the contract is signed.The content type has to be passed as application/json for the body parameter.
operationId: createSubscriptionNotificationEvent
responses:
201:
description: OK
400:
schema:
$ref: '#/definitions/YodleeError'
description: 'Y803 : eventName required
Y803 : callbackUrl required
Y800 : Invalid value for callbackUrl
Y901 : Service not supported
'
401:
description: Unauthorized
404:
description: Not Found
parameters:
- in: path
name: eventName
description: Name of the webhook subscription event
type: string
required: true
enum:
- REFRESH
- DATA_UPDATES
- AUTO_REFRESH_UPDATES
- LATEST_BALANCE_UPDATES
- CREDIT_MATRIX_REPORT_UPDATES
- schema:
$ref: '#/definitions/CreateConfigsNotificationEventRequest'
in: body
name: eventRequest
description: eventRequest
required: true
tags:
- Configs
consumes:
- application/json
delete:
summary: Delete Notification Subscription
deprecated: false
produces:
- application/json;charset=UTF-8
description: The delete events service is used to unsubscribe from an events service.
operationId: deleteSubscribedNotificationEvent
responses:
400:
schema:
$ref: '#/definitions/YodleeError'
description: 'Y803 : eventName required'
401:
description: Unauthorized
204:
description: OK
404:
description: Not Found
parameters:
- in: path
name: eventName
description: Name of the webhook subscription event
type: string
required: true
enum:
- REFRESH
- DATA_UPDATES
- AUTO_REFRESH_UPDATES
- LATEST_BALANCE_UPDATES
- CREDIT_MATRIX_REPORT_UPDATES
tags:
- Configs
put:
summary: Update Notification Subscription
deprecated: false
produces:
- application/json;charset=UTF-8
description: The update events service is used to update the callback URL.
If the callback URL is invalid or inaccessible, the subscription will be unsuccessful, and an error will be thrown.
Note: The content type has to be passed as application/json for the body parameter.
operationId: updateSubscribedNotificationEvent
responses:
400:
schema:
$ref: '#/definitions/YodleeError'
description: 'Y803 : eventName required
Y803 : callbackUrl required
Y800 : Invalid value for callbackUrl'
401:
description: Unauthorized
204:
description: OK
404:
description: Not Found
parameters:
- in: path
name: eventName
description: Name of the webhook subscription event
type: string
required: true
enum:
- REFRESH
- DATA_UPDATES
- AUTO_REFRESH_UPDATES
- LATEST_BALANCE_UPDATES
- CREDIT_MATRIX_REPORT_UPDATES
- schema:
$ref: '#/definitions/UpdateConfigsNotificationEventRequest'
in: body
name: eventRequest
description: eventRequest
required: true
tags:
- Configs
consumes:
- application/json
definitions:
YodleeError:
type: object
title: YodleeError
properties:
errorMessage:
description: The descriptive message that explains the error scenario.
readOnly: true
type: string
errorCode:
description: The error code follows the format YNNN. The error codes do not change. New error codes may be added as we introduce new features and enhance functionalities.
readOnly: true
type: string
referenceCode:
description: Unique Yodlee identifier used to troubleshoot issues at Yodlee's end.
readOnly: true
type: string
ConfigsNotificationResponse:
type: object
title: ConfigsNotificationResponse
properties:
event:
readOnly: true
type: array
items:
$ref: '#/definitions/ConfigsNotificationEvent'
ConfigsPublicKeyResponse:
type: object
title: ConfigsPublicKeyResponse
properties:
publicKey:
$ref: '#/definitions/ConfigsPublicKey'
ConfigsPublicKey:
type: object
title: ConfigsPublicKey
properties:
alias:
description: The key name used for encryption.
Endpoints:
readOnly: true
type: string
key:
description: Public key that the customer should be using to encrypt the credentials and answers before sending to the add and update providerAccounts APIs.
Endpoints:
readOnly: true
type: string
ConfigsNotificationEvent:
type: object
title: ConfigsNotificationEvent
properties:
name:
description: Name of the event for which the customers must subscribe to receive notifications.
Valid Value: Notification Events Name
Endpoints:- GET configs/notifications/events
Applicable Values
type: string
enum:
- REFRESH
- DATA_UPDATES
- AUTO_REFRESH_UPDATES
- LATEST_BALANCE_UPDATES
- CREDIT_MATRIX_REPORT_UPDATES
callbackUrl:
minLength: 1
description: URL to which the notification should be posted.
Endpoints:- GET configs/notifications/events
type: string
maxLength: 2147483647
UpdateConfigsNotificationEventRequest:
type: object
title: UpdateConfigsNotificationEventRequest
required:
- event
properties:
event:
$ref: '#/definitions/UpdateConfigsNotificationEvent'
CreateConfigsNotificationEventRequest:
type: object
title: CreateConfigsNotificationEventRequest
required:
- event
properties:
event:
$ref: '#/definitions/CreateConfigsNotificationEvent'
CreateConfigsNotificationEvent:
type: object
title: CreateConfigsNotificationEvent
properties:
callbackUrl:
minLength: 1
description: URL to which the notification should be posted.
Endpoints:- GET configs/notifications/events
type: string
maxLength: 2147483647
UpdateConfigsNotificationEvent:
type: object
title: UpdateConfigsNotificationEvent
properties:
callbackUrl:
minLength: 1
description: URL to which the notification should be posted.
Endpoints:- GET configs/notifications/events
type: string
maxLength: 2147483647