-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtd-bank-transactions-api-openapi.yml
More file actions
163 lines (163 loc) · 4.1 KB
/
Copy pathtd-bank-transactions-api-openapi.yml
File metadata and controls
163 lines (163 loc) · 4.1 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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
openapi: 3.1.0
info:
title: TD Bank Account Basic Accounts Transactions 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: Transactions
paths:
/accounts/{accountId}/transactions:
get:
operationId: listTransactions
summary: List Transactions
tags:
- Transactions
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
- name: limit
in: query
required: false
schema:
type: integer
responses:
'200':
description: Transactions list
content:
application/json:
schema:
$ref: '#/components/schemas/TransactionList'
/accounts/{accountId}/transactions/{transactionId}:
get:
operationId: getTransaction
summary: Get Transaction
tags:
- Transactions
parameters:
- name: accountId
in: path
required: true
schema:
type: string
- name: transactionId
in: path
required: true
schema:
type: string
responses:
'200':
description: Transaction detail
content:
application/json:
schema:
$ref: '#/components/schemas/Transaction'
/accounts/{accountId}/transactions/{transactionId}/image:
get:
operationId: getTransactionImage
summary: Get Transaction Image
tags:
- Transactions
parameters:
- name: accountId
in: path
required: true
schema:
type: string
- name: transactionId
in: path
required: true
schema:
type: string
responses:
'200':
description: Transaction image
components:
schemas:
Transaction:
type: object
required:
- transactionId
- amount
properties:
transactionId:
type: string
amount:
type: number
debitCreditMemo:
type: string
enum:
- DEBIT
- CREDIT
- MEMO
description:
type: string
memo:
type: string
status:
type: string
transactionTimestamp:
type: string
format: date-time
postedTimestamp:
type: string
format: date-time
merchant:
type: object
properties:
name:
type: string
categoryCode:
type: string
address:
type: object
category:
type: string
TransactionList:
type: object
properties:
transactions:
type: array
items:
$ref: '#/components/schemas/Transaction'
page:
type: object
properties:
nextOffset:
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