Skip to content

Commit

Permalink
spec release
Browse files Browse the repository at this point in the history
  • Loading branch information
Adyen Automation committed Jun 18, 2024
1 parent 2c46bd2 commit 99b1b0d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 344 deletions.
204 changes: 0 additions & 204 deletions json/RecurringService-v68.json
Original file line number Diff line number Diff line change
Expand Up @@ -308,100 +308,6 @@
}
}
},
"/forward" : {
"post" : {
"tags" : [
"General"
],
"summary" : "Ask 3rd party processor to process the request and send back the response",
"description" : "Validates a forward request with RDR and sends the specified request to the 3rd party processor so they can send the response back.",
"x-addedInVersion" : "68",
"operationId" : "post-forward",
"x-sortIndex" : 0,
"x-methodName" : "forward",
"security" : [
{
"BasicAuth" : [
]
},
{
"ApiKeyAuth" : [
]
}
],
"requestBody" : {
"content" : {
"application/json" : {
"schema" : {
"$ref" : "#/components/schemas/ForwardRequest"
}
}
}
},
"responses" : {
"200" : {
"content" : {
"application/json" : {
"schema" : {
"$ref" : "#/components/schemas/ForwardResponse"
}
}
},
"description" : "OK - the request has succeeded."
},
"400" : {
"content" : {
"application/json" : {
"schema" : {
"$ref" : "#/components/schemas/ServiceError"
}
}
},
"description" : "Bad Request - a problem reading or understanding the request."
},
"401" : {
"content" : {
"application/json" : {
"schema" : {
"$ref" : "#/components/schemas/ServiceError"
}
}
},
"description" : "Unauthorized - authentication required."
},
"403" : {
"content" : {
"application/json" : {
"schema" : {
"$ref" : "#/components/schemas/ServiceError"
}
}
},
"description" : "Forbidden - insufficient permissions to process the request."
},
"422" : {
"content" : {
"application/json" : {
"schema" : {
"$ref" : "#/components/schemas/ServiceError"
}
}
},
"description" : "Unprocessable Entity - a request validation error."
},
"500" : {
"content" : {
"application/json" : {
"schema" : {
"$ref" : "#/components/schemas/ServiceError"
}
}
},
"description" : "Internal Server Error - the server could not process the request."
}
}
}
},
"/listRecurringDetails" : {
"post" : {
"tags" : [
Expand Down Expand Up @@ -997,56 +903,6 @@
},
"type" : "object"
},
"ForwardRequest" : {
"additionalProperties" : false,
"properties" : {
"baseUrl" : {
"description" : "The base url to forward the request",
"type" : "string"
},
"merchantAccount" : {
"description" : "The merchant account code",
"type" : "string"
},
"request" : {
"description" : "The details of the request to be sent",
"$ref" : "#/components/schemas/OutgoingForwardRequest"
},
"shopperReference" : {
"description" : "The shopper reference",
"type" : "string"
},
"storedPaymentMethodId" : {
"description" : "This is the `recurringDetailReference` returned in the response when you created the token or it is passed by the account to find the existing recurring details",
"type" : "string"
}
},
"required" : [
"merchantAccount",
"shopperReference",
"storedPaymentMethodId",
"baseUrl",
"request"
],
"type" : "object"
},
"ForwardResponse" : {
"additionalProperties" : false,
"properties" : {
"response" : {
"description" : "The details of the from the forwarded party ",
"$ref" : "#/components/schemas/ThirdPartyForwardResponse"
},
"storedPaymentMethodId" : {
"description" : "Recurring Detail Reference",
"type" : "string"
}
},
"required" : [
"response"
],
"type" : "object"
},
"Name" : {
"additionalProperties" : false,
"properties" : {
Expand Down Expand Up @@ -1149,44 +1005,6 @@
},
"type" : "object"
},
"OutgoingForwardRequest" : {
"additionalProperties" : false,
"properties" : {
"body" : {
"description" : "The body of the http request to be sent",
"type" : "string"
},
"credentials" : {
"description" : "The credentials needed to authenticate on the third party ",
"type" : "string"
},
"headers" : {
"additionalProperties" : {
"type" : "string"
},
"description" : "The headers that the request will be sent with. Supports the placeholder `{{credentials}}`",
"type" : "object"
},
"httpMethod" : {
"description" : "The http method that the request will be sent via",
"enum" : [
"POST",
"PUT",
"PATCH"
],
"type" : "string"
},
"urlSuffix" : {
"description" : "The path that the request will be sent to",
"type" : "string"
}
},
"required" : [
"httpMethod",
"body"
],
"type" : "object"
},
"Permit" : {
"additionalProperties" : false,
"properties" : {
Expand Down Expand Up @@ -1529,28 +1347,6 @@
},
"type" : "object"
},
"ThirdPartyForwardResponse" : {
"additionalProperties" : false,
"properties" : {
"body" : {
"description" : "Body of the response from the forwarded party",
"type" : "string"
},
"headers" : {
"additionalProperties" : {
"type" : "string"
},
"description" : "Http headers of the response from the forwarded party",
"type" : "object"
},
"status" : {
"description" : "Http status of the response from the forwarded party",
"format" : "int32",
"type" : "integer"
}
},
"type" : "object"
},
"TokenDetails" : {
"additionalProperties" : false,
"properties" : {
Expand Down
140 changes: 0 additions & 140 deletions yaml/RecurringService-v68.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -203,62 +203,6 @@ paths:
schema:
$ref: '#/components/schemas/ServiceError'
description: Internal Server Error - the server could not process the request.
/forward:
post:
tags:
- General
summary: Ask 3rd party processor to process the request and send back the response
description: Validates a forward request with RDR and sends the specified request
to the 3rd party processor so they can send the response back.
x-addedInVersion: '68'
operationId: post-forward
x-sortIndex: 0
x-methodName: forward
security:
- BasicAuth: []
- ApiKeyAuth: []
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/ForwardRequest'
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/ForwardResponse'
description: OK - the request has succeeded.
'400':
content:
application/json:
schema:
$ref: '#/components/schemas/ServiceError'
description: Bad Request - a problem reading or understanding the request.
'401':
content:
application/json:
schema:
$ref: '#/components/schemas/ServiceError'
description: Unauthorized - authentication required.
'403':
content:
application/json:
schema:
$ref: '#/components/schemas/ServiceError'
description: Forbidden - insufficient permissions to process the request.
'422':
content:
application/json:
schema:
$ref: '#/components/schemas/ServiceError'
description: Unprocessable Entity - a request validation error.
'500':
content:
application/json:
schema:
$ref: '#/components/schemas/ServiceError'
description: Internal Server Error - the server could not process the request.
/listRecurringDetails:
post:
tags:
Expand Down Expand Up @@ -744,45 +688,6 @@ components:
request, result is either [detail-successfully-disabled] or [all-details-successfully-disabled].
type: string
type: object
ForwardRequest:
additionalProperties: false
properties:
baseUrl:
description: The base url to forward the request
type: string
merchantAccount:
description: The merchant account code
type: string
request:
description: The details of the request to be sent
$ref: '#/components/schemas/OutgoingForwardRequest'
shopperReference:
description: The shopper reference
type: string
storedPaymentMethodId:
description: This is the `recurringDetailReference` returned in the response
when you created the token or it is passed by the account to find the
existing recurring details
type: string
required:
- merchantAccount
- shopperReference
- storedPaymentMethodId
- baseUrl
- request
type: object
ForwardResponse:
additionalProperties: false
properties:
response:
description: 'The details of the from the forwarded party '
$ref: '#/components/schemas/ThirdPartyForwardResponse'
storedPaymentMethodId:
description: Recurring Detail Reference
type: string
required:
- response
type: object
Name:
additionalProperties: false
properties:
Expand Down Expand Up @@ -872,35 +777,6 @@ components:
when token was created
type: string
type: object
OutgoingForwardRequest:
additionalProperties: false
properties:
body:
description: The body of the http request to be sent
type: string
credentials:
description: 'The credentials needed to authenticate on the third party '
type: string
headers:
additionalProperties:
type: string
description: The headers that the request will be sent with. Supports the
placeholder `{{credentials}}`
type: object
httpMethod:
description: The http method that the request will be sent via
enum:
- POST
- PUT
- PATCH
type: string
urlSuffix:
description: The path that the request will be sent to
type: string
required:
- httpMethod
- body
type: object
Permit:
additionalProperties: false
properties:
Expand Down Expand Up @@ -1220,22 +1096,6 @@ components:
format: int32
type: integer
type: object
ThirdPartyForwardResponse:
additionalProperties: false
properties:
body:
description: Body of the response from the forwarded party
type: string
headers:
additionalProperties:
type: string
description: Http headers of the response from the forwarded party
type: object
status:
description: Http status of the response from the forwarded party
format: int32
type: integer
type: object
TokenDetails:
additionalProperties: false
properties:
Expand Down

0 comments on commit 99b1b0d

Please sign in to comment.