Skip to content

Commit 3958360

Browse files
committed
Payment Response Bug Fix
Fixed bug where Payment Response account type did not allow for type "Unknown"
1 parent 0ba540c commit 3958360

633 files changed

Lines changed: 6207 additions & 5310 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.openapi-generator-ignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,4 @@
2222
# Then explicitly reverse the ignore rule for a single file:
2323
#!docs/README.md
2424
README.md
25+
.gitignore

.openapi-generator/FILES

Lines changed: 224 additions & 224 deletions
Large diffs are not rendered by default.
Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
Microsoft Visual Studio Solution File, Format Version 12.00
2-
# Visual Studio 14
3-
VisualStudioVersion = 14.0.25420.1
4-
MinimumVisualStudioVersion = 10.0.40219.1
5-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AndDoneSecureClientLibrary", "src\AndDoneSecureClientLibrary\AndDoneSecureClientLibrary.csproj", "{DF3CE345-8961-498C-BCD1-00E2EA5EAD33}"
2+
# Visual Studio 2012
3+
VisualStudioVersion = 12.0.0.0
4+
MinimumVisualStudioVersion = 10.0.0.1
5+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Org.OpenAPITools", "src\Org.OpenAPITools\Org.OpenAPITools.csproj", "{4C7A0ACC-BEE9-449B-85D6-EBD2F89A7FFA}"
66
EndProject
7-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AndDoneSecureClientLibrary.Test", "src\AndDoneSecureClientLibrary.Test\AndDoneSecureClientLibrary.Test.csproj", "{19F1DEBC-DE5E-4517-8062-F000CD499087}"
7+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Org.OpenAPITools.Test", "src\Org.OpenAPITools.Test\Org.OpenAPITools.Test.csproj", "{19F1DEBC-DE5E-4517-8062-F000CD499087}"
88
EndProject
99
Global
1010
GlobalSection(SolutionConfigurationPlatforms) = preSolution
1111
Debug|Any CPU = Debug|Any CPU
1212
Release|Any CPU = Release|Any CPU
1313
EndGlobalSection
1414
GlobalSection(ProjectConfigurationPlatforms) = postSolution
15-
{DF3CE345-8961-498C-BCD1-00E2EA5EAD33}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
16-
{DF3CE345-8961-498C-BCD1-00E2EA5EAD33}.Debug|Any CPU.Build.0 = Debug|Any CPU
17-
{DF3CE345-8961-498C-BCD1-00E2EA5EAD33}.Release|Any CPU.ActiveCfg = Release|Any CPU
18-
{DF3CE345-8961-498C-BCD1-00E2EA5EAD33}.Release|Any CPU.Build.0 = Release|Any CPU
15+
{4C7A0ACC-BEE9-449B-85D6-EBD2F89A7FFA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
16+
{4C7A0ACC-BEE9-449B-85D6-EBD2F89A7FFA}.Debug|Any CPU.Build.0 = Debug|Any CPU
17+
{4C7A0ACC-BEE9-449B-85D6-EBD2F89A7FFA}.Release|Any CPU.ActiveCfg = Release|Any CPU
18+
{4C7A0ACC-BEE9-449B-85D6-EBD2F89A7FFA}.Release|Any CPU.Build.0 = Release|Any CPU
1919
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
2020
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.Build.0 = Debug|Any CPU
2121
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Release|Any CPU.ActiveCfg = Release|Any CPU

api/openapi.yaml

Lines changed: 170 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ info:
44
title: Secure API
55
version: "2.3"
66
servers:
7-
- url: https://api.uat.anddone.com
8-
- url: https://api2.uat.anddone.com
7+
- url: https://api.anddone.com
8+
- url: https://api2.anddone.com
99
paths:
1010
/secure/paymentsdetails:
1111
post:
@@ -340,6 +340,73 @@ paths:
340340
uri: arn:aws:apigateway:us-east-2:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-2:aws-account-id:function:APIVersioning/invocations
341341
httpMethod: POST
342342
credentials: arn:aws:iam::aws-account-id:role/MyLambdaRole
343+
/utilityapi/secure/verifybankaccounts:
344+
post:
345+
parameters:
346+
- description: an authorization header
347+
explode: false
348+
in: header
349+
name: x-api-key
350+
required: true
351+
schema:
352+
type: string
353+
style: simple
354+
- description: an authorization header
355+
explode: false
356+
in: header
357+
name: x-app-key
358+
required: true
359+
schema:
360+
type: string
361+
style: simple
362+
- description: x-version
363+
explode: false
364+
in: header
365+
name: x-version
366+
required: true
367+
schema:
368+
type: number
369+
style: simple
370+
- description: origin
371+
explode: false
372+
in: header
373+
name: origin
374+
required: true
375+
schema:
376+
type: string
377+
style: simple
378+
requestBody:
379+
content:
380+
application/json:
381+
schema:
382+
$ref: '#/components/schemas/SecureVerifyBankAccountRequestDTO'
383+
description: SecureVerifyBankAccountRequestDTO
384+
required: true
385+
responses:
386+
"200":
387+
content:
388+
application/json:
389+
schema:
390+
$ref: '#/components/schemas/VerifyBankAccountResponse'
391+
description: Successful operation
392+
"400":
393+
description: Bad Request
394+
"404":
395+
description: Not Found
396+
"500":
397+
description: Internal Server Error
398+
security:
399+
- x-api-key: []
400+
x-app-key: []
401+
summary: This API verifies bank account using secure ACH validation
402+
tags:
403+
- Secure ACH Validation
404+
x-accesscontrol-secure: secure
405+
x-amazon-apigateway-integration:
406+
type: aws_proxy
407+
uri: arn:aws:apigateway:us-east-2:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-2:aws-account-id:function:APIVersioning/invocations
408+
httpMethod: POST
409+
credentials: arn:aws:iam::aws-account-id:role/MyLambdaRole
343410
/secure/autopayenrollment:
344411
post:
345412
parameters:
@@ -4830,7 +4897,10 @@ components:
48304897
- PaymentIntent
48314898
type: string
48324899
refundOrigin:
4833-
$ref: '#/components/schemas/TransactionPaymentResponse_refundOrigin'
4900+
enum:
4901+
- API
4902+
- Callback
4903+
type: string
48344904
achTenderInfo:
48354905
$ref: '#/components/schemas/TransactionPaymentResponse_achTenderInfo'
48364906
ccTenderInfo:
@@ -4918,7 +4988,6 @@ components:
49184988
userName:
49194989
type: string
49204990
chargeBackAmount:
4921-
nullable: true
49224991
type: number
49234992
suppressTechnologyFee:
49244993
type: boolean
@@ -5737,6 +5806,68 @@ components:
57375806
item:
57385807
$ref: '#/components/schemas/PFLiteGenerateQuoteResponse_item'
57395808
type: object
5809+
VerifyBankAccountResponse:
5810+
example:
5811+
id: pgxV9vjr
5812+
verificationEntityId: eef0486e-50bf-40e1-b585-4f65fc724387
5813+
verifyingEntity: Adyen
5814+
verificationStatus: Valid
5815+
message: null
5816+
createdOn: 10-04-2024 12:22:54
5817+
createdBy: JohnDoe
5818+
modifiedOn: 10-10-2024 03:59:10
5819+
modifiedBy: JohnDoe
5820+
properties:
5821+
id:
5822+
type: string
5823+
verificationEntityId:
5824+
type: string
5825+
verifyingEntity:
5826+
enum:
5827+
- Other
5828+
- Adyen
5829+
type: string
5830+
verificationStatus:
5831+
enum:
5832+
- Pending
5833+
- Valid
5834+
- Closed
5835+
- Invalid
5836+
- Failed
5837+
type: string
5838+
message:
5839+
type: string
5840+
createdOn:
5841+
type: string
5842+
createdBy:
5843+
type: string
5844+
modifiedOn:
5845+
type: string
5846+
modifiedBy:
5847+
type: string
5848+
type: object
5849+
SecureVerifyBankAccountRequestDTO:
5850+
example:
5851+
verificationEntityId: null
5852+
accountNumber: "67893857890"
5853+
routingNumber: "026009593"
5854+
accountHolderName: Joe Demon
5855+
explicitVerification: false
5856+
properties:
5857+
verificationEntityId:
5858+
type: string
5859+
accountNumber:
5860+
type: string
5861+
routingNumber:
5862+
type: string
5863+
accountHolderName:
5864+
type: string
5865+
explicitVerification:
5866+
type: boolean
5867+
required:
5868+
- accountNumber
5869+
- routingNumber
5870+
type: object
57405871
AutoPayEnrollmentRequest:
57415872
example:
57425873
merchantId: pgxVJKxj
@@ -6624,6 +6755,8 @@ components:
66246755
- merchantId
66256756
- paymentDescription
66266757
- referenceDataList
6758+
- referenceNumber
6759+
- referenceType
66276760
- settings
66286761
- title
66296762
type: object
@@ -7196,7 +7329,10 @@ components:
71967329
- PaymentIntent
71977330
type: string
71987331
refundOrigin:
7199-
$ref: '#/components/schemas/TransactionPaymentResponse_refundOrigin'
7332+
enum:
7333+
- API
7334+
- Callback
7335+
type: string
72007336
billingContact:
72017337
$ref: '#/components/schemas/TransactionPaymentResponse_billingContact'
72027338
referenceTransactionId:
@@ -7337,7 +7473,6 @@ components:
73377473
tokenLinkId:
73387474
type: string
73397475
paymentLinkId:
7340-
nullable: true
73417476
type: string
73427477
additionalFields:
73437478
type: string
@@ -8534,7 +8669,10 @@ components:
85348669
- PaymentIntent
85358670
type: string
85368671
refundOrigin:
8537-
$ref: '#/components/schemas/TransactionPaymentResponse_refundOrigin'
8672+
enum:
8673+
- API
8674+
- Callback
8675+
type: string
85388676
billingContact:
85398677
$ref: '#/components/schemas/TransactionPaymentResponse_billingContact'
85408678
shippingContact:
@@ -9305,6 +9443,7 @@ components:
93059443
required:
93069444
- vendorId
93079445
type: object
9446+
secureaccess: {}
93089447
SecureVendorStatusRequestDTO:
93099448
example:
93109449
vendorId: PZdOm6xQ
@@ -9418,7 +9557,6 @@ components:
94189557
- legalEntityType
94199558
- notificationType
94209559
- paymentMethodType
9421-
- phoneNumber
94229560
- physicalAddress
94239561
- vendorName
94249562
type: object
@@ -9727,17 +9865,6 @@ components:
97279865
address:
97289866
$ref: '#/components/schemas/TransactionPaymentResponse_billingContact_address'
97299867
type: object
9730-
TransactionPaymentResponse_refundOrigin:
9731-
oneOf:
9732-
- type: integer
9733-
- type: string
9734-
TransactionPaymentResponse_achTenderInfo_commissionType:
9735-
oneOf:
9736-
- type: integer
9737-
- enum:
9738-
- Fixed
9739-
- Percentage
9740-
type: string
97419868
TransactionPaymentResponse_achTenderInfo:
97429869
properties:
97439870
bankName:
@@ -9796,7 +9923,10 @@ components:
97969923
createAccountToken:
97979924
type: boolean
97989925
commissionType:
9799-
$ref: '#/components/schemas/TransactionPaymentResponse_achTenderInfo_commissionType'
9926+
enum:
9927+
- Fixed
9928+
- Percentage
9929+
type: string
98009930
commissionValue:
98019931
type: number
98029932
commissionFixedValue:
@@ -9849,7 +9979,10 @@ components:
98499979
createAccountToken:
98509980
type: boolean
98519981
commissionType:
9852-
$ref: '#/components/schemas/TransactionPaymentResponse_achTenderInfo_commissionType'
9982+
enum:
9983+
- Fixed
9984+
- Percentage
9985+
type: string
98539986
commissionValue:
98549987
type: number
98559988
commissionFixedValue:
@@ -10100,7 +10233,10 @@ components:
1010010233
- CashDiscount
1010110234
type: string
1010210235
commissionType:
10103-
$ref: '#/components/schemas/TransactionPaymentResponse_achTenderInfo_commissionType'
10236+
enum:
10237+
- Fixed
10238+
- Percentage
10239+
type: string
1010410240
commissionValue:
1010510241
type: number
1010610242
commissionFixedValue:
@@ -11197,7 +11333,10 @@ components:
1119711333
createAccountToken:
1119811334
type: boolean
1119911335
commissionType:
11200-
$ref: '#/components/schemas/TransactionPaymentResponse_achTenderInfo_commissionType'
11336+
enum:
11337+
- Fixed
11338+
- Percentage
11339+
type: string
1120111340
commissionValue:
1120211341
type: number
1120311342
commissionFixedValue:
@@ -11425,7 +11564,10 @@ components:
1142511564
- CashDiscount
1142611565
type: string
1142711566
commissionType:
11428-
$ref: '#/components/schemas/TransactionPaymentResponse_achTenderInfo_commissionType'
11567+
enum:
11568+
- Fixed
11569+
- Percentage
11570+
type: string
1142911571
commissionValue:
1143011572
type: number
1143111573
commissionFixedValue:
@@ -12350,7 +12492,10 @@ components:
1235012492
createAccountToken:
1235112493
type: boolean
1235212494
commissionType:
12353-
$ref: '#/components/schemas/TransactionPaymentResponse_achTenderInfo_commissionType'
12495+
enum:
12496+
- Fixed
12497+
- Percentage
12498+
type: string
1235412499
commissionValue:
1235512500
type: number
1235612501
commissionFixedValue:

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ build_script:
66
- dotnet build -c Release
77
- dotnet test -c Release
88
after_build:
9-
- dotnet pack .\src\AndDoneSecureClientLibrary\AndDoneSecureClientLibrary.csproj -o ../../output -c Release --no-build
9+
- dotnet pack .\src\Org.OpenAPITools\Org.OpenAPITools.csproj -o ../../output -c Release --no-build

docs/AutoPayEnrollmentRequest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# AndDoneSecureClientLibrary.Model.AutoPayEnrollmentRequest
1+
# Org.OpenAPITools.Model.AutoPayEnrollmentRequest
22

33
## Properties
44

docs/AutoPayEnrollmentResponse.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# AndDoneSecureClientLibrary.Model.AutoPayEnrollmentResponse
1+
# Org.OpenAPITools.Model.AutoPayEnrollmentResponse
22

33
## Properties
44

docs/BankDetailDto.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# AndDoneSecureClientLibrary.Model.BankDetailDto
1+
# Org.OpenAPITools.Model.BankDetailDto
22

33
## Properties
44

docs/CancelPaymentRequestDTO.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# AndDoneSecureClientLibrary.Model.CancelPaymentRequestDTO
1+
# Org.OpenAPITools.Model.CancelPaymentRequestDTO
22

33
## Properties
44

docs/DataDto.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# AndDoneSecureClientLibrary.Model.DataDto
1+
# Org.OpenAPITools.Model.DataDto
22

33
## Properties
44

0 commit comments

Comments
 (0)