/** * Adyen Checkout Service * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout 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://checkout-test.adyen.com/v46/payments ``` * * 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 { Amount } from './amount'; export interface PaymentMethodsRequest { /** * This field contains additional data, which may be required for a particular payment request. The `additionalData` object consists of entries, each of which includes the key and value. For more information on possible key-value pairs, refer to the [additionalData section](https://docs.adyen.com/api-reference/payments-api#paymentrequestadditionaldata). */ additionalData?: any; /** * List of payments methods to be presented to the shopper. To refer to payment methods, use their `brandCode` from [Payment methods overview](https://docs.adyen.com/payment-methods/payment-methods-overview). */ allowedPaymentMethods?: Array; amount?: Amount; /** * List of payments methods to be hidden from the shopper. To refer to payment methods, use their `brandCode` from [Payment methods overview](https://docs.adyen.com/payment-methods/payment-methods-overview). */ blockedPaymentMethods?: Array; /** * The platform where a payment transaction takes place. This field can be used for filtering out payment methods that are only available on specific platforms. Possible values: * iOS * Android * Web */ channel?: PaymentMethodsRequest.ChannelEnum; /** * The shopper's country code. */ countryCode?: string; /** * The merchant account identifier, with which you want to process the transaction. */ merchantAccount: string; /** * The combination of a language code and a country code to specify the language to be used in the payment. */ shopperLocale?: string; /** * The shopper's reference to uniquely identify this shopper (e.g. user ID or account ID). > This field is required for recurring payments. */ shopperReference?: string; } export declare namespace PaymentMethodsRequest { type ChannelEnum = 'iOS' | 'Android' | 'Web'; const ChannelEnum: { IOS: ChannelEnum; Android: ChannelEnum; Web: ChannelEnum; }; }