amount |
Amount |
|
|
merchantAccount |
kotlin.String |
The merchant account identifier, with which you want to process the transaction. |
|
paymentMethod |
DonationPaymentMethod |
|
|
reference |
kotlin.String |
The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens ("-"). Maximum length: 80 characters. |
|
returnUrl |
kotlin.String |
The URL to return to in case of a redirection. The format depends on the channel. This URL can have a maximum of 1024 characters. * For web, include the protocol `http://` or `https://`. You can also include your own additional query parameters, for example, shopper ID or order reference number. Example: `https://your-company.com/checkout?shopperOrder=12xy` * For iOS, use the custom URL for your app. To know more about setting custom URL schemes, refer to the Apple Developer documentation. Example: `my-app://` * For Android, use a custom URL handled by an Activity on your app. You can configure it with an intent filter. Example: `my-app://your.package.name` |
|
accountInfo |
AccountInfo |
|
[optional] |
additionalData |
kotlin.collections.Map<kotlin.String, kotlin.String> |
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. |
[optional] |
applicationInfo |
ApplicationInfo |
|
[optional] |
authenticationData |
AuthenticationData |
|
[optional] |
billingAddress |
BillingAddress |
|
[optional] |
browserInfo |
BrowserInfo |
|
[optional] |
channel |
inline |
The platform where a payment transaction takes place. This field is optional for filtering out payment methods that are only available on specific platforms. If this value is not set, then we will try to infer it from the `sdkVersion` or `token`. Possible values: * iOS * Android * Web |
[optional] |
checkoutAttemptId |
kotlin.String |
Checkout attempt ID that corresponds to the Id generated by the client SDK for tracking user payment journey. |
[optional] |
conversionId |
kotlin.String |
Conversion ID that corresponds to the Id generated by the client SDK for tracking user payment journey. |
[optional] |
countryCode |
kotlin.String |
The shopper country. Format: ISO 3166-1 alpha-2 Example: NL or DE |
[optional] |
dateOfBirth |
kotlin.String |
The shopper's date of birth. Format ISO-8601: YYYY-MM-DD |
[optional] |
deliverAt |
kotlin.String |
The date and time the purchased goods should be delivered. Format ISO 8601: YYYY-MM-DDThh:mm:ss.sssTZD Example: 2017-07-17T13:42:40.428+01:00 |
[optional] |
deliveryAddress |
DeliveryAddress |
|
[optional] |
deviceFingerprint |
kotlin.String |
A string containing the shopper's device fingerprint. For more information, refer to Device fingerprinting. |
[optional] |
donationAccount |
kotlin.String |
Donation account to which the transaction is credited. |
[optional] |
donationOriginalPspReference |
kotlin.String |
PSP reference of the transaction from which the donation token is generated. Required when `donationToken` is provided. |
[optional] |
donationToken |
kotlin.String |
Donation token received in the `/payments` call. |
[optional] |
lineItems |
kotlin.collections.List<LineItem> |
Price and product information about the purchased items, to be included on the invoice sent to the shopper. > This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna, Ratepay, and Zip. |
[optional] |
merchantRiskIndicator |
MerchantRiskIndicator |
|
[optional] |
metadata |
kotlin.collections.Map<kotlin.String, kotlin.String> |
Metadata consists of entries, each of which includes a key and a value. Limits: * Maximum 20 key-value pairs per request. When exceeding, the "177" error occurs: "Metadata size exceeds limit". * Maximum 20 characters per key. * Maximum 80 characters per value. |
[optional] |
mpiData |
ThreeDSecureData |
|
[optional] |
origin |
kotlin.String |
Required for the 3D Secure 2 `channel` Web integration. Set this parameter to the origin URL of the page that you are loading the 3D Secure Component from. |
[optional] |
recurringProcessingModel |
inline |
Defines a recurring payment type. Required when creating a token to store payment details or using stored payment details. Allowed values: * `Subscription` – A transaction for a fixed or variable amount, which follows a fixed schedule. * `CardOnFile` – With a card-on-file (CoF) transaction, card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. * `UnscheduledCardOnFile` – An unscheduled card-on-file (UCoF) transaction is a transaction that occurs on a non-fixed schedule and/or have variable amounts. For example, automatic top-ups when a cardholder's balance drops below a certain amount. |
[optional] |
redirectFromIssuerMethod |
kotlin.String |
Specifies the redirect method (GET or POST) when redirecting back from the issuer. |
[optional] |
redirectToIssuerMethod |
kotlin.String |
Specifies the redirect method (GET or POST) when redirecting to the issuer. |
[optional] |
sessionValidity |
kotlin.String |
The date and time until when the session remains valid, in ISO 8601 format. For example: 2020-07-18T15:42:40.428+01:00 |
[optional] |
shopperEmail |
kotlin.String |
The shopper's email address. We recommend that you provide this data, as it is used in velocity fraud checks. > For 3D Secure 2 transactions, schemes require `shopperEmail` for all browser-based and mobile implementations. |
[optional] |
shopperIP |
kotlin.String |
The shopper's IP address. In general, we recommend that you provide this data, as it is used in a number of risk checks (for instance, number of payment attempts or location-based checks). > For 3D Secure 2 transactions, schemes require `shopperIP` for all browser-based implementations. This field is also mandatory for some merchants depending on your business model. For more information, contact Support. |
[optional] |
shopperInteraction |
inline |
Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. |
[optional] |
shopperLocale |
kotlin.String |
The combination of a language code and a country code to specify the language to be used in the payment. |
[optional] |
shopperName |
Name |
|
[optional] |
shopperReference |
kotlin.String |
Required for recurring payments. Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. |
[optional] |
socialSecurityNumber |
kotlin.String |
The shopper's social security number. |
[optional] |
telephoneNumber |
kotlin.String |
The shopper's telephone number. |
[optional] |
threeDS2RequestData |
ThreeDS2RequestFields |
|
[optional] |
threeDSAuthenticationOnly |
kotlin.Boolean |
If set to true, you will only perform the 3D Secure 2 authentication, and not the payment authorisation. |
[optional] |