From 2600561657b3eaa57640a215f63dd2d8ff8b31cf Mon Sep 17 00:00:00 2001 From: Adyen Automation Date: Tue, 1 Nov 2022 13:49:39 +0000 Subject: [PATCH] spec release --- json/ManagementService-v1.json | 75 ++++++++++++++++++++++++++++++---- yaml/ManagementService-v1.yaml | 70 +++++++++++++++++++++++++++---- 2 files changed, 131 insertions(+), 14 deletions(-) diff --git a/json/ManagementService-v1.json b/json/ManagementService-v1.json index 37b462c..ff40353 100644 --- a/json/ManagementService-v1.json +++ b/json/ManagementService-v1.json @@ -10,7 +10,7 @@ "x-publicVersion" : true, "title" : "Management API", "description" : "Configure and manage your Adyen company and merchant accounts, stores, and payment terminals.\n## Authentication\nEach request to the Management API must be signed with an API key. [Generate your API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key) in the Customer Area and then set this key to the `X-API-Key` header value.\n\nTo access the live endpoints, you need to generate a new API key in your live Customer Area.\n## Versioning\n\nManagement API handles versioning as part of the endpoint URL. For example, to send a request to version 1 of the `/companies/{companyId}/webhooks` endpoint, use:\n\n```text\nhttps://management-test.adyen.com/v1/companies/{companyId}/webhooks\n```\n\n## Going live\n\nTo access the live endpoints, you need an API key from your live Customer Area. Use this API key to make requests to:\n\n```text\nhttps://management-live.adyen.com/v1\n```", - "x-timestamp" : "2022-10-11T13:26:53Z", + "x-timestamp" : "2022-10-24T15:27:20Z", "termsOfService" : "https://www.adyen.com/legal/terms-and-conditions", "contact" : { "name" : "Adyen Developer Experience team", @@ -14076,7 +14076,7 @@ "ApplePayInfo" : { "properties" : { "domains" : { - "description" : "The list of merchant domains. For more information, see [Apple Pay documentation](https://docs.adyen.com/payment-methods/apple-pay/enable-apple-pay#register-merchant-domain).", + "description" : "The list of merchant domains. Maximum: 99 domains per request.\n\nFor more information, see [Apple Pay documentation](https://docs.adyen.com/payment-methods/apple-pay/web-drop-in?tab=adyen-certificate-live_1#going-live).", "items" : { "type" : "string" }, @@ -14349,14 +14349,10 @@ }, "sources" : { "description" : "Funding source. Possible values:\n* **Credit**\n* **Debit**", - "enum" : [ - "Debit", - "Credit" - ], "items" : { "type" : "string" }, - "type" : "string" + "type" : "array" } }, "required" : [ @@ -15271,6 +15267,19 @@ "supportEmail" ] }, + "GooglePayInfo" : { + "properties" : { + "merchantId" : { + "description" : "GooglePay Merchant ID. Character length and limitations: 16 alphanumeric characters or 20 numeric characters.", + "maxLength" : 20, + "minLength" : 16, + "type" : "string" + } + }, + "required" : [ + "merchantId" + ] + }, "Gratuity" : { "properties" : { "allowCustomAmount" : { @@ -16064,6 +16073,10 @@ "description" : "giropay details.", "$ref" : "#/components/schemas/GiroPayInfo" }, + "googlePay" : { + "description" : "Google Pay details.", + "$ref" : "#/components/schemas/GooglePayInfo" + }, "id" : { "description" : "The identifier of the resource.", "type" : "string" @@ -16133,6 +16146,49 @@ "description" : "Total number of pages.", "format" : "int32", "type" : "integer" + }, + "typesWithErrors" : { + "description" : "Payment method types with errors.", + "items" : { + "enum" : [ + "alipay", + "amex", + "applepay", + "bcmc", + "blik", + "cartebancaire", + "cup", + "diners", + "directEbanking", + "directdebit_GB", + "discover", + "ebanking_FI", + "eftpos_australia", + "girocard", + "giropay", + "googlepay", + "ideal", + "interac_card", + "jcb", + "klarna", + "klarna_account", + "klarna_paynow", + "maestro", + "mbway", + "mc", + "mobilepay", + "multibanco", + "paypal", + "payshop", + "swish", + "trustly", + "visa", + "wechatpay", + "wechatpay_pos" + ], + "type" : "string" + }, + "type" : "array" } }, "required" : [ @@ -16176,6 +16232,10 @@ "description" : "giropay details.", "$ref" : "#/components/schemas/GiroPayInfo" }, + "googlePay" : { + "description" : "Google Pay details.", + "$ref" : "#/components/schemas/GooglePayInfo" + }, "klarna" : { "description" : "Klarna details.", "$ref" : "#/components/schemas/KlarnaInfo" @@ -16224,6 +16284,7 @@ "eftpos_australia", "girocard", "giropay", + "googlepay", "ideal", "interac_card", "jcb", diff --git a/yaml/ManagementService-v1.yaml b/yaml/ManagementService-v1.yaml index a60715c..1122bdb 100644 --- a/yaml/ManagementService-v1.yaml +++ b/yaml/ManagementService-v1.yaml @@ -45,7 +45,7 @@ info: https://management-live.adyen.com/v1 ```' - x-timestamp: '2022-10-11T13:26:53Z' + x-timestamp: '2022-10-24T15:27:20Z' termsOfService: https://www.adyen.com/legal/terms-and-conditions contact: name: Adyen Developer Experience team @@ -9256,8 +9256,10 @@ components: ApplePayInfo: properties: domains: - description: The list of merchant domains. For more information, see [Apple - Pay documentation](https://docs.adyen.com/payment-methods/apple-pay/enable-apple-pay#register-merchant-domain). + description: 'The list of merchant domains. Maximum: 99 domains per request. + + + For more information, see [Apple Pay documentation](https://docs.adyen.com/payment-methods/apple-pay/web-drop-in?tab=adyen-certificate-live_1#going-live).' items: type: string type: array @@ -9494,12 +9496,9 @@ components: * **Credit** * **Debit**' - enum: - - Debit - - Credit items: type: string - type: string + type: array required: - brand - currencies @@ -10430,6 +10429,16 @@ components: type: string required: - supportEmail + GooglePayInfo: + properties: + merchantId: + description: 'GooglePay Merchant ID. Character length and limitations: 16 + alphanumeric characters or 20 numeric characters.' + maxLength: 20 + minLength: 16 + type: string + required: + - merchantId Gratuity: properties: allowCustomAmount: @@ -11080,6 +11089,9 @@ components: giroPay: description: giropay details. $ref: '#/components/schemas/GiroPayInfo' + googlePay: + description: Google Pay details. + $ref: '#/components/schemas/GooglePayInfo' id: description: The identifier of the resource. type: string @@ -11141,6 +11153,46 @@ components: description: Total number of pages. format: int32 type: integer + typesWithErrors: + description: Payment method types with errors. + items: + enum: + - alipay + - amex + - applepay + - bcmc + - blik + - cartebancaire + - cup + - diners + - directEbanking + - directdebit_GB + - discover + - ebanking_FI + - eftpos_australia + - girocard + - giropay + - googlepay + - ideal + - interac_card + - jcb + - klarna + - klarna_account + - klarna_paynow + - maestro + - mbway + - mc + - mobilepay + - multibanco + - paypal + - payshop + - swish + - trustly + - visa + - wechatpay + - wechatpay_pos + type: string + type: array required: - itemsTotal - pagesTotal @@ -11173,6 +11225,9 @@ components: giroPay: description: giropay details. $ref: '#/components/schemas/GiroPayInfo' + googlePay: + description: Google Pay details. + $ref: '#/components/schemas/GooglePayInfo' klarna: description: Klarna details. $ref: '#/components/schemas/KlarnaInfo' @@ -11220,6 +11275,7 @@ components: - eftpos_australia - girocard - giropay + - googlepay - ideal - interac_card - jcb