mirror of
https://github.com/gcatanese/adyen-openapi.git
synced 2026-03-10 08:01:24 +00:00
Updated YAML specs
This commit is contained in:
@@ -32,12 +32,18 @@ paths:
|
||||
requestBody:
|
||||
content:
|
||||
application/json:
|
||||
examples:
|
||||
accountClosed:
|
||||
$ref: '#/components/examples/post-ACCOUNT_CLOSED-accountClosed'
|
||||
schema:
|
||||
$ref: '#/components/schemas/AccountCloseNotification'
|
||||
responses:
|
||||
'200':
|
||||
content:
|
||||
application/json:
|
||||
examples:
|
||||
accountClosed:
|
||||
$ref: '#/components/examples/WebhookAck'
|
||||
schema:
|
||||
$ref: '#/components/schemas/NotificationResponse'
|
||||
description: OK - the request has succeeded.
|
||||
@@ -2235,6 +2241,7 @@ components:
|
||||
- DAILY_6PM
|
||||
- DAILY_AU
|
||||
- DAILY_EU
|
||||
- DAILY_SG
|
||||
- DAILY_US
|
||||
- DEFAULT
|
||||
- EVERY_6_HOURS_FROM_MIDNIGHT
|
||||
@@ -2480,7 +2487,6 @@ components:
|
||||
- accountHolderCode
|
||||
- accountCode
|
||||
- refundResults
|
||||
- lastPayout
|
||||
ShareholderContact:
|
||||
properties:
|
||||
address:
|
||||
@@ -3104,4 +3110,30 @@ components:
|
||||
BasicAuth:
|
||||
scheme: basic
|
||||
type: http
|
||||
examples: {}
|
||||
examples:
|
||||
WebhookAck:
|
||||
summary: Acknowledge Webhook
|
||||
value:
|
||||
notificationResponse: '[accepted]'
|
||||
post-ACCOUNT_CLOSED-accountClosed:
|
||||
summary: ACCOUNT CLOSED example
|
||||
value:
|
||||
error:
|
||||
errorCode: '000'
|
||||
message: test error message
|
||||
eventDate: '2019-01-01T01:00:00+01:00'
|
||||
eventType: ACCOUNT_CLOSED
|
||||
executingUserKey: executing-user-key
|
||||
live: false
|
||||
pspReference: TSTPSPR0001
|
||||
content:
|
||||
invalidFields:
|
||||
- errorCode: 1
|
||||
errorDescription: Field is missing
|
||||
fieldType:
|
||||
field: AccountHolderDetails.BusinessDetails.Shareholders.unknown
|
||||
fieldName: unknown
|
||||
shareholderCode: SH00001
|
||||
pspReference: TSTPSPR0001
|
||||
resultCode: Success
|
||||
status: Closed
|
||||
|
||||
Reference in New Issue
Block a user