mirror of
https://github.com/gcatanese/adyen-openapi.git
synced 2026-03-10 08:01:24 +00:00
spec release
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
{
|
||||
"openapi" : "3.1.0",
|
||||
"servers" : [ {
|
||||
"url" : "https://authe-live.adyen.com/authe/api/v1",
|
||||
"description" : "Live Environment"
|
||||
}, {
|
||||
"url" : "https://test.adyen.com/authe/api/v1",
|
||||
"description" : "Test Environment"
|
||||
}, {
|
||||
"url" : "https://authe-live.adyen.com/authe/api/v1",
|
||||
"description" : "Live Environment"
|
||||
} ],
|
||||
"info" : {
|
||||
"title" : "Session authentication API",
|
||||
@@ -16,7 +16,7 @@
|
||||
"url" : "https://github.com/Adyen/adyen-openapi"
|
||||
},
|
||||
"version" : "1",
|
||||
"x-timestamp" : "2024-10-17T10:29:09Z"
|
||||
"x-timestamp" : "2024-12-10T11:26:50Z"
|
||||
},
|
||||
"tags" : [ {
|
||||
"name" : "Session authentication"
|
||||
@@ -32,7 +32,7 @@
|
||||
"content" : {
|
||||
"application/json" : {
|
||||
"schema" : {
|
||||
"$ref" : "#/components/schemas/SessionRequest"
|
||||
"$ref" : "#/components/schemas/AuthenticationSessionRequest"
|
||||
},
|
||||
"examples" : {
|
||||
"create-session-platform" : {
|
||||
@@ -76,7 +76,7 @@
|
||||
"content" : {
|
||||
"application/json" : {
|
||||
"schema" : {
|
||||
"$ref" : "#/components/schemas/SessionResponse"
|
||||
"$ref" : "#/components/schemas/AuthenticationSessionResponse"
|
||||
},
|
||||
"examples" : {
|
||||
"create-session-platform" : {
|
||||
@@ -174,6 +174,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"x-methodName" : "createAuthenticationSession",
|
||||
"x-sortIndex" : 0
|
||||
}
|
||||
}
|
||||
@@ -195,6 +196,24 @@
|
||||
}
|
||||
} ]
|
||||
},
|
||||
"AuthenticationSessionRequest" : {
|
||||
"required" : [ "allowOrigin", "policy", "product" ],
|
||||
"type" : "object",
|
||||
"properties" : {
|
||||
"allowOrigin" : {
|
||||
"type" : "string",
|
||||
"description" : "The URL where the component will appear. In your live environment, you must protect the URL with an SSL certificate and ensure that it starts with `https://`."
|
||||
},
|
||||
"policy" : {
|
||||
"description" : "An object that contains a description of the allowed resources and roles for the requested session.",
|
||||
"$ref" : "#/components/schemas/Policy"
|
||||
},
|
||||
"product" : {
|
||||
"description" : "The type of component.\n\nFor [Onboarding components](https://docs.adyen.com/platforms/onboard-users/components), set this to **onboarding**.\n\nFor [Platform Experience components](https://docs.adyen.com/platforms/build-user-dashboards), set this to **platform**.",
|
||||
"$ref" : "#/components/schemas/ProductType"
|
||||
}
|
||||
}
|
||||
},
|
||||
"BalanceAccountResource" : {
|
||||
"required" : [ "balanceAccountId" ],
|
||||
"type" : "object",
|
||||
@@ -299,25 +318,7 @@
|
||||
"type" : "string",
|
||||
"enum" : [ "legalEntity", "balanceAccount", "accountHolder", "merchantAccount", "paymentInstrument" ]
|
||||
},
|
||||
"SessionRequest" : {
|
||||
"required" : [ "allowOrigin", "policy", "product" ],
|
||||
"type" : "object",
|
||||
"properties" : {
|
||||
"allowOrigin" : {
|
||||
"type" : "string",
|
||||
"description" : "The URL where the component will appear. In your live environment, you must protect the URL with an SSL certificate and ensure that it starts with `https://`."
|
||||
},
|
||||
"policy" : {
|
||||
"description" : "An object that contains a description of the allowed resources and roles for the requested session.",
|
||||
"$ref" : "#/components/schemas/Policy"
|
||||
},
|
||||
"product" : {
|
||||
"description" : "The type of component.\n\nFor [Onboarding components](https://docs.adyen.com/platforms/onboard-users/components), set this to **onboarding**.\n\nFor [Platform Experience components](https://docs.adyen.com/platforms/build-user-dashboards), set this to **platform**.",
|
||||
"$ref" : "#/components/schemas/ProductType"
|
||||
}
|
||||
}
|
||||
},
|
||||
"SessionResponse" : {
|
||||
"AuthenticationSessionResponse" : {
|
||||
"type" : "object",
|
||||
"properties" : {
|
||||
"id" : {
|
||||
|
||||
Reference in New Issue
Block a user