UNPKG

@adyen/api-library

Version:

The Adyen API Library for NodeJS enables you to work with Adyen APIs.

90 lines (89 loc) 3.71 kB
import { AdditionalSettings } from "./additionalSettings"; export declare class CreateMerchantWebhookRequest { /** * Indicates if expired SSL certificates are accepted. Default value: **false**. */ "acceptsExpiredCertificate"?: boolean; /** * Indicates if self-signed SSL certificates are accepted. Default value: **false**. */ "acceptsSelfSignedCertificate"?: boolean; /** * Indicates if untrusted SSL certificates are accepted. Default value: **false**. */ "acceptsUntrustedRootCertificate"?: boolean; /** * Indicates if the webhook configuration is active. The field must be **true** for us to send webhooks about events related an account. */ "active": boolean; "additionalSettings"?: AdditionalSettings | null; /** * Format or protocol for receiving webhooks. Possible values: * **soap** * **http** * **json** */ "communicationFormat": CreateMerchantWebhookRequest.CommunicationFormatEnum; /** * Your description for this webhook configuration. */ "description"?: string; /** * SSL version to access the public webhook URL specified in the `url` field. Possible values: * **TLSv1.3** * **TLSv1.2** * **HTTP** - Only allowed on Test environment. If not specified, the webhook will use `sslVersion`: **TLSv1.2**. */ "encryptionProtocol"?: CreateMerchantWebhookRequest.EncryptionProtocolEnum; /** * Network type for Terminal API notification webhooks. Possible values: * **public** * **local** Default Value: **public**. */ "networkType"?: CreateMerchantWebhookRequest.NetworkTypeEnum; /** * Password to access the webhook URL. */ "password"?: string; /** * Indicates if the SOAP action header needs to be populated. Default value: **false**. Only applies if `communicationFormat`: **soap**. */ "populateSoapActionHeader"?: boolean; /** * The type of webhook that is being created. Possible values are: - **standard** - **account-settings-notification** - **banktransfer-notification** - **boletobancario-notification** - **directdebit-notification** - **ach-notification-of-change-notification** - **direct-debit-notice-of-change-notification** - **pending-notification** - **ideal-notification** - **ideal-pending-notification** - **report-notification** - **rreq-notification** - **terminal-settings** - **terminal-boarding** Find out more about [standard webhooks](https://docs.adyen.com/development-resources/webhooks/webhook-types/#event-codes) and [other types of webhooks](https://docs.adyen.com/development-resources/webhooks/webhook-types/#other-webhooks). */ "type": string; /** * Public URL where webhooks will be sent, for example **https://www.domain.com/webhook-endpoint**. */ "url": string; /** * Username to access the webhook URL. */ "username"?: string; static readonly discriminator: string | undefined; static readonly mapping: { [index: string]: string; } | undefined; static readonly attributeTypeMap: Array<{ name: string; baseName: string; type: string; format: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; format: string; }[]; constructor(); } export declare namespace CreateMerchantWebhookRequest { enum CommunicationFormatEnum { Http = "http", Json = "json", Soap = "soap" } enum EncryptionProtocolEnum { Http = "HTTP", Tlsv12 = "TLSv1.2", Tlsv13 = "TLSv1.3" } enum NetworkTypeEnum { Local = "local", Public = "public" } }