/** * 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 MerchantRiskIndicator { /** * Whether the chosen delivery address is identical to the billing address. */ addressMatch?: boolean; /** * Indicator regarding the delivery address. Allowed values: * `shipToBillingAddress` * `shipToVerifiedAddress` * `shipToNewAddress` * `shipToStore` * `digitalGoods` * `goodsNotShipped` * `other` */ deliveryAddressIndicator?: MerchantRiskIndicator.DeliveryAddressIndicatorEnum; /** * The delivery email address (for digital goods). */ deliveryEmail?: string; /** * The estimated delivery time for the shopper to receive the goods. Allowed values: * `electronicDelivery` * `sameDayShipping` * `overnightShipping` * `twoOrMoreDaysShipping` */ deliveryTimeframe?: MerchantRiskIndicator.DeliveryTimeframeEnum; giftCardAmount?: Amount; /** * Number of individual prepaid or gift cards used for this purchase. */ giftCardCount?: number; /** * For pre-order purchases, the expected date this product will be available to the shopper. */ preOrderDate?: Date; /** * Indicator for whether this transaction is for pre-ordering a product. */ preOrderPurchase?: boolean; /** * Indicator for whether the shopper has already purchased the same items in the past. */ reorderItems?: boolean; } export declare namespace MerchantRiskIndicator { type DeliveryAddressIndicatorEnum = 'shipToBillingAddress' | 'shipToVerifiedAddress' | 'shipToNewAddress' | 'shipToStore' | 'digitalGoods' | 'goodsNotShipped' | 'other'; const DeliveryAddressIndicatorEnum: { ShipToBillingAddress: DeliveryAddressIndicatorEnum; ShipToVerifiedAddress: DeliveryAddressIndicatorEnum; ShipToNewAddress: DeliveryAddressIndicatorEnum; ShipToStore: DeliveryAddressIndicatorEnum; DigitalGoods: DeliveryAddressIndicatorEnum; GoodsNotShipped: DeliveryAddressIndicatorEnum; Other: DeliveryAddressIndicatorEnum; }; type DeliveryTimeframeEnum = 'electronicDelivery' | 'sameDayShipping' | 'overnightShipping' | 'twoOrMoreDaysShipping'; const DeliveryTimeframeEnum: { ElectronicDelivery: DeliveryTimeframeEnum; SameDayShipping: DeliveryTimeframeEnum; OvernightShipping: DeliveryTimeframeEnum; TwoOrMoreDaysShipping: DeliveryTimeframeEnum; }; }