UNPKG

@adyen/api-library

Version:

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

71 lines (70 loc) 2.34 kB
export declare class MidServiceNotificationData { /** * Indicates whether receiving payments is allowed. This value is set to **true** by Adyen after screening your merchant account. */ "allowed"?: boolean; /** * Indicates whether the payment method is enabled (**true**) or disabled (**false**). */ "enabled"?: boolean; /** * The unique identifier of the resource. */ "id": string; /** * The unique identifier of the merchant account. */ "merchantId": string; /** * Your reference for the payment method. */ "reference"?: string; /** * The status of the request to add a payment method. Possible values: * **success**: the payment method was added. * **failure**: the request failed. * **capabilityPending**: the **receivePayments** capability is not allowed. */ "status": MidServiceNotificationData.StatusEnum; /** * The unique identifier of the [store](https://docs.adyen.com/api-explorer/#/ManagementService/latest/post/merchants/{id}/paymentMethodSettings__reqParam_storeId), if any. */ "storeId"?: string; /** * Payment method [variant](https://docs.adyen.com/development-resources/paymentmethodvariant#management-api). */ "type": string; /** * Payment method status. Possible values: * **valid** * **pending** * **invalid** * **rejected** */ "verificationStatus"?: MidServiceNotificationData.VerificationStatusEnum; 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 MidServiceNotificationData { enum StatusEnum { Success = "success", Failure = "failure", CapabilityPending = "capabilityPending", DataRequired = "dataRequired", UpdatesExpected = "updatesExpected" } enum VerificationStatusEnum { Valid = "valid", Pending = "pending", Invalid = "invalid", Rejected = "rejected" } }