diff --git a/json/ManagementNotificationService-v1.json b/json/ManagementNotificationService-v1.json index d3256f6f..a56b0944 100644 --- a/json/ManagementNotificationService-v1.json +++ b/json/ManagementNotificationService-v1.json @@ -56,11 +56,6 @@ "200" : { "content" : { "application/json" : { - "examples" : { - "merchant.created" : { - "$ref" : "#/components/examples/WebhookAck" - } - }, "schema" : { "$ref" : "#/components/schemas/AccountNotificationResponse" } @@ -109,14 +104,6 @@ "200" : { "content" : { "application/json" : { - "examples" : { - "merchant-updated-valid" : { - "$ref" : "#/components/examples/WebhookAck" - }, - "merchant-updated-with-errors" : { - "$ref" : "#/components/examples/WebhookAck" - } - }, "schema" : { "$ref" : "#/components/schemas/AccountNotificationResponse" } @@ -162,11 +149,6 @@ "200" : { "content" : { "application/json" : { - "examples" : { - "paymentMethod.created" : { - "$ref" : "#/components/examples/WebhookAck" - } - }, "schema" : { "$ref" : "#/components/schemas/PaymentMethodNotificationResponse" } @@ -616,12 +598,6 @@ } }, "examples" : { - "WebhookAck" : { - "summary" : "Acknowledge Webhook", - "value" : { - "notificationResponse" : "[accepted]" - } - }, "post-merchant.created-merchant.created" : { "summary" : "Merchant account created", "description" : "Example webhook when a merchant account was created", diff --git a/json/ManagementNotificationService-v3.json b/json/ManagementNotificationService-v3.json index 8f794237..9a3d0a38 100644 --- a/json/ManagementNotificationService-v3.json +++ b/json/ManagementNotificationService-v3.json @@ -56,11 +56,6 @@ "200" : { "content" : { "application/json" : { - "examples" : { - "merchant.created" : { - "$ref" : "#/components/examples/WebhookAck" - } - }, "schema" : { "$ref" : "#/components/schemas/AccountNotificationResponse" } @@ -109,14 +104,6 @@ "200" : { "content" : { "application/json" : { - "examples" : { - "merchant-updated-valid" : { - "$ref" : "#/components/examples/WebhookAck" - }, - "merchant-updated-with-errors" : { - "$ref" : "#/components/examples/WebhookAck" - } - }, "schema" : { "$ref" : "#/components/schemas/AccountNotificationResponse" } @@ -162,11 +149,6 @@ "200" : { "content" : { "application/json" : { - "examples" : { - "paymentMethod.created" : { - "$ref" : "#/components/examples/WebhookAck" - } - }, "schema" : { "$ref" : "#/components/schemas/PaymentMethodNotificationResponse" } @@ -212,11 +194,6 @@ "200" : { "content" : { "application/json" : { - "examples" : { - "paymentMethod.requestRemoved" : { - "$ref" : "#/components/examples/WebhookAck" - } - }, "schema" : { "$ref" : "#/components/schemas/PaymentMethodNotificationResponse" } @@ -262,11 +239,6 @@ "200" : { "content" : { "application/json" : { - "examples" : { - "paymentMethod.requestScheduledForRemoval" : { - "$ref" : "#/components/examples/WebhookAck" - } - }, "schema" : { "$ref" : "#/components/schemas/PaymentMethodNotificationResponse" } @@ -782,12 +754,6 @@ } }, "examples" : { - "WebhookAck" : { - "summary" : "Acknowledge Webhook", - "value" : { - "notificationResponse" : "[accepted]" - } - }, "post-merchant.created-merchant.created" : { "summary" : "Merchant account created", "description" : "Example webhook when a merchant account was created", diff --git a/json/ManagementService-v1.json b/json/ManagementService-v1.json index ab79242f..dbe20b2b 100644 --- a/json/ManagementService-v1.json +++ b/json/ManagementService-v1.json @@ -7376,6 +7376,16 @@ }, "description" : "Unprocessable Entity - a request validation error." }, + "429" : { + "content" : { + "application/json" : { + "schema" : { + "$ref" : "#/components/schemas/RestServiceError" + } + } + }, + "description" : "" + }, "500" : { "content" : { "application/json" : { @@ -7497,6 +7507,16 @@ }, "description" : "Unprocessable Entity - a request validation error." }, + "429" : { + "content" : { + "application/json" : { + "schema" : { + "$ref" : "#/components/schemas/RestServiceError" + } + } + }, + "description" : "" + }, "500" : { "content" : { "application/json" : { @@ -7604,6 +7624,16 @@ }, "description" : "Unprocessable Entity - a request validation error." }, + "429" : { + "content" : { + "application/json" : { + "schema" : { + "$ref" : "#/components/schemas/RestServiceError" + } + } + }, + "description" : "" + }, "500" : { "content" : { "application/json" : { @@ -7718,6 +7748,16 @@ }, "description" : "Unprocessable Entity - a request validation error." }, + "429" : { + "content" : { + "application/json" : { + "schema" : { + "$ref" : "#/components/schemas/RestServiceError" + } + } + }, + "description" : "" + }, "500" : { "content" : { "application/json" : { @@ -7829,6 +7869,16 @@ }, "description" : "Unprocessable Entity - a request validation error." }, + "429" : { + "content" : { + "application/json" : { + "schema" : { + "$ref" : "#/components/schemas/RestServiceError" + } + } + }, + "description" : "" + }, "500" : { "content" : { "application/json" : { @@ -17361,10 +17411,12 @@ "properties" : { "firstName" : { "description" : "The first name.", + "maxLength" : 80, "type" : "string" }, "lastName" : { "description" : "The last name.", + "maxLength" : 80, "type" : "string" } }, @@ -17378,10 +17430,12 @@ "properties" : { "firstName" : { "description" : "The first name.", + "maxLength" : 80, "type" : "string" }, "lastName" : { "description" : "The last name.", + "maxLength" : 80, "type" : "string" } }, @@ -17424,7 +17478,8 @@ "description" : "The type of event notification sent when you select the notification button.", "enum" : [ "SaleWakeUp", - "KeyPressed" + "KeyPressed", + "" ], "type" : "string" }, @@ -17599,6 +17654,7 @@ "Cash", "Card" ], + "nullable" : true, "type" : "string" } }, @@ -19272,6 +19328,15 @@ }, "type" : "object" }, + "TerminalInstructions" : { + "properties" : { + "adyenAppRestart" : { + "description" : "Indicates whether the Adyen app on the payment terminal restarts automatically when the configuration is updated.", + "type" : "boolean" + } + }, + "type" : "object" + }, "TerminalModelsResponse" : { "properties" : { "data" : { @@ -19499,6 +19564,10 @@ "description" : "Settings for Tap to Pay.", "$ref" : "#/components/schemas/TapToPay" }, + "terminalInstructions" : { + "description" : "Settings to define the behaviour of the payment terminal.", + "$ref" : "#/components/schemas/TerminalInstructions" + }, "timeouts" : { "description" : "Settings for device [time-outs](https://docs.adyen.com/point-of-sale/pos-timeouts#device-time-out).", "$ref" : "#/components/schemas/Timeouts" @@ -24451,7 +24520,6 @@ "summary" : "Update a terminal order", "description" : "Example request to update an order for terminal products", "value" : { - "shippingLocation" : "S2-7973536B20662642215526704F302044452F714622375D476169", "items" : [ { "id" : "TBOX-V400m-684-EU", @@ -25664,7 +25732,6 @@ "summary" : "Update a terminal order", "description" : "Example request to update an order for terminal products", "value" : { - "shippingLocation" : "S2-73536B20665526704F30792642212044452F714622375D477270", "items" : [ { "id" : "TBOX-V400m-684-EU", @@ -27175,7 +27242,6 @@ "id" : "S2-5C334C6770", "name" : { "firstName" : "John", - "gender" : "UNKNOWN", "lastName" : "Smith" }, "email" : "john.smith@example.com", @@ -27354,7 +27420,7 @@ "data" : [ { "merchantId" : "YOUR_MERCHANT_ACCOUNT_AU", - "output" : "[accepted]", + "output" : "", "requestSent" : "{\"live\":\"false\",\"notificationItems\":[{\"NotificationRequestItem\":{\"amount\":{\"currency\":\"EUR\",\"value\":100},\"eventCode\":\"AUTHORISATION\",\"eventDate\":\"2022-05-10T16:57:19+02:00\",\"merchantAccountCode\":\"YOUR_MERCHANT_ACCOUNT_AU\",\"merchantReference\":\"6GZBF5ML\",\"operations\":[\"CANCEL\",\"CAPTURE\",\"REFUND\"],\"paymentMethod\":\"visa\",\"pspReference\":\"KDN7UP7S1JIK6XES\",\"reason\":\"\",\"success\":\"true\"}}]}", "responseCode" : "200", "responseTime" : "657 ms", @@ -27362,7 +27428,7 @@ }, { "merchantId" : "YOUR_MERCHANT_ACCOUNT_EU", - "output" : "[accepted]", + "output" : "", "requestSent" : "{\"live\":\"false\",\"notificationItems\":[{\"NotificationRequestItem\":{\"amount\":{\"currency\":\"EUR\",\"value\":100},\"eventCode\":\"AUTHORISATION\",\"eventDate\":\"2022-05-10T16:57:19+02:00\",\"merchantAccountCode\":\"YOUR_MERCHANT_ACCOUNT_EU\",\"merchantReference\":\"6GZBF5ML\",\"operations\":[\"CANCEL\",\"CAPTURE\",\"REFUND\"],\"paymentMethod\":\"visa\",\"pspReference\":\"KDN7UP7S1JIK6XES\",\"reason\":\"\",\"success\":\"true\"}}]}", "responseCode" : "200", "responseTime" : "590 ms", @@ -27370,7 +27436,7 @@ }, { "merchantId" : "YOUR_MERCHANT_ACCOUNT_US", - "output" : "[accepted]", + "output" : "", "requestSent" : "{\"live\":\"false\",\"notificationItems\":[{\"NotificationRequestItem\":{\"amount\":{\"currency\":\"EUR\",\"value\":100},\"eventCode\":\"AUTHORISATION\",\"eventDate\":\"2022-05-10T16:57:19+02:00\",\"merchantAccountCode\":\"YOUR_MERCHANT_ACCOUNT_US\",\"merchantReference\":\"6GZBF5ML\",\"operations\":[\"CANCEL\",\"CAPTURE\",\"REFUND\"],\"paymentMethod\":\"visa\",\"pspReference\":\"KDN7UP7S1JIK6XES\",\"reason\":\"\",\"success\":\"true\"}}]}", "responseCode" : "200", "responseTime" : "248 ms", @@ -27390,7 +27456,6 @@ "summary" : "OK 200 - Add an allowed origin for the API credential", "description" : "Example response for adding an allowed origin for the API credential.", "value" : { - "id" : "YOUR_ALLOWED_ORIGIN", "domain" : "https://www.eu.mystore.com", "_links" : { "self" : { @@ -27906,9 +27971,6 @@ "timeZoneCode" : "Europe/Amsterdam", "roles" : [ "Merchant standard role" - ], - "associatedMerchantAccounts" : [ - "YOUR_MERCHANT_ACCOUNT" ] } }, @@ -27919,7 +27981,6 @@ "id" : "S2-3B3C3C3B22", "name" : { "firstName" : "John", - "gender" : "UNKNOWN", "lastName" : "Smith" }, "email" : "john.smith@example.com", @@ -27933,10 +27994,7 @@ "self" : { "href" : "https://management-test.adyen.com/v1/merchants/YOUR_MERCHANT_ACCOUNT/users/S2-3B3C3C3B22" } - }, - "associatedMerchantAccounts" : [ - "YOUR_MERCHANT_ACCOUNT" - ] + } } }, "post-merchants-merchantId-webhooks-post-merchant-webhook" : { @@ -28089,7 +28147,7 @@ "data" : [ { "merchantId" : "YOUR_MERCHANT_ACCOUNT", - "output" : "[accepted]", + "output" : "", "requestSent" : "{\"live\":\"false\",\"notificationItems\":[{\"NotificationRequestItem\":{\"amount\":{\"currency\":\"EUR\",\"value\":100},\"eventCode\":\"AUTHORISATION\",\"eventDate\":\"2022-05-10T17:02:03+02:00\",\"merchantAccountCode\":\"YOUR_MERCHANT_ACCOUNT\",\"merchantReference\":\"4TZLD23Y\",\"operations\":[\"CANCEL\",\"CAPTURE\",\"REFUND\"],\"paymentMethod\":\"visa\",\"pspReference\":\"E05WW50L6IOBRGA0\",\"reason\":\"\",\"success\":\"true\"}}]}", "responseCode" : "200", "responseTime" : "532 ms", diff --git a/json/ManagementService-v3.json b/json/ManagementService-v3.json index e32b903c..74b53058 100644 --- a/json/ManagementService-v3.json +++ b/json/ManagementService-v3.json @@ -7470,6 +7470,16 @@ }, "description" : "Unprocessable Entity - a request validation error." }, + "429" : { + "content" : { + "application/json" : { + "schema" : { + "$ref" : "#/components/schemas/RestServiceError" + } + } + }, + "description" : "" + }, "500" : { "content" : { "application/json" : { @@ -7505,11 +7515,11 @@ "content" : { "application/json" : { "examples" : { - "01.add-payment-method-visa" : { - "$ref" : "#/components/examples/post-merchants-merchantId-paymentMethodSettings-01.add-payment-method-visa" + "add-payment-method" : { + "$ref" : "#/components/examples/post-merchants-merchantId-paymentMethodSettings-add-payment-method" }, - "02.add-payment-method-partner-model" : { - "$ref" : "#/components/examples/post-merchants-merchantId-paymentMethodSettings-02.add-payment-method-partner-model" + "add-payment-method-partner-model" : { + "$ref" : "#/components/examples/post-merchants-merchantId-paymentMethodSettings-add-payment-method-partner-model" } }, "schema" : { @@ -7534,11 +7544,11 @@ "content" : { "application/json" : { "examples" : { - "01.add-payment-method-visa" : { - "$ref" : "#/components/examples/post-merchants-merchantId-paymentMethodSettings-01.add-payment-method-visa-200" + "add-payment-method" : { + "$ref" : "#/components/examples/post-merchants-merchantId-paymentMethodSettings-add-payment-method-200" }, - "02.add-payment-method-partner-model" : { - "$ref" : "#/components/examples/post-merchants-merchantId-paymentMethodSettings-02.add-payment-method-partner-model-200" + "add-payment-method-partner-model" : { + "$ref" : "#/components/examples/post-merchants-merchantId-paymentMethodSettings-add-payment-method-partner-model-200" } }, "schema" : { @@ -7591,6 +7601,16 @@ }, "description" : "Unprocessable Entity - a request validation error." }, + "429" : { + "content" : { + "application/json" : { + "schema" : { + "$ref" : "#/components/schemas/RestServiceError" + } + } + }, + "description" : "" + }, "500" : { "content" : { "application/json" : { @@ -7698,6 +7718,16 @@ }, "description" : "Unprocessable Entity - a request validation error." }, + "429" : { + "content" : { + "application/json" : { + "schema" : { + "$ref" : "#/components/schemas/RestServiceError" + } + } + }, + "description" : "" + }, "500" : { "content" : { "application/json" : { @@ -7812,6 +7842,16 @@ }, "description" : "Unprocessable Entity - a request validation error." }, + "429" : { + "content" : { + "application/json" : { + "schema" : { + "$ref" : "#/components/schemas/RestServiceError" + } + } + }, + "description" : "" + }, "500" : { "content" : { "application/json" : { @@ -7923,6 +7963,16 @@ }, "description" : "Unprocessable Entity - a request validation error." }, + "429" : { + "content" : { + "application/json" : { + "schema" : { + "$ref" : "#/components/schemas/RestServiceError" + } + } + }, + "description" : "" + }, "500" : { "content" : { "application/json" : { @@ -17548,10 +17598,12 @@ "properties" : { "firstName" : { "description" : "The first name.", + "maxLength" : 80, "type" : "string" }, "lastName" : { "description" : "The last name.", + "maxLength" : 80, "type" : "string" } }, @@ -17565,10 +17617,12 @@ "properties" : { "firstName" : { "description" : "The first name.", + "maxLength" : 80, "type" : "string" }, "lastName" : { "description" : "The last name.", + "maxLength" : 80, "type" : "string" } }, @@ -17611,7 +17665,8 @@ "description" : "The type of event notification sent when you select the notification button.", "enum" : [ "SaleWakeUp", - "KeyPressed" + "KeyPressed", + "" ], "type" : "string" }, @@ -17786,6 +17841,7 @@ "Cash", "Card" ], + "nullable" : true, "type" : "string" } }, @@ -19499,6 +19555,15 @@ }, "type" : "object" }, + "TerminalInstructions" : { + "properties" : { + "adyenAppRestart" : { + "description" : "Indicates whether the Adyen app on the payment terminal restarts automatically when the configuration is updated.", + "type" : "boolean" + } + }, + "type" : "object" + }, "TerminalModelsResponse" : { "properties" : { "data" : { @@ -19771,6 +19836,10 @@ "description" : "Settings for Tap to Pay.", "$ref" : "#/components/schemas/TapToPay" }, + "terminalInstructions" : { + "description" : "Settings to define the behaviour of the payment terminal.", + "$ref" : "#/components/schemas/TerminalInstructions" + }, "timeouts" : { "description" : "Settings for device [time-outs](https://docs.adyen.com/point-of-sale/pos-timeouts#device-time-out).", "$ref" : "#/components/schemas/Timeouts" @@ -22268,7 +22337,6 @@ "hasPassword" : true, "active" : true, "hasError" : false, - "sslVersion" : "TLSv1.2", "communicationFormat" : "json", "acceptsExpiredCertificate" : false, "acceptsSelfSignedCertificate" : false, @@ -22370,7 +22438,6 @@ "hasPassword" : true, "active" : true, "hasError" : false, - "sslVersion" : "TLSv1.2", "communicationFormat" : "json", "acceptsExpiredCertificate" : false, "acceptsSelfSignedCertificate" : false, @@ -23230,7 +23297,6 @@ "summary" : "Response code - 200 OK", "description" : "Example response when getting the details of a store", "value" : { - "storeId" : "ST322LJ223223K5F4SQNR9XL5", "address" : { "city" : "Springfield", "country" : "US", @@ -23846,7 +23912,6 @@ "hasPassword" : false, "active" : true, "hasError" : false, - "sslVersion" : "TLSv1.2", "communicationFormat" : "json", "acceptsExpiredCertificate" : false, "acceptsSelfSignedCertificate" : false, @@ -23947,7 +24012,6 @@ "hasPassword" : false, "active" : true, "hasError" : false, - "sslVersion" : "TLSv1.2", "communicationFormat" : "json", "acceptsExpiredCertificate" : false, "acceptsSelfSignedCertificate" : false, @@ -24738,7 +24802,6 @@ "summary" : "Update a terminal order", "description" : "Example request to update an order for terminal products", "value" : { - "shippingLocation" : "S2-7973536B20662642215526704F302044452F714622375D476169", "items" : [ { "id" : "TBOX-V400m-684-EU", @@ -25155,7 +25218,6 @@ "hasPassword" : false, "active" : true, "hasError" : false, - "sslVersion" : "TLSv1.2", "communicationFormat" : "json", "acceptsExpiredCertificate" : false, "acceptsSelfSignedCertificate" : false, @@ -25951,7 +26013,6 @@ "summary" : "Update a terminal order", "description" : "Example request to update an order for terminal products", "value" : { - "shippingLocation" : "S2-73536B20665526704F30792642212044452F714622375D477270", "items" : [ { "id" : "TBOX-V400m-684-EU", @@ -26327,7 +26388,6 @@ "hasPassword" : false, "active" : true, "hasError" : false, - "sslVersion" : "TLSv1.2", "communicationFormat" : "json", "acceptsExpiredCertificate" : false, "acceptsSelfSignedCertificate" : false, @@ -27462,7 +27522,6 @@ "id" : "S2-5C334C6770", "name" : { "firstName" : "John", - "gender" : "UNKNOWN", "lastName" : "Smith" }, "email" : "john.smith@example.com", @@ -27492,7 +27551,6 @@ "username" : "YOUR_USER", "password" : "YOUR_PASSWORD", "active" : true, - "sslVersion" : "TLSv1.2", "communicationFormat" : "soap", "acceptsExpiredCertificate" : false, "acceptsSelfSignedCertificate" : true, @@ -27520,7 +27578,6 @@ "hasPassword" : true, "active" : true, "hasError" : false, - "sslVersion" : "TLSv1.2", "communicationFormat" : "soap", "acceptsExpiredCertificate" : false, "acceptsSelfSignedCertificate" : true, @@ -27641,7 +27698,7 @@ "data" : [ { "merchantId" : "YOUR_MERCHANT_ACCOUNT_AU", - "output" : "[accepted]", + "output" : "", "requestSent" : "{\"live\":\"false\",\"notificationItems\":[{\"NotificationRequestItem\":{\"amount\":{\"currency\":\"EUR\",\"value\":100},\"eventCode\":\"AUTHORISATION\",\"eventDate\":\"2022-05-10T16:57:19+02:00\",\"merchantAccountCode\":\"YOUR_MERCHANT_ACCOUNT_AU\",\"merchantReference\":\"6GZBF5ML\",\"operations\":[\"CANCEL\",\"CAPTURE\",\"REFUND\"],\"paymentMethod\":\"visa\",\"pspReference\":\"KDN7UP7S1JIK6XES\",\"reason\":\"\",\"success\":\"true\"}}]}", "responseCode" : "200", "responseTime" : "657 ms", @@ -27649,7 +27706,7 @@ }, { "merchantId" : "YOUR_MERCHANT_ACCOUNT_EU", - "output" : "[accepted]", + "output" : "", "requestSent" : "{\"live\":\"false\",\"notificationItems\":[{\"NotificationRequestItem\":{\"amount\":{\"currency\":\"EUR\",\"value\":100},\"eventCode\":\"AUTHORISATION\",\"eventDate\":\"2022-05-10T16:57:19+02:00\",\"merchantAccountCode\":\"YOUR_MERCHANT_ACCOUNT_EU\",\"merchantReference\":\"6GZBF5ML\",\"operations\":[\"CANCEL\",\"CAPTURE\",\"REFUND\"],\"paymentMethod\":\"visa\",\"pspReference\":\"KDN7UP7S1JIK6XES\",\"reason\":\"\",\"success\":\"true\"}}]}", "responseCode" : "200", "responseTime" : "590 ms", @@ -27657,7 +27714,7 @@ }, { "merchantId" : "YOUR_MERCHANT_ACCOUNT_US", - "output" : "[accepted]", + "output" : "", "requestSent" : "{\"live\":\"false\",\"notificationItems\":[{\"NotificationRequestItem\":{\"amount\":{\"currency\":\"EUR\",\"value\":100},\"eventCode\":\"AUTHORISATION\",\"eventDate\":\"2022-05-10T16:57:19+02:00\",\"merchantAccountCode\":\"YOUR_MERCHANT_ACCOUNT_US\",\"merchantReference\":\"6GZBF5ML\",\"operations\":[\"CANCEL\",\"CAPTURE\",\"REFUND\"],\"paymentMethod\":\"visa\",\"pspReference\":\"KDN7UP7S1JIK6XES\",\"reason\":\"\",\"success\":\"true\"}}]}", "responseCode" : "200", "responseTime" : "248 ms", @@ -27677,7 +27734,6 @@ "summary" : "OK 200 - Add an allowed origin for the API credential", "description" : "Example response for adding an allowed origin for the API credential.", "value" : { - "id" : "YOUR_ALLOWED_ORIGIN", "domain" : "https://www.eu.mystore.com", "_links" : { "self" : { @@ -27743,50 +27799,39 @@ "password" : "YOUR_PASSWORD" } }, - "post-merchants-merchantId-paymentMethodSettings-01.add-payment-method-visa" : { - "summary" : "Request to add Visa", - "description" : "Example request to add Visa as the payment method", + "post-merchants-merchantId-paymentMethodSettings-add-payment-method" : { + "summary" : "Request a payment method", + "description" : "Example request to add a payment method", "value" : { "type" : "visa", - "businessLineId" : "BL322KV223222D5F8H2J4BQ6C", - "storeIds" : [ - "ST322LJ223223K5F4SQNR9XL5" - ], "currencies" : [ - "EUR" + "USD" ], "countries" : [ - "NL" + "US" ] } }, - "post-merchants-merchantId-paymentMethodSettings-01.add-payment-method-visa-200" : { + "post-merchants-merchantId-paymentMethodSettings-add-payment-method-200" : { "summary" : "Response code - 200 OK", - "description" : "Example response after sending a request to add Visa as a payment method", + "description" : "Example response after sending a request to add a payment method", "value" : { - "businessLineId" : "BL322KV223222D5F8H2J4BQ6C", "id" : "PM3227C223224K5FH84M8CBNH", "type" : "visa", - "storeId" : "ST322LJ223223K5F4SQNR9XL5", - "enabled" : true, "countries" : [ - "NL" + "US" ], "currencies" : [ - "EUR" - ], - "allowed" : false, - "verificationStatus" : "pending" + "USD" + ] } }, - "post-merchants-merchantId-paymentMethodSettings-02.add-payment-method-partner-model" : { + "post-merchants-merchantId-paymentMethodSettings-add-payment-method-partner-model" : { "summary" : "Request to add Swish", "description" : "Example request to add Swish with a partner model setup", "value" : { "businessLineId" : "BL322KV223222D5F8H2J4BQ6C", - "storeIds" : [ - "ST322LJ223223K5F4SQNR9XL5" - ], + "storeId" : "ST322LJ223223K5F4SQNR9XL5", "type" : "swish", "swish" : { "swishNumber" : "1231111111" @@ -27799,15 +27844,13 @@ ] } }, - "post-merchants-merchantId-paymentMethodSettings-02.add-payment-method-partner-model-200" : { + "post-merchants-merchantId-paymentMethodSettings-add-payment-method-partner-model-200" : { "summary" : "Response code - 200 OK", "description" : "Example response after sending a request to add Swish in a partner model setup", "value" : { "id" : "PM3227C223224K5FH84M8CBNH", "businessLineId" : "BL322KV223222D5F8H2J4BQ6C", - "storeIds" : [ - "ST322LJ223223K5F4SQNR9XL5" - ], + "storeId" : "ST322LJ223223K5F4SQNR9XL5", "type" : "swish", "countries" : [ "SE" @@ -28206,9 +28249,6 @@ "timeZoneCode" : "Europe/Amsterdam", "roles" : [ "Merchant standard role" - ], - "associatedMerchantAccounts" : [ - "YOUR_MERCHANT_ACCOUNT" ] } }, @@ -28219,7 +28259,6 @@ "id" : "S2-3B3C3C3B22", "name" : { "firstName" : "John", - "gender" : "UNKNOWN", "lastName" : "Smith" }, "email" : "john.smith@example.com", @@ -28233,10 +28272,7 @@ "self" : { "href" : "https://management-test.adyen.com/v1/merchants/YOUR_MERCHANT_ACCOUNT/users/S2-3B3C3C3B22" } - }, - "associatedMerchantAccounts" : [ - "YOUR_MERCHANT_ACCOUNT" - ] + } } }, "post-merchants-merchantId-webhooks-post-merchant-webhook" : { @@ -28248,7 +28284,6 @@ "username" : "YOUR_USER", "password" : "YOUR_PASSWORD", "active" : true, - "sslVersion" : "TLSv1.2", "communicationFormat" : "json", "acceptsExpiredCertificate" : false, "acceptsSelfSignedCertificate" : true, @@ -28268,7 +28303,6 @@ "hasPassword" : true, "active" : true, "hasError" : false, - "sslVersion" : "TLSv1.2", "communicationFormat" : "json", "acceptsExpiredCertificate" : false, "acceptsSelfSignedCertificate" : true, @@ -28389,7 +28423,7 @@ "data" : [ { "merchantId" : "YOUR_MERCHANT_ACCOUNT", - "output" : "[accepted]", + "output" : "", "requestSent" : "{\"live\":\"false\",\"notificationItems\":[{\"NotificationRequestItem\":{\"amount\":{\"currency\":\"EUR\",\"value\":100},\"eventCode\":\"AUTHORISATION\",\"eventDate\":\"2022-05-10T17:02:03+02:00\",\"merchantAccountCode\":\"YOUR_MERCHANT_ACCOUNT\",\"merchantReference\":\"4TZLD23Y\",\"operations\":[\"CANCEL\",\"CAPTURE\",\"REFUND\"],\"paymentMethod\":\"visa\",\"pspReference\":\"E05WW50L6IOBRGA0\",\"reason\":\"\",\"success\":\"true\"}}]}", "responseCode" : "200", "responseTime" : "532 ms", @@ -28509,11 +28543,6 @@ "terminalId" : "S1F2-000150183300034" } ], - "terminalIds" : [ - "S1E-000150183300032", - "S1E-000150183300033", - "S1F2-000150183300034" - ], "terminalsWithErrors" : { }, @@ -28562,11 +28591,6 @@ "terminalId" : "S1F2-000150183300034" } ], - "terminalIds" : [ - "S1E-000150183300032", - "S1E-000150183300033", - "S1F2-000150183300034" - ], "terminalsWithErrors" : { }, diff --git a/yaml/ManagementNotificationService-v1.yaml b/yaml/ManagementNotificationService-v1.yaml index df720620..33b8fc84 100644 --- a/yaml/ManagementNotificationService-v1.yaml +++ b/yaml/ManagementNotificationService-v1.yaml @@ -47,9 +47,6 @@ webhooks: '200': content: application/json: - examples: - merchant.created: - $ref: '#/components/examples/WebhookAck' schema: $ref: '#/components/schemas/AccountNotificationResponse' description: OK - the request has succeeded. @@ -82,11 +79,6 @@ webhooks: '200': content: application/json: - examples: - merchant-updated-valid: - $ref: '#/components/examples/WebhookAck' - merchant-updated-with-errors: - $ref: '#/components/examples/WebhookAck' schema: $ref: '#/components/schemas/AccountNotificationResponse' description: OK - the request has succeeded. @@ -115,9 +107,6 @@ webhooks: '200': content: application/json: - examples: - paymentMethod.created: - $ref: '#/components/examples/WebhookAck' schema: $ref: '#/components/schemas/PaymentMethodNotificationResponse' description: OK - the request has succeeded. @@ -560,10 +549,6 @@ components: scheme: basic type: http examples: - WebhookAck: - summary: Acknowledge Webhook - value: - notificationResponse: '[accepted]' post-merchant.created-merchant.created: summary: Merchant account created description: Example webhook when a merchant account was created diff --git a/yaml/ManagementNotificationService-v3.yaml b/yaml/ManagementNotificationService-v3.yaml index 1e71f015..75c5dbcb 100644 --- a/yaml/ManagementNotificationService-v3.yaml +++ b/yaml/ManagementNotificationService-v3.yaml @@ -47,9 +47,6 @@ webhooks: '200': content: application/json: - examples: - merchant.created: - $ref: '#/components/examples/WebhookAck' schema: $ref: '#/components/schemas/AccountNotificationResponse' description: OK - the request has succeeded. @@ -82,11 +79,6 @@ webhooks: '200': content: application/json: - examples: - merchant-updated-valid: - $ref: '#/components/examples/WebhookAck' - merchant-updated-with-errors: - $ref: '#/components/examples/WebhookAck' schema: $ref: '#/components/schemas/AccountNotificationResponse' description: OK - the request has succeeded. @@ -115,9 +107,6 @@ webhooks: '200': content: application/json: - examples: - paymentMethod.created: - $ref: '#/components/examples/WebhookAck' schema: $ref: '#/components/schemas/PaymentMethodNotificationResponse' description: OK - the request has succeeded. @@ -146,9 +135,6 @@ webhooks: '200': content: application/json: - examples: - paymentMethod.requestRemoved: - $ref: '#/components/examples/WebhookAck' schema: $ref: '#/components/schemas/PaymentMethodNotificationResponse' description: OK - the request has succeeded. @@ -178,9 +164,6 @@ webhooks: '200': content: application/json: - examples: - paymentMethod.requestScheduledForRemoval: - $ref: '#/components/examples/WebhookAck' schema: $ref: '#/components/schemas/PaymentMethodNotificationResponse' description: OK - the request has succeeded. @@ -689,10 +672,6 @@ components: scheme: basic type: http examples: - WebhookAck: - summary: Acknowledge Webhook - value: - notificationResponse: '[accepted]' post-merchant.created-merchant.created: summary: Merchant account created description: Example webhook when a merchant account was created diff --git a/yaml/ManagementService-v1.yaml b/yaml/ManagementService-v1.yaml index 74f4535f..037329bf 100644 --- a/yaml/ManagementService-v1.yaml +++ b/yaml/ManagementService-v1.yaml @@ -4813,6 +4813,12 @@ paths: schema: $ref: '#/components/schemas/RestServiceError' description: Unprocessable Entity - a request validation error. + '429': + content: + application/json: + schema: + $ref: '#/components/schemas/RestServiceError' + description: '' '500': content: application/json: @@ -4889,6 +4895,12 @@ paths: schema: $ref: '#/components/schemas/RestServiceError' description: Unprocessable Entity - a request validation error. + '429': + content: + application/json: + schema: + $ref: '#/components/schemas/RestServiceError' + description: '' '500': content: application/json: @@ -4957,6 +4969,12 @@ paths: schema: $ref: '#/components/schemas/RestServiceError' description: Unprocessable Entity - a request validation error. + '429': + content: + application/json: + schema: + $ref: '#/components/schemas/RestServiceError' + description: '' '500': content: application/json: @@ -5029,6 +5047,12 @@ paths: schema: $ref: '#/components/schemas/RestServiceError' description: Unprocessable Entity - a request validation error. + '429': + content: + application/json: + schema: + $ref: '#/components/schemas/RestServiceError' + description: '' '500': content: application/json: @@ -5100,6 +5124,12 @@ paths: schema: $ref: '#/components/schemas/RestServiceError' description: Unprocessable Entity - a request validation error. + '429': + content: + application/json: + schema: + $ref: '#/components/schemas/RestServiceError' + description: '' '500': content: application/json: @@ -11963,9 +11993,11 @@ components: properties: firstName: description: The first name. + maxLength: 80 type: string lastName: description: The last name. + maxLength: 80 type: string required: - firstName @@ -11975,9 +12007,11 @@ components: properties: firstName: description: The first name. + maxLength: 80 type: string lastName: description: The last name. + maxLength: 80 type: string type: object Nexo: @@ -12016,6 +12050,7 @@ components: enum: - SaleWakeUp - KeyPressed + - '' type: string details: description: The text shown in the prompt which opens when you select the @@ -12154,6 +12189,7 @@ components: enum: - Cash - Card + nullable: true type: string type: object PayPalInfo: @@ -13746,6 +13782,13 @@ components: description: The unique ID of the terminal that the action applies to. type: string type: object + TerminalInstructions: + properties: + adyenAppRestart: + description: Indicates whether the Adyen app on the payment terminal restarts + automatically when the configuration is updated. + type: boolean + type: object TerminalModelsResponse: properties: data: @@ -13922,6 +13965,9 @@ components: tapToPay: description: Settings for Tap to Pay. $ref: '#/components/schemas/TapToPay' + terminalInstructions: + description: Settings to define the behaviour of the payment terminal. + $ref: '#/components/schemas/TerminalInstructions' timeouts: description: Settings for device [time-outs](https://docs.adyen.com/point-of-sale/pos-timeouts#device-time-out). $ref: '#/components/schemas/Timeouts' @@ -17844,7 +17890,6 @@ components: summary: Update a terminal order description: Example request to update an order for terminal products value: - shippingLocation: S2-7973536B20662642215526704F302044452F714622375D476169 items: - id: TBOX-V400m-684-EU name: V400m Package @@ -18764,7 +18809,6 @@ components: summary: Update a terminal order description: Example request to update an order for terminal products value: - shippingLocation: S2-73536B20665526704F30792642212044452F714622375D477270 items: - id: TBOX-V400m-684-EU name: V400m Package @@ -19905,7 +19949,6 @@ components: id: S2-5C334C6770 name: firstName: John - gender: UNKNOWN lastName: Smith email: john.smith@example.com timeZoneCode: Europe/Amsterdam @@ -20056,19 +20099,19 @@ components: value: data: - merchantId: YOUR_MERCHANT_ACCOUNT_AU - output: '[accepted]' + output: '' requestSent: '{"live":"false","notificationItems":[{"NotificationRequestItem":{"amount":{"currency":"EUR","value":100},"eventCode":"AUTHORISATION","eventDate":"2022-05-10T16:57:19+02:00","merchantAccountCode":"YOUR_MERCHANT_ACCOUNT_AU","merchantReference":"6GZBF5ML","operations":["CANCEL","CAPTURE","REFUND"],"paymentMethod":"visa","pspReference":"KDN7UP7S1JIK6XES","reason":"","success":"true"}}]}' responseCode: '200' responseTime: 657 ms status: success - merchantId: YOUR_MERCHANT_ACCOUNT_EU - output: '[accepted]' + output: '' requestSent: '{"live":"false","notificationItems":[{"NotificationRequestItem":{"amount":{"currency":"EUR","value":100},"eventCode":"AUTHORISATION","eventDate":"2022-05-10T16:57:19+02:00","merchantAccountCode":"YOUR_MERCHANT_ACCOUNT_EU","merchantReference":"6GZBF5ML","operations":["CANCEL","CAPTURE","REFUND"],"paymentMethod":"visa","pspReference":"KDN7UP7S1JIK6XES","reason":"","success":"true"}}]}' responseCode: '200' responseTime: 590 ms status: success - merchantId: YOUR_MERCHANT_ACCOUNT_US - output: '[accepted]' + output: '' requestSent: '{"live":"false","notificationItems":[{"NotificationRequestItem":{"amount":{"currency":"EUR","value":100},"eventCode":"AUTHORISATION","eventDate":"2022-05-10T16:57:19+02:00","merchantAccountCode":"YOUR_MERCHANT_ACCOUNT_US","merchantReference":"6GZBF5ML","operations":["CANCEL","CAPTURE","REFUND"],"paymentMethod":"visa","pspReference":"KDN7UP7S1JIK6XES","reason":"","success":"true"}}]}' responseCode: '200' responseTime: 248 ms @@ -20082,7 +20125,6 @@ components: summary: OK 200 - Add an allowed origin for the API credential description: Example response for adding an allowed origin for the API credential. value: - id: YOUR_ALLOWED_ORIGIN domain: https://www.eu.mystore.com _links: self: @@ -20470,8 +20512,6 @@ components: timeZoneCode: Europe/Amsterdam roles: - Merchant standard role - associatedMerchantAccounts: - - YOUR_MERCHANT_ACCOUNT post-merchants-merchantId-users-create-user-200: summary: Response code - 200 OK description: Example response after creating a user on the merchant level @@ -20479,7 +20519,6 @@ components: id: S2-3B3C3C3B22 name: firstName: John - gender: UNKNOWN lastName: Smith email: john.smith@example.com timeZoneCode: Europe/Amsterdam @@ -20490,8 +20529,6 @@ components: _links: self: href: https://management-test.adyen.com/v1/merchants/YOUR_MERCHANT_ACCOUNT/users/S2-3B3C3C3B22 - associatedMerchantAccounts: - - YOUR_MERCHANT_ACCOUNT post-merchants-merchantId-webhooks-post-merchant-webhook: summary: Add a webhook configuration description: Example request for adding a standard webhook configuration. @@ -20623,7 +20660,7 @@ components: value: data: - merchantId: YOUR_MERCHANT_ACCOUNT - output: '[accepted]' + output: '' requestSent: '{"live":"false","notificationItems":[{"NotificationRequestItem":{"amount":{"currency":"EUR","value":100},"eventCode":"AUTHORISATION","eventDate":"2022-05-10T17:02:03+02:00","merchantAccountCode":"YOUR_MERCHANT_ACCOUNT","merchantReference":"4TZLD23Y","operations":["CANCEL","CAPTURE","REFUND"],"paymentMethod":"visa","pspReference":"E05WW50L6IOBRGA0","reason":"","success":"true"}}]}' responseCode: '200' responseTime: 532 ms diff --git a/yaml/ManagementService-v3.yaml b/yaml/ManagementService-v3.yaml index be3fc984..11afb0f7 100644 --- a/yaml/ManagementService-v3.yaml +++ b/yaml/ManagementService-v3.yaml @@ -4875,6 +4875,12 @@ paths: schema: $ref: '#/components/schemas/RestServiceError' description: Unprocessable Entity - a request validation error. + '429': + content: + application/json: + schema: + $ref: '#/components/schemas/RestServiceError' + description: '' '500': content: application/json: @@ -4899,10 +4905,10 @@ paths: content: application/json: examples: - 01.add-payment-method-visa: - $ref: '#/components/examples/post-merchants-merchantId-paymentMethodSettings-01.add-payment-method-visa' - 02.add-payment-method-partner-model: - $ref: '#/components/examples/post-merchants-merchantId-paymentMethodSettings-02.add-payment-method-partner-model' + add-payment-method: + $ref: '#/components/examples/post-merchants-merchantId-paymentMethodSettings-add-payment-method' + add-payment-method-partner-model: + $ref: '#/components/examples/post-merchants-merchantId-paymentMethodSettings-add-payment-method-partner-model' schema: $ref: '#/components/schemas/PaymentMethodSetupInfo' parameters: @@ -4917,10 +4923,10 @@ paths: content: application/json: examples: - 01.add-payment-method-visa: - $ref: '#/components/examples/post-merchants-merchantId-paymentMethodSettings-01.add-payment-method-visa-200' - 02.add-payment-method-partner-model: - $ref: '#/components/examples/post-merchants-merchantId-paymentMethodSettings-02.add-payment-method-partner-model-200' + add-payment-method: + $ref: '#/components/examples/post-merchants-merchantId-paymentMethodSettings-add-payment-method-200' + add-payment-method-partner-model: + $ref: '#/components/examples/post-merchants-merchantId-paymentMethodSettings-add-payment-method-partner-model-200' schema: $ref: '#/components/schemas/PaymentMethod' description: OK - the request has succeeded. @@ -4951,6 +4957,12 @@ paths: schema: $ref: '#/components/schemas/RestServiceError' description: Unprocessable Entity - a request validation error. + '429': + content: + application/json: + schema: + $ref: '#/components/schemas/RestServiceError' + description: '' '500': content: application/json: @@ -5019,6 +5031,12 @@ paths: schema: $ref: '#/components/schemas/RestServiceError' description: Unprocessable Entity - a request validation error. + '429': + content: + application/json: + schema: + $ref: '#/components/schemas/RestServiceError' + description: '' '500': content: application/json: @@ -5091,6 +5109,12 @@ paths: schema: $ref: '#/components/schemas/RestServiceError' description: Unprocessable Entity - a request validation error. + '429': + content: + application/json: + schema: + $ref: '#/components/schemas/RestServiceError' + description: '' '500': content: application/json: @@ -5162,6 +5186,12 @@ paths: schema: $ref: '#/components/schemas/RestServiceError' description: Unprocessable Entity - a request validation error. + '429': + content: + application/json: + schema: + $ref: '#/components/schemas/RestServiceError' + description: '' '500': content: application/json: @@ -12085,9 +12115,11 @@ components: properties: firstName: description: The first name. + maxLength: 80 type: string lastName: description: The last name. + maxLength: 80 type: string required: - firstName @@ -12097,9 +12129,11 @@ components: properties: firstName: description: The first name. + maxLength: 80 type: string lastName: description: The last name. + maxLength: 80 type: string type: object Nexo: @@ -12138,6 +12172,7 @@ components: enum: - SaleWakeUp - KeyPressed + - '' type: string details: description: The text shown in the prompt which opens when you select the @@ -12276,6 +12311,7 @@ components: enum: - Cash - Card + nullable: true type: string type: object PayPalInfo: @@ -13900,6 +13936,13 @@ components: to. type: string type: object + TerminalInstructions: + properties: + adyenAppRestart: + description: Indicates whether the Adyen app on the payment terminal restarts + automatically when the configuration is updated. + type: boolean + type: object TerminalModelsResponse: properties: data: @@ -14131,6 +14174,9 @@ components: tapToPay: description: Settings for Tap to Pay. $ref: '#/components/schemas/TapToPay' + terminalInstructions: + description: Settings to define the behaviour of the payment terminal. + $ref: '#/components/schemas/TerminalInstructions' timeouts: description: Settings for device [time-outs](https://docs.adyen.com/point-of-sale/pos-timeouts#device-time-out). $ref: '#/components/schemas/Timeouts' @@ -16258,7 +16304,6 @@ components: hasPassword: true active: true hasError: false - sslVersion: TLSv1.2 communicationFormat: json acceptsExpiredCertificate: false acceptsSelfSignedCertificate: false @@ -16349,7 +16394,6 @@ components: hasPassword: true active: true hasError: false - sslVersion: TLSv1.2 communicationFormat: json acceptsExpiredCertificate: false acceptsSelfSignedCertificate: false @@ -16973,7 +17017,6 @@ components: summary: Response code - 200 OK description: Example response when getting the details of a store value: - storeId: ST322LJ223223K5F4SQNR9XL5 address: city: Springfield country: US @@ -17386,7 +17429,6 @@ components: hasPassword: false active: true hasError: false - sslVersion: TLSv1.2 communicationFormat: json acceptsExpiredCertificate: false acceptsSelfSignedCertificate: false @@ -17476,7 +17518,6 @@ components: hasPassword: false active: true hasError: false - sslVersion: TLSv1.2 communicationFormat: json acceptsExpiredCertificate: false acceptsSelfSignedCertificate: false @@ -18060,7 +18101,6 @@ components: summary: Update a terminal order description: Example request to update an order for terminal products value: - shippingLocation: S2-7973536B20662642215526704F302044452F714622375D476169 items: - id: TBOX-V400m-684-EU name: V400m Package @@ -18368,7 +18408,6 @@ components: hasPassword: false active: true hasError: false - sslVersion: TLSv1.2 communicationFormat: json acceptsExpiredCertificate: false acceptsSelfSignedCertificate: false @@ -18980,7 +19019,6 @@ components: summary: Update a terminal order description: Example request to update an order for terminal products value: - shippingLocation: S2-73536B20665526704F30792642212044452F714622375D477270 items: - id: TBOX-V400m-684-EU name: V400m Package @@ -19263,7 +19301,6 @@ components: hasPassword: false active: true hasError: false - sslVersion: TLSv1.2 communicationFormat: json acceptsExpiredCertificate: false acceptsSelfSignedCertificate: false @@ -20121,7 +20158,6 @@ components: id: S2-5C334C6770 name: firstName: John - gender: UNKNOWN lastName: Smith email: john.smith@example.com timeZoneCode: Europe/Amsterdam @@ -20144,7 +20180,6 @@ components: username: YOUR_USER password: YOUR_PASSWORD active: true - sslVersion: TLSv1.2 communicationFormat: soap acceptsExpiredCertificate: false acceptsSelfSignedCertificate: true @@ -20168,7 +20203,6 @@ components: hasPassword: true active: true hasError: false - sslVersion: TLSv1.2 communicationFormat: soap acceptsExpiredCertificate: false acceptsSelfSignedCertificate: true @@ -20272,19 +20306,19 @@ components: value: data: - merchantId: YOUR_MERCHANT_ACCOUNT_AU - output: '[accepted]' + output: '' requestSent: '{"live":"false","notificationItems":[{"NotificationRequestItem":{"amount":{"currency":"EUR","value":100},"eventCode":"AUTHORISATION","eventDate":"2022-05-10T16:57:19+02:00","merchantAccountCode":"YOUR_MERCHANT_ACCOUNT_AU","merchantReference":"6GZBF5ML","operations":["CANCEL","CAPTURE","REFUND"],"paymentMethod":"visa","pspReference":"KDN7UP7S1JIK6XES","reason":"","success":"true"}}]}' responseCode: '200' responseTime: 657 ms status: success - merchantId: YOUR_MERCHANT_ACCOUNT_EU - output: '[accepted]' + output: '' requestSent: '{"live":"false","notificationItems":[{"NotificationRequestItem":{"amount":{"currency":"EUR","value":100},"eventCode":"AUTHORISATION","eventDate":"2022-05-10T16:57:19+02:00","merchantAccountCode":"YOUR_MERCHANT_ACCOUNT_EU","merchantReference":"6GZBF5ML","operations":["CANCEL","CAPTURE","REFUND"],"paymentMethod":"visa","pspReference":"KDN7UP7S1JIK6XES","reason":"","success":"true"}}]}' responseCode: '200' responseTime: 590 ms status: success - merchantId: YOUR_MERCHANT_ACCOUNT_US - output: '[accepted]' + output: '' requestSent: '{"live":"false","notificationItems":[{"NotificationRequestItem":{"amount":{"currency":"EUR","value":100},"eventCode":"AUTHORISATION","eventDate":"2022-05-10T16:57:19+02:00","merchantAccountCode":"YOUR_MERCHANT_ACCOUNT_US","merchantReference":"6GZBF5ML","operations":["CANCEL","CAPTURE","REFUND"],"paymentMethod":"visa","pspReference":"KDN7UP7S1JIK6XES","reason":"","success":"true"}}]}' responseCode: '200' responseTime: 248 ms @@ -20298,7 +20332,6 @@ components: summary: OK 200 - Add an allowed origin for the API credential description: Example response for adding an allowed origin for the API credential. value: - id: YOUR_ALLOWED_ORIGIN domain: https://www.eu.mystore.com _links: self: @@ -20341,41 +20374,31 @@ components: href: https://management-test.adyen.com/v1/merchants/YOUR_MERCHANT_ACCOUNT apiKey: YOUR_API_KEY password: YOUR_PASSWORD - post-merchants-merchantId-paymentMethodSettings-01.add-payment-method-visa: - summary: Request to add Visa - description: Example request to add Visa as the payment method + post-merchants-merchantId-paymentMethodSettings-add-payment-method: + summary: Request a payment method + description: Example request to add a payment method value: type: visa - businessLineId: BL322KV223222D5F8H2J4BQ6C - storeIds: - - ST322LJ223223K5F4SQNR9XL5 currencies: - - EUR + - USD countries: - - NL - post-merchants-merchantId-paymentMethodSettings-01.add-payment-method-visa-200: + - US + post-merchants-merchantId-paymentMethodSettings-add-payment-method-200: summary: Response code - 200 OK - description: Example response after sending a request to add Visa as a payment - method + description: Example response after sending a request to add a payment method value: - businessLineId: BL322KV223222D5F8H2J4BQ6C id: PM3227C223224K5FH84M8CBNH type: visa - storeId: ST322LJ223223K5F4SQNR9XL5 - enabled: true countries: - - NL + - US currencies: - - EUR - allowed: false - verificationStatus: pending - post-merchants-merchantId-paymentMethodSettings-02.add-payment-method-partner-model: + - USD + post-merchants-merchantId-paymentMethodSettings-add-payment-method-partner-model: summary: Request to add Swish description: Example request to add Swish with a partner model setup value: businessLineId: BL322KV223222D5F8H2J4BQ6C - storeIds: - - ST322LJ223223K5F4SQNR9XL5 + storeId: ST322LJ223223K5F4SQNR9XL5 type: swish swish: swishNumber: '1231111111' @@ -20383,15 +20406,14 @@ components: - SEK countries: - SE - post-merchants-merchantId-paymentMethodSettings-02.add-payment-method-partner-model-200: + post-merchants-merchantId-paymentMethodSettings-add-payment-method-partner-model-200: summary: Response code - 200 OK description: Example response after sending a request to add Swish in a partner model setup value: id: PM3227C223224K5FH84M8CBNH businessLineId: BL322KV223222D5F8H2J4BQ6C - storeIds: - - ST322LJ223223K5F4SQNR9XL5 + storeId: ST322LJ223223K5F4SQNR9XL5 type: swish countries: - SE @@ -20697,8 +20719,6 @@ components: timeZoneCode: Europe/Amsterdam roles: - Merchant standard role - associatedMerchantAccounts: - - YOUR_MERCHANT_ACCOUNT post-merchants-merchantId-users-create-user-200: summary: Response code - 200 OK description: Example response after creating a user on the merchant level @@ -20706,7 +20726,6 @@ components: id: S2-3B3C3C3B22 name: firstName: John - gender: UNKNOWN lastName: Smith email: john.smith@example.com timeZoneCode: Europe/Amsterdam @@ -20717,8 +20736,6 @@ components: _links: self: href: https://management-test.adyen.com/v1/merchants/YOUR_MERCHANT_ACCOUNT/users/S2-3B3C3C3B22 - associatedMerchantAccounts: - - YOUR_MERCHANT_ACCOUNT post-merchants-merchantId-webhooks-post-merchant-webhook: summary: Add a webhook configuration description: Example request for adding a standard webhook configuration. @@ -20728,7 +20745,6 @@ components: username: YOUR_USER password: YOUR_PASSWORD active: true - sslVersion: TLSv1.2 communicationFormat: json acceptsExpiredCertificate: false acceptsSelfSignedCertificate: true @@ -20746,7 +20762,6 @@ components: hasPassword: true active: true hasError: false - sslVersion: TLSv1.2 communicationFormat: json acceptsExpiredCertificate: false acceptsSelfSignedCertificate: true @@ -20850,7 +20865,7 @@ components: value: data: - merchantId: YOUR_MERCHANT_ACCOUNT - output: '[accepted]' + output: '' requestSent: '{"live":"false","notificationItems":[{"NotificationRequestItem":{"amount":{"currency":"EUR","value":100},"eventCode":"AUTHORISATION","eventDate":"2022-05-10T17:02:03+02:00","merchantAccountCode":"YOUR_MERCHANT_ACCOUNT","merchantReference":"4TZLD23Y","operations":["CANCEL","CAPTURE","REFUND"],"paymentMethod":"visa","pspReference":"E05WW50L6IOBRGA0","reason":"","success":"true"}}]}' responseCode: '200' responseTime: 532 ms @@ -20943,10 +20958,6 @@ components: terminalId: S1E-000150183300033 - id: TRAC4224Z223223K5GD89RLBWQ6CWT terminalId: S1F2-000150183300034 - terminalIds: - - S1E-000150183300032 - - S1E-000150183300033 - - S1F2-000150183300034 terminalsWithErrors: {} totalScheduled: 3 totalErrors: 0 @@ -20979,10 +20990,6 @@ components: terminalId: S1E-000150183300033 - id: TRAC4224Z223223K5GD89RLBWQ6CWT terminalId: S1F2-000150183300034 - terminalIds: - - S1E-000150183300032 - - S1E-000150183300033 - - S1F2-000150183300034 terminalsWithErrors: {} totalScheduled: 3 totalErrors: 0