-
Notifications
You must be signed in to change notification settings - Fork 28
/
model_test_notification_configuration_response.go
31 lines (29 loc) · 2.78 KB
/
model_test_notification_configuration_response.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*
* Adyen for Platforms: Notification Configuration API
*
* The Notification Configuration API provides endpoints for setting up and testing notifications that inform you of events on your platform, for example when a KYC check or a payout has been completed. For more information, refer to our [documentation](https://docs.adyen.com/platforms/notifications). ## Authentication To connect to the Notification Configuration API, you must use basic authentication credentials of your web service user. If you don't have one, contact our [Adyen Support Team](https://support.adyen.com/hc/en-us/requests/new). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@MarketPlace.YourMarketPlace\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning The Notification Configuration API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://cal-test.adyen.com/cal/services/Notification/v6/createNotificationConfiguration ```
*
* API version: 6
* Contact: support@adyen.com
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/
package platformsnotificationconfiguration
// TestNotificationConfigurationResponse struct for TestNotificationConfigurationResponse
type TestNotificationConfigurationResponse struct {
// Any error messages encountered.
ErrorMessages []string `json:"errorMessages,omitempty"`
// The event types that were tested. >Permitted values: `ACCOUNT_HOLDER_CREATED`, `ACCOUNT_CREATED`, `ACCOUNT_UPDATED`, `ACCOUNT_HOLDER_UPDATED`, `ACCOUNT_HOLDER_STATUS_CHANGE`, `ACCOUNT_HOLDER_STORE_STATUS_CHANGE` `ACCOUNT_HOLDER_VERIFICATION`, `ACCOUNT_HOLDER_LIMIT_REACHED`, `ACCOUNT_HOLDER_PAYOUT`, `PAYMENT_FAILURE`, `SCHEDULED_REFUNDS`, `REPORT_AVAILABLE`, `TRANSFER_FUNDS`, `BENEFICIARY_SETUP`, `COMPENSATE_NEGATIVE_BALANCE`.
EventTypes []string `json:"eventTypes"`
// The notification message and related response messages.
ExchangeMessages []ExchangeMessage `json:"exchangeMessages"`
// Contains field validation errors that would prevent requests from being processed.
InvalidFields *[]ErrorFieldType `json:"invalidFields,omitempty"`
// The ID of the notification subscription configuration.
NotificationId int64 `json:"notificationId"`
// A list of messages describing the testing steps.
OkMessages []string `json:"okMessages"`
// The reference of a request. Can be used to uniquely identify the request.
PspReference string `json:"pspReference,omitempty"`
// The result code.
ResultCode string `json:"resultCode,omitempty"`
}