Skip to content

Commit

Permalink
spec release
Browse files Browse the repository at this point in the history
  • Loading branch information
Adyen Automation committed Dec 12, 2024
1 parent 0f5c774 commit 7a609f5
Show file tree
Hide file tree
Showing 6 changed files with 178 additions and 13 deletions.
82 changes: 82 additions & 0 deletions json/ManagementNotificationService-v3.json
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,46 @@
}
}
},
"terminalAssignment.completed" : {
"post" : {
"tags" : [
"Terminal management"
],
"summary" : "Terminal assignment completed",
"description" : "A request to [reassign a terminal](https://docs.adyen.com/api-explorer/Management/3/post/terminals/(terminalId)/reassign) was completed.",
"x-addedInVersion" : "3",
"operationId" : "post-terminalAssignment.completed",
"x-sortIndex" : 3,
"x-methodName" : "terminalAssignmentCompleted",
"security" : [
{
"BasicAuth" : [
]
}
],
"requestBody" : {
"content" : {
"application/json" : {
"schema" : {
"$ref" : "#/components/schemas/TerminalAssignmentNotificationRequest"
}
}
}
},
"responses" : {
"200" : {
"content" : {
"application/json" : {
"schema" : {
"$ref" : "#/components/schemas/TerminalAssignmentNotificationResponse"
}
}
},
"description" : "OK - the request has succeeded."
}
}
}
},
"terminalBoarding.triggered" : {
"post" : {
"tags" : [
Expand Down Expand Up @@ -776,6 +816,48 @@
},
"type" : "object"
},
"TerminalAssignmentNotificationRequest" : {
"additionalProperties" : false,
"properties" : {
"assignedToAccount" : {
"description" : "The unique identifier of the merchant/company account to which the terminal is assigned.",
"type" : "string"
},
"assignedToStore" : {
"description" : "The unique identifier of the store to which the terminal is assigned.",
"type" : "string"
},
"eventDate" : {
"description" : "The date and time when an event has been completed.",
"type" : "string"
},
"pspReference" : {
"description" : "The PSP reference of the request from which the notification originates.",
"type" : "string"
},
"uniqueTerminalId" : {
"description" : "The unique identifier of the terminal.",
"type" : "string"
}
},
"required" : [
"uniqueTerminalId",
"pspReference",
"eventDate",
"assignedToAccount"
],
"type" : "object"
},
"TerminalAssignmentNotificationResponse" : {
"additionalProperties" : false,
"properties" : {
"notificationResponse" : {
"description" : "Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications).",
"type" : "string"
}
},
"type" : "object"
},
"TerminalBoardingData" : {
"additionalProperties" : false,
"properties" : {
Expand Down
4 changes: 2 additions & 2 deletions json/ManagementService-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -15270,13 +15270,13 @@
"additionalProperties" : false,
"properties" : {
"currency" : {
"description" : "The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes).",
"description" : "The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes#currency-codes).",
"maxLength" : 3,
"minLength" : 3,
"type" : "string"
},
"value" : {
"description" : "The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes).",
"description" : "The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes#minor-units).",
"format" : "int64",
"type" : "integer"
}
Expand Down
20 changes: 16 additions & 4 deletions json/ManagementService-v3.json
Original file line number Diff line number Diff line change
Expand Up @@ -15667,13 +15667,13 @@
"additionalProperties" : false,
"properties" : {
"currency" : {
"description" : "The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes).",
"description" : "The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes#currency-codes).",
"maxLength" : 3,
"minLength" : 3,
"type" : "string"
},
"value" : {
"description" : "The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes).",
"description" : "The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes#minor-units).",
"format" : "int64",
"type" : "integer"
}
Expand Down Expand Up @@ -20330,11 +20330,15 @@
"additionalProperties" : false,
"properties" : {
"iccid" : {
"description" : "The integrated circuit card identifier (ICCID) of the SIM card in the terminal.",
"description" : "The integrated circuit card identifier (ICCID) of the primary SIM card in the terminal.",
"type" : "string"
},
"iccid2" : {
"description" : "The integrated circuit card identifier (ICCID) of the secondary SIM card in the terminal, typically used for a [third-party SIM card](https://docs.adyen.com/point-of-sale/design-your-integration/network-and-connectivity/cellular-failover/#using-a-third-party-sim-card).",
"type" : "string"
},
"status" : {
"description" : "On a terminal that supports 3G or 4G connectivity, indicates the status of the SIM card in the terminal.",
"description" : "On a terminal that supports 3G or 4G connectivity, indicates the status of the primary SIM card in the terminal.",
"enum" : [
"activated",
"deactivated",
Expand Down Expand Up @@ -21341,7 +21345,15 @@
"description" : "STAR details.",
"$ref" : "#/components/schemas/StarInfo"
},
"storeId" : {
"x-addedInVersion" : "3",
"description" : "The store for this payment method",
"type" : "string"
},
"storeIds" : {
"deprecated" : true,
"x-deprecatedInVersion" : "3",
"x-deprecatedMessage" : "Use `storeId` instead. Only one store per payment method is allowed.",
"description" : "The list of stores for this payment method",
"items" : {
"type" : "string"
Expand Down
59 changes: 59 additions & 0 deletions yaml/ManagementNotificationService-v3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,31 @@ webhooks:
schema:
$ref: '#/components/schemas/PaymentMethodNotificationResponse'
description: OK - the request has succeeded.
terminalAssignment.completed:
post:
tags:
- Terminal management
summary: Terminal assignment completed
description: A request to [reassign a terminal](https://docs.adyen.com/api-explorer/Management/3/post/terminals/(terminalId)/reassign)
was completed.
x-addedInVersion: '3'
operationId: post-terminalAssignment.completed
x-sortIndex: 3
x-methodName: terminalAssignmentCompleted
security:
- BasicAuth: []
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/TerminalAssignmentNotificationRequest'
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/TerminalAssignmentNotificationResponse'
description: OK - the request has succeeded.
terminalBoarding.triggered:
post:
tags:
Expand Down Expand Up @@ -675,6 +700,40 @@ components:
description: A description of how you can resolve the verification error.
type: string
type: object
TerminalAssignmentNotificationRequest:
additionalProperties: false
properties:
assignedToAccount:
description: The unique identifier of the merchant/company account to which
the terminal is assigned.
type: string
assignedToStore:
description: The unique identifier of the store to which the terminal is
assigned.
type: string
eventDate:
description: The date and time when an event has been completed.
type: string
pspReference:
description: The PSP reference of the request from which the notification
originates.
type: string
uniqueTerminalId:
description: The unique identifier of the terminal.
type: string
required:
- uniqueTerminalId
- pspReference
- eventDate
- assignedToAccount
type: object
TerminalAssignmentNotificationResponse:
additionalProperties: false
properties:
notificationResponse:
description: Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications).
type: string
type: object
TerminalBoardingData:
additionalProperties: false
properties:
Expand Down
4 changes: 2 additions & 2 deletions yaml/ManagementService-v1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10101,12 +10101,12 @@ components:
additionalProperties: false
properties:
currency:
description: The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes).
description: The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes#currency-codes).
maxLength: 3
minLength: 3
type: string
value:
description: The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes).
description: The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes#minor-units).
format: int64
type: integer
required:
Expand Down
22 changes: 17 additions & 5 deletions yaml/ManagementService-v3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10359,12 +10359,12 @@ components:
additionalProperties: false
properties:
currency:
description: The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes).
description: The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes#currency-codes).
maxLength: 3
minLength: 3
type: string
value:
description: The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes).
description: The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes#minor-units).
format: int64
type: integer
required:
Expand Down Expand Up @@ -14782,12 +14782,16 @@ components:
additionalProperties: false
properties:
iccid:
description: The integrated circuit card identifier (ICCID) of the SIM card
in the terminal.
description: The integrated circuit card identifier (ICCID) of the primary
SIM card in the terminal.
type: string
iccid2:
description: The integrated circuit card identifier (ICCID) of the secondary
SIM card in the terminal, typically used for a [third-party SIM card](https://docs.adyen.com/point-of-sale/design-your-integration/network-and-connectivity/cellular-failover/#using-a-third-party-sim-card).
type: string
status:
description: On a terminal that supports 3G or 4G connectivity, indicates
the status of the SIM card in the terminal.
the status of the primary SIM card in the terminal.
enum:
- activated
- deactivated
Expand Down Expand Up @@ -15768,7 +15772,15 @@ components:
star:
description: STAR details.
$ref: '#/components/schemas/StarInfo'
storeId:
x-addedInVersion: '3'
description: The store for this payment method
type: string
storeIds:
deprecated: true
x-deprecatedInVersion: '3'
x-deprecatedMessage: Use `storeId` instead. Only one store per payment method
is allowed.
description: The list of stores for this payment method
items:
type: string
Expand Down

0 comments on commit 7a609f5

Please sign in to comment.