|
4 | 4 | title: Secure API |
5 | 5 | version: "2.3" |
6 | 6 | 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 |
9 | 9 | paths: |
10 | 10 | /secure/paymentsdetails: |
11 | 11 | post: |
@@ -340,6 +340,73 @@ paths: |
340 | 340 | 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 |
341 | 341 | httpMethod: POST |
342 | 342 | 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 |
343 | 410 | /secure/autopayenrollment: |
344 | 411 | post: |
345 | 412 | parameters: |
@@ -4830,7 +4897,10 @@ components: |
4830 | 4897 | - PaymentIntent |
4831 | 4898 | type: string |
4832 | 4899 | refundOrigin: |
4833 | | - $ref: '#/components/schemas/TransactionPaymentResponse_refundOrigin' |
| 4900 | + enum: |
| 4901 | + - API |
| 4902 | + - Callback |
| 4903 | + type: string |
4834 | 4904 | achTenderInfo: |
4835 | 4905 | $ref: '#/components/schemas/TransactionPaymentResponse_achTenderInfo' |
4836 | 4906 | ccTenderInfo: |
@@ -4918,7 +4988,6 @@ components: |
4918 | 4988 | userName: |
4919 | 4989 | type: string |
4920 | 4990 | chargeBackAmount: |
4921 | | - nullable: true |
4922 | 4991 | type: number |
4923 | 4992 | suppressTechnologyFee: |
4924 | 4993 | type: boolean |
@@ -5737,6 +5806,68 @@ components: |
5737 | 5806 | item: |
5738 | 5807 | $ref: '#/components/schemas/PFLiteGenerateQuoteResponse_item' |
5739 | 5808 | 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 |
5740 | 5871 | AutoPayEnrollmentRequest: |
5741 | 5872 | example: |
5742 | 5873 | merchantId: pgxVJKxj |
@@ -6624,6 +6755,8 @@ components: |
6624 | 6755 | - merchantId |
6625 | 6756 | - paymentDescription |
6626 | 6757 | - referenceDataList |
| 6758 | + - referenceNumber |
| 6759 | + - referenceType |
6627 | 6760 | - settings |
6628 | 6761 | - title |
6629 | 6762 | type: object |
@@ -7196,7 +7329,10 @@ components: |
7196 | 7329 | - PaymentIntent |
7197 | 7330 | type: string |
7198 | 7331 | refundOrigin: |
7199 | | - $ref: '#/components/schemas/TransactionPaymentResponse_refundOrigin' |
| 7332 | + enum: |
| 7333 | + - API |
| 7334 | + - Callback |
| 7335 | + type: string |
7200 | 7336 | billingContact: |
7201 | 7337 | $ref: '#/components/schemas/TransactionPaymentResponse_billingContact' |
7202 | 7338 | referenceTransactionId: |
@@ -7337,7 +7473,6 @@ components: |
7337 | 7473 | tokenLinkId: |
7338 | 7474 | type: string |
7339 | 7475 | paymentLinkId: |
7340 | | - nullable: true |
7341 | 7476 | type: string |
7342 | 7477 | additionalFields: |
7343 | 7478 | type: string |
@@ -8534,7 +8669,10 @@ components: |
8534 | 8669 | - PaymentIntent |
8535 | 8670 | type: string |
8536 | 8671 | refundOrigin: |
8537 | | - $ref: '#/components/schemas/TransactionPaymentResponse_refundOrigin' |
| 8672 | + enum: |
| 8673 | + - API |
| 8674 | + - Callback |
| 8675 | + type: string |
8538 | 8676 | billingContact: |
8539 | 8677 | $ref: '#/components/schemas/TransactionPaymentResponse_billingContact' |
8540 | 8678 | shippingContact: |
@@ -9305,6 +9443,7 @@ components: |
9305 | 9443 | required: |
9306 | 9444 | - vendorId |
9307 | 9445 | type: object |
| 9446 | + secureaccess: {} |
9308 | 9447 | SecureVendorStatusRequestDTO: |
9309 | 9448 | example: |
9310 | 9449 | vendorId: PZdOm6xQ |
@@ -9418,7 +9557,6 @@ components: |
9418 | 9557 | - legalEntityType |
9419 | 9558 | - notificationType |
9420 | 9559 | - paymentMethodType |
9421 | | - - phoneNumber |
9422 | 9560 | - physicalAddress |
9423 | 9561 | - vendorName |
9424 | 9562 | type: object |
@@ -9727,17 +9865,6 @@ components: |
9727 | 9865 | address: |
9728 | 9866 | $ref: '#/components/schemas/TransactionPaymentResponse_billingContact_address' |
9729 | 9867 | 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 |
9741 | 9868 | TransactionPaymentResponse_achTenderInfo: |
9742 | 9869 | properties: |
9743 | 9870 | bankName: |
@@ -9796,7 +9923,10 @@ components: |
9796 | 9923 | createAccountToken: |
9797 | 9924 | type: boolean |
9798 | 9925 | commissionType: |
9799 | | - $ref: '#/components/schemas/TransactionPaymentResponse_achTenderInfo_commissionType' |
| 9926 | + enum: |
| 9927 | + - Fixed |
| 9928 | + - Percentage |
| 9929 | + type: string |
9800 | 9930 | commissionValue: |
9801 | 9931 | type: number |
9802 | 9932 | commissionFixedValue: |
@@ -9849,7 +9979,10 @@ components: |
9849 | 9979 | createAccountToken: |
9850 | 9980 | type: boolean |
9851 | 9981 | commissionType: |
9852 | | - $ref: '#/components/schemas/TransactionPaymentResponse_achTenderInfo_commissionType' |
| 9982 | + enum: |
| 9983 | + - Fixed |
| 9984 | + - Percentage |
| 9985 | + type: string |
9853 | 9986 | commissionValue: |
9854 | 9987 | type: number |
9855 | 9988 | commissionFixedValue: |
@@ -10100,7 +10233,10 @@ components: |
10100 | 10233 | - CashDiscount |
10101 | 10234 | type: string |
10102 | 10235 | commissionType: |
10103 | | - $ref: '#/components/schemas/TransactionPaymentResponse_achTenderInfo_commissionType' |
| 10236 | + enum: |
| 10237 | + - Fixed |
| 10238 | + - Percentage |
| 10239 | + type: string |
10104 | 10240 | commissionValue: |
10105 | 10241 | type: number |
10106 | 10242 | commissionFixedValue: |
@@ -11197,7 +11333,10 @@ components: |
11197 | 11333 | createAccountToken: |
11198 | 11334 | type: boolean |
11199 | 11335 | commissionType: |
11200 | | - $ref: '#/components/schemas/TransactionPaymentResponse_achTenderInfo_commissionType' |
| 11336 | + enum: |
| 11337 | + - Fixed |
| 11338 | + - Percentage |
| 11339 | + type: string |
11201 | 11340 | commissionValue: |
11202 | 11341 | type: number |
11203 | 11342 | commissionFixedValue: |
@@ -11425,7 +11564,10 @@ components: |
11425 | 11564 | - CashDiscount |
11426 | 11565 | type: string |
11427 | 11566 | commissionType: |
11428 | | - $ref: '#/components/schemas/TransactionPaymentResponse_achTenderInfo_commissionType' |
| 11567 | + enum: |
| 11568 | + - Fixed |
| 11569 | + - Percentage |
| 11570 | + type: string |
11429 | 11571 | commissionValue: |
11430 | 11572 | type: number |
11431 | 11573 | commissionFixedValue: |
@@ -12350,7 +12492,10 @@ components: |
12350 | 12492 | createAccountToken: |
12351 | 12493 | type: boolean |
12352 | 12494 | commissionType: |
12353 | | - $ref: '#/components/schemas/TransactionPaymentResponse_achTenderInfo_commissionType' |
| 12495 | + enum: |
| 12496 | + - Fixed |
| 12497 | + - Percentage |
| 12498 | + type: string |
12354 | 12499 | commissionValue: |
12355 | 12500 | type: number |
12356 | 12501 | commissionFixedValue: |
|
0 commit comments