Skip to content

Commit fd0e9cc

Browse files
committed
DEV-1789: Remove Visa Open Banking reference
1 parent 7c5c755 commit fd0e9cc

File tree

8 files changed

+22
-152
lines changed

8 files changed

+22
-152
lines changed

openapi.yml

Lines changed: 11 additions & 76 deletions
Original file line numberDiff line numberDiff line change
@@ -8722,30 +8722,13 @@ paths:
87228722
tags:
87238723
- exchange sessions
87248724
summary: Create customer exchange session
8725-
description: Creates an exchange session to initiate instant bank account verification for a customer. Supports Plaid, Visa, and MX open banking partners for faster verification as compared to traditional micro-deposits.
8725+
description: Creates an exchange session to initiate instant bank account verification for a customer. Supports Plaid and MX open banking partners for faster verification as compared to traditional micro-deposits.
87268726
operationId: createCustomerExchangeSession
87278727
x-speakeasy-group: customers.exchangeSessions
87288728
x-speakeasy-name-override: create
87298729
x-codeSamples:
87308730
- lang: bash
87318731
source: |
8732-
# Visa Example
8733-
POST https://api.dwolla.com/customers/74a207b2-b7b7-4efa-8bf8-582148e7b980/exchange-sessions
8734-
Accept: application/vnd.dwolla.v1.hal+json
8735-
Content-Type: application/vnd.dwolla.v1.hal+json
8736-
Authorization: Bearer pBA9fVDBEyYZCEsLf/wKehyh1RTpzjUj5KzIRfDi0wKTii7DqY
8737-
8738-
{
8739-
"_links": {
8740-
"exchange-partner": {
8741-
"href": "https://api.dwolla.com/exchange-partners/292317ec-e252-47d8-93c3-2d128e037aa4"
8742-
},
8743-
"redirect-url": {
8744-
"href": "https://www.yourdomain.com/iav-callback"
8745-
}
8746-
}
8747-
}
8748-
87498732
# Plaid Web Example
87508733
POST https://api.dwolla.com/customers/74a207b2-b7b7-4efa-8bf8-582148e7b980/exchange-sessions
87518734
Accept: application/vnd.dwolla.v1.hal+json
@@ -8810,24 +8793,9 @@ paths:
88108793
- lang: javascript
88118794
source: |
88128795
// Using dwolla-v2 - https://github.com/Dwolla/dwolla-v2-node
8813-
// Visa Example
8796+
// Plaid Web Example
88148797
var customerUrl =
88158798
"https://api.dwolla.com/customers/74a207b2-b7b7-4efa-8bf8-582148e7b980";
8816-
var requestBody = {
8817-
_links: {
8818-
"exchange-partner": {
8819-
href: "https://api.dwolla.com/exchange-partners/292317ec-e252-47d8-93c3-2d128e037aa4",
8820-
},
8821-
"redirect-url": {
8822-
href: "https://www.yourdomain.com/iav-callback",
8823-
},
8824-
},
8825-
};
8826-
8827-
dwolla
8828-
.post(`${customerUrl}/exchange-sessions`, requestBody)
8829-
.then((res) => res.headers.get("location")); // => 'https://api.dwolla.com/exchange-sessions/fcd15e5f-8d13-4570-a9b7-7fb49e55941d'
8830-
// Plaid Web Example
88318799
var requestBodyPlaidWeb = {
88328800
_links: {
88338801
"exchange-partner": {
@@ -8880,21 +8848,8 @@ paths:
88808848
- lang: python
88818849
source: |
88828850
# Using dwollav2 - https://github.com/Dwolla/dwolla-v2-python
8883-
# Visa Example
8884-
customer_url = 'https://api.dwolla.com/customer/74a207b2-b7b7-4efa-8bf8-582148e7b980'
8885-
request_body = {
8886-
'_links': {
8887-
'exchange-partner': {
8888-
'href': 'https://api.dwolla.com/exchange-partners/292317ec-e252-47d8-93c3-2d128e037aa4'
8889-
},
8890-
'redirect-url': {
8891-
'href': 'https://www.yourdomain.com/iav-callback'
8892-
}
8893-
}
8894-
}
8895-
exchange = app_token.post('%s/exchange-sessions' % customer_url, request_body)
8896-
exchange.headers['location'] # => 'https://api.dwolla.com/exchange-sessions/fcd15e5f-8d13-4570-a9b7-7fb49e55941d'
88978851
# Plaid Web Example
8852+
customer_url = 'https://api.dwolla.com/customer/74a207b2-b7b7-4efa-8bf8-582148e7b980'
88988853
request_body_plaid_web = {
88998854
'_links': {
89008855
'exchange-partner': {
@@ -8948,21 +8903,8 @@ paths:
89488903
- lang: ruby
89498904
source: |
89508905
# Using dwolla_v2 - https://github.com/Dwolla/dwolla-v2-ruby
8951-
# Visa Example
8952-
customer_url = 'https://api.dwolla.com/customers/74a207b2-b7b7-4efa-8bf8-582148e7b980'
8953-
request_body = {
8954-
_links: {
8955-
'exchange-partner': {
8956-
href: "https://api.dwolla.com/exchange-partners/292317ec-e252-47d8-93c3-2d128e037aa4"
8957-
},
8958-
'redirect-url': {
8959-
href: "https://www.yourdomain.com/iav-callback"
8960-
}
8961-
}
8962-
}
8963-
exchange = app_token.post "#{customer_url}/exchange-sessions", request_body
8964-
exchange.response_headers[:location] # => "https://api.dwolla.com/exchange-sessions/fcd15e5f-8d13-4570-a9b7-7fb49e55941d"
89658906
# Plaid Web Example
8907+
customer_url = 'https://api.dwolla.com/customers/74a207b2-b7b7-4efa-8bf8-582148e7b980'
89668908
request_body_plaid_web = {
89678909
_links: {
89688910
'exchange-partner': {
@@ -9122,7 +9064,7 @@ paths:
91229064
tags:
91239065
- exchange sessions
91249066
summary: Retrieve exchange session
9125-
description: Returns details of a previously created exchange session, including URLs and tokens needed to continue the instant account verification flow. Response varies by partner - Visa/MX provide redirect URLs while Plaid provides session tokens for Link initialization.
9067+
description: Returns details of a previously created exchange session, including URLs and tokens needed to continue the instant account verification flow. Response varies by partner - MX provides redirect URLs while Plaid provides session tokens for Link initialization.
91269068
operationId: retrieveCustomerExchangeSession
91279069
x-speakeasy-group: exchangeSessions
91289070
x-speakeasy-name-override: get
@@ -9290,7 +9232,6 @@ paths:
92909232
description: |
92919233
Request body containing the redirect URL.
92929234
Required for:
9293-
- Visa exchange sessions
92949235
- Plaid mobile sessions
92959236
Not required for:
92969237
- Plaid web sessions
@@ -11596,7 +11537,7 @@ components:
1159611537
CreateCustomerExchangeFundingSource:
1159711538
title: CreateCustomerExchangeFundingSource
1159811539
type: object
11599-
description: Schema for creating a funding source using an exchange resource. This method is used when the bank account information is obtained via Instant Account Verification (IAV) through an exchange partner (like Plaid, Visa, MX, or Finicity).
11540+
description: Schema for creating a funding source using an exchange resource. This method is used when the bank account information is obtained via Instant Account Verification (IAV) through an exchange partner (like Plaid, MX, or Finicity).
1160011541
required:
1160111542
- _links
1160211543
- bankAccountType
@@ -14801,7 +14742,7 @@ components:
1480114742
example: public-production-d5456acb-01d5-4932-9783-e4c883cf1c0c
1480214743
CreateCustomerExchangeSessionWithRedirect:
1480314744
title: CreateCustomerExchangeSessionWithRedirect
14804-
description: Create exchange session with redirect URL (required for Visa and for mobile sessions with Plaid)
14745+
description: Create exchange session with redirect URL (required for mobile sessions with Plaid)
1480514746
type: object
1480614747
required:
1480714748
- _links
@@ -14829,10 +14770,8 @@ components:
1482914770
href:
1483014771
type: string
1483114772
format: uri
14832-
description: Required for Visa and Plaid mobile sessions
14773+
description: Required for Plaid mobile sessions
1483314774
examples:
14834-
- description: Visa example
14835-
value: https://www.yourdomain.com/iav-callback
1483614775
- description: Plaid Android example
1483714776
value: com.example.app123
1483814777
- description: Plaid iOS example
@@ -14919,11 +14858,9 @@ components:
1491914858
type: string
1492014859
format: uri
1492114860
description: |
14922-
Present for Visa and MX exchange sessions.
14861+
Present for MX exchange sessions.
1492314862
Contains the URL to redirect the user to complete the authorization process.
1492414863
examples:
14925-
- description: Visa example
14926-
value: https://link.visa.com/1.0/account-check/connect?client_id=f16f7c7407f4434dbcaf269b230c12ed&redirect_uri=https://api-uat.dwolla.com/redirect/tink&authorization_code=47e23deab3924351a0c6193d90e5add5&market=US&locale=en_US&state=a2V5Ojk6dWRiRkRYWGlIVGdZZUNycUdCa0s3Zz09OmI1ZVE0YWRUYkFrSWNiKzFxTXdmQlVkcVNWWW5nMjtQNjBaWERxUDh5aTBpWEQzTHROdUZRd2xLMTUzYnZ4RU8=&session_id=628d927030ee43a38054da5166dcbee14e06dc02c00e45f2b4a5d986bab5d08f
1492714864
- description: MX example
1492814865
value: https://www.mx.com/connect/lAfkc7m897s3t1ks9mmwyj4ry7Zq0xql4grzAg1kz77x7c9jrwls1t22w6xt8d2lsxx9zpqv30js3wswfdwcrpAsqgbAfkqwpksp7c2chsx167xy90Asfc67dkj9y48y8p142xw3yp4x5l9t9gkk6m3yk5vwsvyq2qq7w9trszxwdl14lmkg7l6949bn5n41chdkbnxycy40n9b6fkbdwl6qt5wl107k1x8srvlkpz325p412x9tkyA5clf39109lsfrgz2lkgsvntqf7l0zzwb5hl658gdjbxwhb52krwybnbdAqfq69cdy54l05jkvfwyf01q89x48jtgtx290lzjdfcty1lwb8d648wns/eyJ1aV9tZXNzYWdlX3ZlcnNpb24iOjQsInVpX21lc3NhZ2Vfd2Vidmlld191cmxfc2NoZW1lIjoibXgiLCJtb2RlIjoidmVyaWZpY2F0aW9uIn0%3D
1492914866
type:
@@ -14945,7 +14882,7 @@ components:
1494514882
properties: {}
1494614883
CreateReAuthExchangeSessionWithRedirect:
1494714884
title: CreateReAuthExchangeSessionWithRedirect
14948-
description: Create re-auth exchange session with redirect URL (required for mobile sessions with Visa and Plaid)
14885+
description: Create re-auth exchange session with redirect URL (required for mobile sessions with Plaid)
1494914886
type: object
1495014887
required:
1495114888
- _links
@@ -14963,10 +14900,8 @@ components:
1496314900
href:
1496414901
type: string
1496514902
format: uri
14966-
description: Required for Visa and Plaid mobile sessions
14903+
description: Required for Plaid mobile sessions
1496714904
examples:
14968-
- description: Visa example
14969-
value: https://www.yourdomain.com/iav-callback
1497014905
- description: Plaid Android example
1497114906
value: com.example.app123
1497214907
- description: Plaid iOS example

specs/resources/exchange-sessions/createCustomerExchangeSession.yml

Lines changed: 4 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -2,30 +2,13 @@ post:
22
tags:
33
- exchange sessions
44
summary: Create customer exchange session
5-
description: Creates an exchange session to initiate instant bank account verification for a customer. Supports Plaid, Visa, and MX open banking partners for faster verification as compared to traditional micro-deposits.
5+
description: Creates an exchange session to initiate instant bank account verification for a customer. Supports Plaid and MX open banking partners for faster verification as compared to traditional micro-deposits.
66
operationId: createCustomerExchangeSession
77
x-speakeasy-group: customers.exchangeSessions
88
x-speakeasy-name-override: create
99
x-codeSamples:
1010
- lang: bash
1111
source: |
12-
# Visa Example
13-
POST https://api.dwolla.com/customers/74a207b2-b7b7-4efa-8bf8-582148e7b980/exchange-sessions
14-
Accept: application/vnd.dwolla.v1.hal+json
15-
Content-Type: application/vnd.dwolla.v1.hal+json
16-
Authorization: Bearer pBA9fVDBEyYZCEsLf/wKehyh1RTpzjUj5KzIRfDi0wKTii7DqY
17-
18-
{
19-
"_links": {
20-
"exchange-partner": {
21-
"href": "https://api.dwolla.com/exchange-partners/292317ec-e252-47d8-93c3-2d128e037aa4"
22-
},
23-
"redirect-url": {
24-
"href": "https://www.yourdomain.com/iav-callback"
25-
}
26-
}
27-
}
28-
2912
# Plaid Web Example
3013
POST https://api.dwolla.com/customers/74a207b2-b7b7-4efa-8bf8-582148e7b980/exchange-sessions
3114
Accept: application/vnd.dwolla.v1.hal+json
@@ -90,24 +73,9 @@ post:
9073
- lang: javascript
9174
source: |
9275
// Using dwolla-v2 - https://github.com/Dwolla/dwolla-v2-node
93-
// Visa Example
76+
// Plaid Web Example
9477
var customerUrl =
9578
"https://api.dwolla.com/customers/74a207b2-b7b7-4efa-8bf8-582148e7b980";
96-
var requestBody = {
97-
_links: {
98-
"exchange-partner": {
99-
href: "https://api.dwolla.com/exchange-partners/292317ec-e252-47d8-93c3-2d128e037aa4",
100-
},
101-
"redirect-url": {
102-
href: "https://www.yourdomain.com/iav-callback",
103-
},
104-
},
105-
};
106-
107-
dwolla
108-
.post(`${customerUrl}/exchange-sessions`, requestBody)
109-
.then((res) => res.headers.get("location")); // => 'https://api.dwolla.com/exchange-sessions/fcd15e5f-8d13-4570-a9b7-7fb49e55941d'
110-
// Plaid Web Example
11179
var requestBodyPlaidWeb = {
11280
_links: {
11381
"exchange-partner": {
@@ -160,21 +128,8 @@ post:
160128
- lang: python
161129
source: |
162130
# Using dwollav2 - https://github.com/Dwolla/dwolla-v2-python
163-
# Visa Example
164-
customer_url = 'https://api.dwolla.com/customer/74a207b2-b7b7-4efa-8bf8-582148e7b980'
165-
request_body = {
166-
'_links': {
167-
'exchange-partner': {
168-
'href': 'https://api.dwolla.com/exchange-partners/292317ec-e252-47d8-93c3-2d128e037aa4'
169-
},
170-
'redirect-url': {
171-
'href': 'https://www.yourdomain.com/iav-callback'
172-
}
173-
}
174-
}
175-
exchange = app_token.post('%s/exchange-sessions' % customer_url, request_body)
176-
exchange.headers['location'] # => 'https://api.dwolla.com/exchange-sessions/fcd15e5f-8d13-4570-a9b7-7fb49e55941d'
177131
# Plaid Web Example
132+
customer_url = 'https://api.dwolla.com/customer/74a207b2-b7b7-4efa-8bf8-582148e7b980'
178133
request_body_plaid_web = {
179134
'_links': {
180135
'exchange-partner': {
@@ -228,21 +183,8 @@ post:
228183
- lang: ruby
229184
source: |
230185
# Using dwolla_v2 - https://github.com/Dwolla/dwolla-v2-ruby
231-
# Visa Example
232-
customer_url = 'https://api.dwolla.com/customers/74a207b2-b7b7-4efa-8bf8-582148e7b980'
233-
request_body = {
234-
_links: {
235-
'exchange-partner': {
236-
href: "https://api.dwolla.com/exchange-partners/292317ec-e252-47d8-93c3-2d128e037aa4"
237-
},
238-
'redirect-url': {
239-
href: "https://www.yourdomain.com/iav-callback"
240-
}
241-
}
242-
}
243-
exchange = app_token.post "#{customer_url}/exchange-sessions", request_body
244-
exchange.response_headers[:location] # => "https://api.dwolla.com/exchange-sessions/fcd15e5f-8d13-4570-a9b7-7fb49e55941d"
245186
# Plaid Web Example
187+
customer_url = 'https://api.dwolla.com/customers/74a207b2-b7b7-4efa-8bf8-582148e7b980'
246188
request_body_plaid_web = {
247189
_links: {
248190
'exchange-partner': {

specs/resources/exchange-sessions/createReAuthExchangeSession.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ post:
8383
description: |
8484
Request body containing the redirect URL.
8585
Required for:
86-
- Visa exchange sessions
8786
- Plaid mobile sessions
8887
Not required for:
8988
- Plaid web sessions

specs/resources/exchange-sessions/retrieveExchangeSession.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ get:
22
tags:
33
- exchange sessions
44
summary: Retrieve exchange session
5-
description: Returns details of a previously created exchange session, including URLs and tokens needed to continue the instant account verification flow. Response varies by partner - Visa/MX provide redirect URLs while Plaid provides session tokens for Link initialization.
5+
description: Returns details of a previously created exchange session, including URLs and tokens needed to continue the instant account verification flow. Response varies by partner - MX provides redirect URLs while Plaid provides session tokens for Link initialization.
66
operationId: retrieveCustomerExchangeSession
77
x-speakeasy-group: exchangeSessions
88
x-speakeasy-name-override: get

specs/schemas/exchange-sessions/CreateCustomerExchangeSession.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CreateCustomerExchangeSessionWithRedirect:
22
title: CreateCustomerExchangeSessionWithRedirect
3-
description: Create exchange session with redirect URL (required for Visa and for mobile sessions with Plaid)
3+
description: Create exchange session with redirect URL (required for mobile sessions with Plaid)
44
type: object
55
required:
66
- _links
@@ -28,10 +28,8 @@ CreateCustomerExchangeSessionWithRedirect:
2828
href:
2929
type: string
3030
format: uri
31-
description: Required for Visa and Plaid mobile sessions
31+
description: Required for Plaid mobile sessions
3232
examples:
33-
- description: Visa example
34-
value: https://www.yourdomain.com/iav-callback
3533
- description: Plaid Android example
3634
value: com.example.app123
3735
- description: Plaid iOS example

specs/schemas/exchange-sessions/CreateReAuthExchangeSession.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CreateReAuthExchangeSessionWithRedirect:
22
title: CreateReAuthExchangeSessionWithRedirect
3-
description: Create re-auth exchange session with redirect URL (required for mobile sessions with Visa and Plaid)
3+
description: Create re-auth exchange session with redirect URL (required for mobile sessions with Plaid)
44
type: object
55
required:
66
- _links
@@ -18,10 +18,8 @@ CreateReAuthExchangeSessionWithRedirect:
1818
href:
1919
type: string
2020
format: uri
21-
description: Required for Visa and Plaid mobile sessions
21+
description: Required for Plaid mobile sessions
2222
examples:
23-
- description: Visa example
24-
value: https://www.yourdomain.com/iav-callback
2523
- description: Plaid Android example
2624
value: com.example.app123
2725
- description: Plaid iOS example

specs/schemas/exchange-sessions/ExchangeSession.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,9 @@ ExchangeSession:
5959
type: string
6060
format: uri
6161
description: |
62-
Present for Visa and MX exchange sessions.
62+
Present for MX exchange sessions.
6363
Contains the URL to redirect the user to complete the authorization process.
6464
examples:
65-
- description: Visa example
66-
value: https://link.visa.com/1.0/account-check/connect?client_id=f16f7c7407f4434dbcaf269b230c12ed&redirect_uri=https://api-uat.dwolla.com/redirect/tink&authorization_code=47e23deab3924351a0c6193d90e5add5&market=US&locale=en_US&state=a2V5Ojk6dWRiRkRYWGlIVGdZZUNycUdCa0s3Zz09OmI1ZVE0YWRUYkFrSWNiKzFxTXdmQlVkcVNWWW5nMjtQNjBaWERxUDh5aTBpWEQzTHROdUZRd2xLMTUzYnZ4RU8=&session_id=628d927030ee43a38054da5166dcbee14e06dc02c00e45f2b4a5d986bab5d08f
6765
- description: MX example
6866
value: https://www.mx.com/connect/lAfkc7m897s3t1ks9mmwyj4ry7Zq0xql4grzAg1kz77x7c9jrwls1t22w6xt8d2lsxx9zpqv30js3wswfdwcrpAsqgbAfkqwpksp7c2chsx167xy90Asfc67dkj9y48y8p142xw3yp4x5l9t9gkk6m3yk5vwsvyq2qq7w9trszxwdl14lmkg7l6949bn5n41chdkbnxycy40n9b6fkbdwl6qt5wl107k1x8srvlkpz325p412x9tkyA5clf39109lsfrgz2lkgsvntqf7l0zzwb5hl658gdjbxwhb52krwybnbdAqfq69cdy54l05jkvfwyf01q89x48jtgtx290lzjdfcty1lwb8d648wns/eyJ1aV9tZXNzYWdlX3ZlcnNpb24iOjQsInVpX21lc3NhZ2Vfd2Vidmlld191cmxfc2NoZW1lIjoibXgiLCJtb2RlIjoidmVyaWZpY2F0aW9uIn0%3D
6967
type:

specs/schemas/funding-sources/CreateCustomerFundingSource.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ CreateCustomerBankFundingSource:
6565
CreateCustomerExchangeFundingSource:
6666
title: CreateCustomerExchangeFundingSource
6767
type: object
68-
description: Schema for creating a funding source using an exchange resource. This method is used when the bank account information is obtained via Instant Account Verification (IAV) through an exchange partner (like Plaid, Visa, MX, or Finicity).
68+
description: Schema for creating a funding source using an exchange resource. This method is used when the bank account information is obtained via Instant Account Verification (IAV) through an exchange partner (like Plaid, MX, or Finicity).
6969
required:
7070
- _links
7171
- bankAccountType

0 commit comments

Comments
 (0)