/** * Adyen Payment Service * A set of API endpoints that allow you to initiate, settle, and modify payments on the Adyen payments platform. You can use the API to accept card payments (including One-Click and 3D Secure), bank transfers, ewallets, and many other payment methods. To learn more about the API, visit [Classic integration](https://docs.adyen.com/classic-integration). ## Authentication To connect to the Payments API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"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 Payments 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://pal-test.adyen.com/pal/servlet/Payment/v46/authorise ``` * * OpenAPI spec version: 46 * Contact: support@adyen.com * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * Do not edit the class manually. */ import { SplitAmount } from './splitAmount'; export interface Split { /** * The account to which this split applies. >Required if the type is `MarketPlace`. */ account?: string; amount: SplitAmount; /** * A description of this split. */ description?: string; /** * The reference of this split. Used to link other operations (e.g. captures and refunds) to this split. >Required if the type is `MarketPlace`. */ reference?: string; /** * The type of this split. >Permitted values: `Default`, `PaymentFee`, `VAT`, `Commission`, `MarketPlace`, `Verification`. */ type: Split.TypeEnum; } export declare namespace Split { type TypeEnum = 'Commission' | 'Default' | 'MarketPlace' | 'PaymentFee' | 'VAT' | 'Verification'; const TypeEnum: { Commission: import("../checkout").Split.TypeEnum; Default: import("../checkout").Split.TypeEnum; MarketPlace: import("../checkout").Split.TypeEnum; PaymentFee: import("../checkout").Split.TypeEnum; VAT: import("../checkout").Split.TypeEnum; Verification: import("../checkout").Split.TypeEnum; }; }