-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtd-bank-statements-api-openapi.yml
More file actions
107 lines (107 loc) · 2.86 KB
/
Copy pathtd-bank-statements-api-openapi.yml
File metadata and controls
107 lines (107 loc) · 2.86 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
openapi: 3.1.0
info:
title: TD Bank Account Basic Accounts Statements API
description: FDX v6.2 Account Basic endpoint. Returns lightweight account information (accountId, type, displayName, masked number) for every consented TD account so aggregators can enumerate accounts without retrieving full detail.
version: 1.0.0
contact:
name: TD Open Banking Developer Support
url: https://developer.td.com
servers:
- url: https://api.openbanking.amcb.developer.td.com/fdx/v6
description: Production
- url: https://api.openbanking.amcb.developer.td.com/sandbox/fdx/v6
description: Sandbox
security:
- oauth2: []
tags:
- name: Statements
paths:
/accounts/{accountId}/statements:
get:
operationId: listStatements
summary: List Account Statements
tags:
- Statements
parameters:
- name: accountId
in: path
required: true
schema:
type: string
- name: startTime
in: query
required: false
schema:
type: string
format: date-time
- name: endTime
in: query
required: false
schema:
type: string
format: date-time
responses:
'200':
description: Statements list
content:
application/json:
schema:
type: object
properties:
statements:
type: array
items:
$ref: '#/components/schemas/Statement'
/accounts/{accountId}/statements/{statementId}:
get:
operationId: getStatement
summary: Get Statement
tags:
- Statements
parameters:
- name: accountId
in: path
required: true
schema:
type: string
- name: statementId
in: path
required: true
schema:
type: string
responses:
'200':
description: Statement (PDF or metadata)
content:
application/pdf:
schema:
type: string
format: binary
components:
schemas:
Statement:
type: object
required:
- statementId
properties:
statementId:
type: string
description:
type: string
statementDate:
type: string
format: date
statusType:
type: string
securitySchemes:
oauth2:
type: oauth2
flows:
authorizationCode:
authorizationUrl: https://api.openbanking.amcb.developer.td.com/oauth/v1/authorize
tokenUrl: https://api.openbanking.amcb.developer.td.com/oauth/v1/token
scopes:
accounts_basic_read: Read basic account info
externalDocs:
description: TD Open Banking — About Our APIs
url: https://docs.pat.openbanking.amcb.developer.td.com/guides/about-our-apis-hdi