/** * 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. */ export interface ModificationResult { /** * This field contains additional data, which may be returned in a particular modification response. */ additionalData?: any; /** * Adyen's 16-character string reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request. */ pspReference?: string; /** * Indicates if the modification request has been received for processing. */ response?: ModificationResult.ResponseEnum; } export declare namespace ModificationResult { type ResponseEnum = '[capture-received]' | '[cancel-received]' | '[refund-received]' | '[cancelOrRefund-received]'; const ResponseEnum: { CaptureReceived: ResponseEnum; CancelReceived: ResponseEnum; RefundReceived: ResponseEnum; CancelOrRefundReceived: ResponseEnum; }; }