Skip to content

Commit

Permalink
Updated YAML specs
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksei committed Aug 7, 2021
1 parent 8fa38dc commit 4d59745
Show file tree
Hide file tree
Showing 58 changed files with 18,711 additions and 40,817 deletions.
431 changes: 172 additions & 259 deletions yaml/AccountService-v3.yaml

Large diffs are not rendered by default.

298 changes: 177 additions & 121 deletions yaml/AccountService-v4.yaml

Large diffs are not rendered by default.

432 changes: 247 additions & 185 deletions yaml/AccountService-v5.yaml

Large diffs are not rendered by default.

510 changes: 271 additions & 239 deletions yaml/AccountService-v6.yaml

Large diffs are not rendered by default.

1,561 changes: 1,561 additions & 0 deletions yaml/BalancePlatformNotificationService-v1.yaml

Large diffs are not rendered by default.

1,075 changes: 581 additions & 494 deletions yaml/BalancePlatformService-v1.yaml

Large diffs are not rendered by default.

95 changes: 35 additions & 60 deletions yaml/BinLookupService-v40.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
openapi: 3.0.3
openapi: 3.1.0
servers:
- url: https://pal-test.adyen.com/pal/servlet/BinLookup/v40
info:
Expand All @@ -17,17 +17,22 @@ x-groups:
paths:
/get3dsAvailability:
post:
tags:
- General
summary: Checks 3D Secure availability.
description: 'Verifies whether 3D Secure is available for the specified BIN
or card brand. For 3D Secure 2, this endpoint also returns device fingerprinting
keys.
For more information, refer to [3D Secure 2](https://docs.adyen.com/online-payments/3d-secure/native-3ds2).'
x-addedInVersion: 1
x-addedInVersion: '1'
operationId: post-get3dsAvailability
x-groupName: General
x-sortIndex: 0
security:
- BasicAuth: []
- ApiKeyAuth: []
requestBody:
content:
application/json:
Expand All @@ -41,17 +46,17 @@ paths:
content:
application/json:
examples:
get3dsAvailability-200:
$ref: '#/components/examples/post-get3dsAvailability-get3dsAvailability-200'
get3dsAvailability:
$ref: '#/components/examples/post-get3dsAvailability-get3dsAvailability'
schema:
$ref: '#/components/schemas/ThreeDSAvailabilityResponse'
description: OK - the request has succeeded.
'400':
content:
application/json:
examples:
generic-400:
$ref: '#/components/examples/generic-400'
generic:
$ref: '#/components/examples/generic'
schema:
$ref: '#/components/schemas/ServiceError'
description: Bad Request - a problem reading or understanding the request.
Expand Down Expand Up @@ -81,6 +86,8 @@ paths:
description: Internal Server Error - the server could not process the request.
/getCostEstimate:
post:
tags:
- General
summary: Gets a cost estimate.
description: 'Use the Adyen Cost Estimation API to pre-calculate interchange
and scheme fee costs. Knowing these costs prior actual payment authorisation
Expand All @@ -100,6 +107,9 @@ paths:
operationId: post-getCostEstimate
x-groupName: General
x-sortIndex: 0
security:
- BasicAuth: []
- ApiKeyAuth: []
requestBody:
content:
application/json:
Expand All @@ -121,23 +131,23 @@ paths:
content:
application/json:
examples:
getCostEstimate-200:
$ref: '#/components/examples/post-getCostEstimate-getCostEstimate-200'
getCostEstimateEncryptedCard-200:
$ref: '#/components/examples/post-getCostEstimate-getCostEstimateEncryptedCard-200'
getCostEstimateMinimal-200:
$ref: '#/components/examples/post-getCostEstimate-getCostEstimateMinimal-200'
getCostEstimateMinimal3DS-200:
$ref: '#/components/examples/post-getCostEstimate-getCostEstimateMinimal3DS-200'
getCostEstimate:
$ref: '#/components/examples/post-getCostEstimate-getCostEstimate'
getCostEstimateEncryptedCard:
$ref: '#/components/examples/post-getCostEstimate-getCostEstimateEncryptedCard'
getCostEstimateMinimal:
$ref: '#/components/examples/post-getCostEstimate-getCostEstimateMinimal'
getCostEstimateMinimal3DS:
$ref: '#/components/examples/post-getCostEstimate-getCostEstimateMinimal3DS'
schema:
$ref: '#/components/schemas/CostEstimateResponse'
description: OK - the request has succeeded.
'400':
content:
application/json:
examples:
generic-400:
$ref: '#/components/examples/generic-400'
generic:
$ref: '#/components/examples/generic'
schema:
$ref: '#/components/schemas/ServiceError'
description: Bad Request - a problem reading or understanding the request.
Expand Down Expand Up @@ -401,6 +411,11 @@ components:
directoryServerId:
description: Directory Server (DS) identifier.
type: string
fromSDKVersion:
description: The version of the mobile 3D Secure 2 SDK. For the possible
values, refer to the versions in [Adyen 3DS2 Android](https://github.com/Adyen/adyen-3ds2-android/releases)
and [Adyen 3DS2 iOS](https://github.com/Adyen/adyen-3ds2-ios/releases).
type: string
publicKey:
description: Public key. The 3D Secure 2 SDK encrypts the device information
by using the DS public key.
Expand Down Expand Up @@ -448,18 +463,18 @@ components:
description: A descriptive name for this detail.
type: string
recurringExpiry:
x-addedInVersion: 40
x-addedInVersion: '40'
description: Date after which no further authorisations shall be performed.
Only for 3D Secure 2.
format: date-time
type: string
recurringFrequency:
x-addedInVersion: 40
x-addedInVersion: '40'
description: Minimum number of days between authorisations. Only for 3D
Secure 2.
type: string
tokenService:
x-addedInVersion: 25
x-addedInVersion: '25'
description: The name of the token service.
enum:
- VISATOKENSERVICE
Expand Down Expand Up @@ -560,7 +575,7 @@ components:
scheme: basic
type: http
examples:
generic-400:
generic:
summary: Response code 400. Bad Request.
value:
status: 400
Expand All @@ -573,12 +588,6 @@ components:
value:
merchantAccount: YOUR_MERCHANT_ACCOUNT
cardNumber: '4111111111111111'
post-get3dsAvailability-get3dsAvailability-200:
summary: Example response for request 'get3dsAvailability'
value:
threeDS1Supported: 'true'
threeDS2CardRangeDetails: []
threeDS2supported: 'false'
post-getCostEstimate-getCostEstimate:
summary: Estimate the transaction cost
description: Example request to get the estimated cost of a transaction
Expand All @@ -596,14 +605,6 @@ components:
mcc: '7411'
enrolledIn3DSecure: true
shopperInteraction: Ecommerce
post-getCostEstimate-getCostEstimate-200:
summary: Example response for request 'getCostEstimate'
value:
costEstimateAmount:
currency: EUR
value: 12
resultCode: Success
surchargeType: PASSTHROUGH
post-getCostEstimate-getCostEstimateEncryptedCard:
summary: Estimate the transaction cost using an encrypted card number
description: Example request to get the estimated cost of a transaction
Expand All @@ -621,25 +622,7 @@ components:
mcc: '7411'
enrolledIn3DSecure: true
shopperInteraction: Ecommerce
post-getCostEstimate-getCostEstimateEncryptedCard-200:
summary: Example response for request 'getCostEstimateEncryptedCard'
value:
costEstimateAmount:
currency: EUR
value: 12
resultCode: Success
surchargeType: PASSTHROUGH
post-getCostEstimate-getCostEstimateMinimal:
summary: Estimate the transaction cost (minimal)
description: Example request to get the estimated cost of a transaction with
minimum details
value:
amount:
value: 1234
currency: EUR
cardNumber: '5101180000000007'
merchantAccount: YOUR_MERCHANT_ACCOUNT
post-getCostEstimate-getCostEstimateMinimal-200:
summary: Example response for request 'getCostEstimateMinimal'
value:
costEstimateAmount:
Expand All @@ -660,14 +643,6 @@ components:
assume3DSecureAuthenticated: true
cardNumber: '5101180000000007'
merchantAccount: YOUR_MERCHANT_ACCOUNT
post-getCostEstimate-getCostEstimateMinimal3DS-200:
summary: Example response for request 'getCostEstimateMinimal3DS'
value:
costEstimateAmount:
currency: EUR
value: 12
resultCode: Success
surchargeType: PASSTHROUGH
post-getCostEstimate-getCostEstimateRecurringContract:
summary: Estimate the transaction cost (recurring contract)
description: Example request to get the estimated cost of a recurring transaction
Expand Down
Loading

0 comments on commit 4d59745

Please sign in to comment.