mirror of
https://github.com/gcatanese/adyen-openapi.git
synced 2026-03-10 08:01:24 +00:00
3449 lines
183 KiB
JSON
3449 lines
183 KiB
JSON
{
|
||
"openapi" : "3.0.3",
|
||
"servers" : [
|
||
{
|
||
"url" : "https://pal-test.adyen.com/pal/servlet/Payout/v30"
|
||
}
|
||
],
|
||
"info" : {
|
||
"version" : "30",
|
||
"x-publicVersion" : true,
|
||
"title" : "Adyen Payout API",
|
||
"description" : "A set of API endpoints that allow you to store payout details, confirm, or decline a payout.\n\nFor more information, refer to [Online payouts](https://docs.adyen.com/online-payments/online-payouts).\n## Authentication\nTo use the Payout API, you need to have [two API credentials](https://docs.adyen.com/online-payments/online-payouts#payouts-to-bank-accounts-and-wallets): one for storing payout details and submitting payouts, and another one for confirming or declining payouts. If you don't have the required API credentials, contact our [Support Team](https://support.adyen.com/hc/en-us/requests/new).\n\nBoth of these API credentials must be authenticated with [basic authentication](https://docs.adyen.com/development-resources/api-credentials#basic-authentication).The following example shows how to authenticate your request when submitting a payout:\n\n```\ncurl\n-U \"storePayout@Company.[YourCompany]\":\"YourBasicAuthenticationPassword\" \\\n-H \"Content-Type: application/json\" \\\n...\n```\nWhen going live, you need to generate new API credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints).\n\n",
|
||
"termsOfService" : "https://www.adyen.com/legal/terms-and-conditions",
|
||
"contact" : {
|
||
"name" : "Adyen Developer Experience team",
|
||
"url" : "https://www.adyen.help/hc/en-us/community/topics",
|
||
"email" : "developer-experience@adyen.com"
|
||
}
|
||
},
|
||
"x-groups" : [
|
||
"Initialization",
|
||
"Reviewing",
|
||
"Instant payouts"
|
||
],
|
||
"paths" : {
|
||
"/confirmThirdParty" : {
|
||
"post" : {
|
||
"summary" : "Confirms a payout.",
|
||
"description" : "Confirms a previously submitted payout.\n\nTo cancel a payout, use the `/declineThirdParty` endpoint.",
|
||
"x-addedInVersion" : 10,
|
||
"operationId" : "post-confirmThirdParty",
|
||
"x-groupName" : "Reviewing",
|
||
"x-sortIndex" : 1,
|
||
"requestBody" : {
|
||
"content" : {
|
||
"application/json" : {
|
||
"examples" : {
|
||
"confirmThirdParty" : {
|
||
"$ref" : "#/components/examples/post-confirmThirdParty-confirmThirdParty"
|
||
}
|
||
},
|
||
"schema" : {
|
||
"$ref" : "#/components/schemas/ModifyRequest"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"responses" : {
|
||
"200" : {
|
||
"content" : {
|
||
"application/json" : {
|
||
"schema" : {
|
||
"$ref" : "#/components/schemas/ModifyResponse"
|
||
}
|
||
}
|
||
},
|
||
"description" : "OK - the request has succeeded."
|
||
},
|
||
"400" : {
|
||
"content" : {
|
||
"application/json" : {
|
||
"examples" : {
|
||
"generic-400" : {
|
||
"$ref" : "#/components/examples/generic-400"
|
||
}
|
||
},
|
||
"schema" : {
|
||
"$ref" : "#/components/schemas/ServiceError"
|
||
}
|
||
}
|
||
},
|
||
"description" : "Bad Request - a problem reading or understanding the request."
|
||
},
|
||
"401" : {
|
||
"content" : {
|
||
"application/json" : {
|
||
"schema" : {
|
||
"$ref" : "#/components/schemas/ServiceError"
|
||
}
|
||
}
|
||
},
|
||
"description" : "Unauthorized - authentication required."
|
||
},
|
||
"403" : {
|
||
"content" : {
|
||
"application/json" : {
|
||
"schema" : {
|
||
"$ref" : "#/components/schemas/ServiceError"
|
||
}
|
||
}
|
||
},
|
||
"description" : "Forbidden - insufficient permissions to process the request."
|
||
},
|
||
"422" : {
|
||
"content" : {
|
||
"application/json" : {
|
||
"schema" : {
|
||
"$ref" : "#/components/schemas/ServiceError"
|
||
}
|
||
}
|
||
},
|
||
"description" : "Unprocessable Entity - a request validation error."
|
||
},
|
||
"500" : {
|
||
"content" : {
|
||
"application/json" : {
|
||
"schema" : {
|
||
"$ref" : "#/components/schemas/ServiceError"
|
||
}
|
||
}
|
||
},
|
||
"description" : "Internal Server Error - the server could not process the request."
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/declineThirdParty" : {
|
||
"post" : {
|
||
"summary" : "Cancels a payout.",
|
||
"description" : "Cancels a previously submitted payout.\n\nTo confirm and send a payout, use the `/confirmThirdParty` endpoint.",
|
||
"x-addedInVersion" : 10,
|
||
"operationId" : "post-declineThirdParty",
|
||
"x-groupName" : "Reviewing",
|
||
"x-sortIndex" : 2,
|
||
"requestBody" : {
|
||
"content" : {
|
||
"application/json" : {
|
||
"examples" : {
|
||
"declineThirdParty" : {
|
||
"$ref" : "#/components/examples/post-declineThirdParty-declineThirdParty"
|
||
}
|
||
},
|
||
"schema" : {
|
||
"$ref" : "#/components/schemas/ModifyRequest"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"responses" : {
|
||
"200" : {
|
||
"content" : {
|
||
"application/json" : {
|
||
"schema" : {
|
||
"$ref" : "#/components/schemas/ModifyResponse"
|
||
}
|
||
}
|
||
},
|
||
"description" : "OK - the request has succeeded."
|
||
},
|
||
"400" : {
|
||
"content" : {
|
||
"application/json" : {
|
||
"examples" : {
|
||
"generic-400" : {
|
||
"$ref" : "#/components/examples/generic-400"
|
||
}
|
||
},
|
||
"schema" : {
|
||
"$ref" : "#/components/schemas/ServiceError"
|
||
}
|
||
}
|
||
},
|
||
"description" : "Bad Request - a problem reading or understanding the request."
|
||
},
|
||
"401" : {
|
||
"content" : {
|
||
"application/json" : {
|
||
"schema" : {
|
||
"$ref" : "#/components/schemas/ServiceError"
|
||
}
|
||
}
|
||
},
|
||
"description" : "Unauthorized - authentication required."
|
||
},
|
||
"403" : {
|
||
"content" : {
|
||
"application/json" : {
|
||
"schema" : {
|
||
"$ref" : "#/components/schemas/ServiceError"
|
||
}
|
||
}
|
||
},
|
||
"description" : "Forbidden - insufficient permissions to process the request."
|
||
},
|
||
"422" : {
|
||
"content" : {
|
||
"application/json" : {
|
||
"schema" : {
|
||
"$ref" : "#/components/schemas/ServiceError"
|
||
}
|
||
}
|
||
},
|
||
"description" : "Unprocessable Entity - a request validation error."
|
||
},
|
||
"500" : {
|
||
"content" : {
|
||
"application/json" : {
|
||
"schema" : {
|
||
"$ref" : "#/components/schemas/ServiceError"
|
||
}
|
||
}
|
||
},
|
||
"description" : "Internal Server Error - the server could not process the request."
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/payout" : {
|
||
"post" : {
|
||
"summary" : "Pay out directly.",
|
||
"description" : "With this call, you can pay out to your customers, and funds will be made available within 30 minutes on the cardholder's bank account (this is dependent on whether the issuer supports this functionality). Instant card payouts are only supported for Visa and Mastercard cards.",
|
||
"x-addedInVersion" : 11,
|
||
"operationId" : "post-payout",
|
||
"x-groupName" : "Instant payouts",
|
||
"x-sortIndex" : 1,
|
||
"requestBody" : {
|
||
"content" : {
|
||
"application/json" : {
|
||
"examples" : {
|
||
"payout-p2p" : {
|
||
"$ref" : "#/components/examples/post-payout-payout-p2p"
|
||
},
|
||
"payout-b2c" : {
|
||
"$ref" : "#/components/examples/post-payout-payout-b2c"
|
||
}
|
||
},
|
||
"schema" : {
|
||
"$ref" : "#/components/schemas/PayoutRequest"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"responses" : {
|
||
"200" : {
|
||
"content" : {
|
||
"application/json" : {
|
||
"schema" : {
|
||
"$ref" : "#/components/schemas/PayoutResponse"
|
||
}
|
||
}
|
||
},
|
||
"description" : "OK - the request has succeeded."
|
||
},
|
||
"400" : {
|
||
"content" : {
|
||
"application/json" : {
|
||
"examples" : {
|
||
"generic-400" : {
|
||
"$ref" : "#/components/examples/generic-400"
|
||
}
|
||
},
|
||
"schema" : {
|
||
"$ref" : "#/components/schemas/ServiceError"
|
||
}
|
||
}
|
||
},
|
||
"description" : "Bad Request - a problem reading or understanding the request."
|
||
},
|
||
"401" : {
|
||
"content" : {
|
||
"application/json" : {
|
||
"schema" : {
|
||
"$ref" : "#/components/schemas/ServiceError"
|
||
}
|
||
}
|
||
},
|
||
"description" : "Unauthorized - authentication required."
|
||
},
|
||
"403" : {
|
||
"content" : {
|
||
"application/json" : {
|
||
"schema" : {
|
||
"$ref" : "#/components/schemas/ServiceError"
|
||
}
|
||
}
|
||
},
|
||
"description" : "Forbidden - insufficient permissions to process the request."
|
||
},
|
||
"422" : {
|
||
"content" : {
|
||
"application/json" : {
|
||
"schema" : {
|
||
"$ref" : "#/components/schemas/ServiceError"
|
||
}
|
||
}
|
||
},
|
||
"description" : "Unprocessable Entity - a request validation error."
|
||
},
|
||
"500" : {
|
||
"content" : {
|
||
"application/json" : {
|
||
"schema" : {
|
||
"$ref" : "#/components/schemas/ServiceError"
|
||
}
|
||
}
|
||
},
|
||
"description" : "Internal Server Error - the server could not process the request."
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/storeDetail" : {
|
||
"post" : {
|
||
"summary" : "Stores payout details.",
|
||
"description" : "Stores payment details under the `PAYOUT` recurring contract. These payment details can be used later to submit a payout via the `/submitThirdParty` call.",
|
||
"operationId" : "post-storeDetail",
|
||
"x-groupName" : "Initialization",
|
||
"x-sortIndex" : 2,
|
||
"requestBody" : {
|
||
"content" : {
|
||
"application/json" : {
|
||
"examples" : {
|
||
"storeDetail" : {
|
||
"$ref" : "#/components/examples/post-storeDetail-storeDetail"
|
||
}
|
||
},
|
||
"schema" : {
|
||
"$ref" : "#/components/schemas/StoreDetailRequest"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"responses" : {
|
||
"200" : {
|
||
"content" : {
|
||
"application/json" : {
|
||
"schema" : {
|
||
"$ref" : "#/components/schemas/StoreDetailResponse"
|
||
}
|
||
}
|
||
},
|
||
"description" : "OK - the request has succeeded."
|
||
},
|
||
"400" : {
|
||
"content" : {
|
||
"application/json" : {
|
||
"examples" : {
|
||
"generic-400" : {
|
||
"$ref" : "#/components/examples/generic-400"
|
||
}
|
||
},
|
||
"schema" : {
|
||
"$ref" : "#/components/schemas/ServiceError"
|
||
}
|
||
}
|
||
},
|
||
"description" : "Bad Request - a problem reading or understanding the request."
|
||
},
|
||
"401" : {
|
||
"content" : {
|
||
"application/json" : {
|
||
"schema" : {
|
||
"$ref" : "#/components/schemas/ServiceError"
|
||
}
|
||
}
|
||
},
|
||
"description" : "Unauthorized - authentication required."
|
||
},
|
||
"403" : {
|
||
"content" : {
|
||
"application/json" : {
|
||
"schema" : {
|
||
"$ref" : "#/components/schemas/ServiceError"
|
||
}
|
||
}
|
||
},
|
||
"description" : "Forbidden - insufficient permissions to process the request."
|
||
},
|
||
"422" : {
|
||
"content" : {
|
||
"application/json" : {
|
||
"schema" : {
|
||
"$ref" : "#/components/schemas/ServiceError"
|
||
}
|
||
}
|
||
},
|
||
"description" : "Unprocessable Entity - a request validation error."
|
||
},
|
||
"500" : {
|
||
"content" : {
|
||
"application/json" : {
|
||
"schema" : {
|
||
"$ref" : "#/components/schemas/ServiceError"
|
||
}
|
||
}
|
||
},
|
||
"description" : "Internal Server Error - the server could not process the request."
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/storeDetailAndSubmitThirdParty" : {
|
||
"post" : {
|
||
"summary" : "Stores details and submits a payout.",
|
||
"description" : "Submits a payout and stores its details for subsequent payouts.\n\nThe submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls.",
|
||
"x-addedInVersion" : 10,
|
||
"operationId" : "post-storeDetailAndSubmitThirdParty",
|
||
"x-groupName" : "Initialization",
|
||
"x-sortIndex" : 1,
|
||
"requestBody" : {
|
||
"content" : {
|
||
"application/json" : {
|
||
"examples" : {
|
||
"storeDetailAndSubmitThirdParty-Neteller" : {
|
||
"$ref" : "#/components/examples/post-storeDetailAndSubmitThirdParty-storeDetailAndSubmitThirdParty-Neteller"
|
||
},
|
||
"storeDetailAndSubmitThirdParty-Skrill" : {
|
||
"$ref" : "#/components/examples/post-storeDetailAndSubmitThirdParty-storeDetailAndSubmitThirdParty-Skrill"
|
||
},
|
||
"storeDetailAndSubmitThirdParty-PayPal" : {
|
||
"$ref" : "#/components/examples/post-storeDetailAndSubmitThirdParty-storeDetailAndSubmitThirdParty-PayPal"
|
||
},
|
||
"storeDetailAndSubmitThirdParty" : {
|
||
"$ref" : "#/components/examples/post-storeDetailAndSubmitThirdParty-storeDetailAndSubmitThirdParty"
|
||
},
|
||
"storeDetailAndSubmitThirdParty-Paysafecard" : {
|
||
"$ref" : "#/components/examples/post-storeDetailAndSubmitThirdParty-storeDetailAndSubmitThirdParty-Paysafecard"
|
||
}
|
||
},
|
||
"schema" : {
|
||
"$ref" : "#/components/schemas/StoreDetailAndSubmitRequest"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"responses" : {
|
||
"200" : {
|
||
"content" : {
|
||
"application/json" : {
|
||
"schema" : {
|
||
"$ref" : "#/components/schemas/StoreDetailAndSubmitResponse"
|
||
}
|
||
}
|
||
},
|
||
"description" : "OK - the request has succeeded."
|
||
},
|
||
"400" : {
|
||
"content" : {
|
||
"application/json" : {
|
||
"examples" : {
|
||
"generic-400" : {
|
||
"$ref" : "#/components/examples/generic-400"
|
||
}
|
||
},
|
||
"schema" : {
|
||
"$ref" : "#/components/schemas/ServiceError"
|
||
}
|
||
}
|
||
},
|
||
"description" : "Bad Request - a problem reading or understanding the request."
|
||
},
|
||
"401" : {
|
||
"content" : {
|
||
"application/json" : {
|
||
"schema" : {
|
||
"$ref" : "#/components/schemas/ServiceError"
|
||
}
|
||
}
|
||
},
|
||
"description" : "Unauthorized - authentication required."
|
||
},
|
||
"403" : {
|
||
"content" : {
|
||
"application/json" : {
|
||
"schema" : {
|
||
"$ref" : "#/components/schemas/ServiceError"
|
||
}
|
||
}
|
||
},
|
||
"description" : "Forbidden - insufficient permissions to process the request."
|
||
},
|
||
"422" : {
|
||
"content" : {
|
||
"application/json" : {
|
||
"schema" : {
|
||
"$ref" : "#/components/schemas/ServiceError"
|
||
}
|
||
}
|
||
},
|
||
"description" : "Unprocessable Entity - a request validation error."
|
||
},
|
||
"500" : {
|
||
"content" : {
|
||
"application/json" : {
|
||
"schema" : {
|
||
"$ref" : "#/components/schemas/ServiceError"
|
||
}
|
||
}
|
||
},
|
||
"description" : "Internal Server Error - the server could not process the request."
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/submitThirdParty" : {
|
||
"post" : {
|
||
"summary" : "Submits a payout.",
|
||
"description" : "Submits a payout using the previously stored payment details. To store payment details, use the `/storeDetail` API call.\n\nThe submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls.",
|
||
"x-addedInVersion" : 10,
|
||
"operationId" : "post-submitThirdParty",
|
||
"x-groupName" : "Initialization",
|
||
"x-sortIndex" : 3,
|
||
"requestBody" : {
|
||
"content" : {
|
||
"application/json" : {
|
||
"examples" : {
|
||
"submitThirdParty" : {
|
||
"$ref" : "#/components/examples/post-submitThirdParty-submitThirdParty"
|
||
}
|
||
},
|
||
"schema" : {
|
||
"$ref" : "#/components/schemas/SubmitRequest"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"responses" : {
|
||
"200" : {
|
||
"content" : {
|
||
"application/json" : {
|
||
"schema" : {
|
||
"$ref" : "#/components/schemas/SubmitResponse"
|
||
}
|
||
}
|
||
},
|
||
"description" : "OK - the request has succeeded."
|
||
},
|
||
"400" : {
|
||
"content" : {
|
||
"application/json" : {
|
||
"examples" : {
|
||
"generic-400" : {
|
||
"$ref" : "#/components/examples/generic-400"
|
||
}
|
||
},
|
||
"schema" : {
|
||
"$ref" : "#/components/schemas/ServiceError"
|
||
}
|
||
}
|
||
},
|
||
"description" : "Bad Request - a problem reading or understanding the request."
|
||
},
|
||
"401" : {
|
||
"content" : {
|
||
"application/json" : {
|
||
"schema" : {
|
||
"$ref" : "#/components/schemas/ServiceError"
|
||
}
|
||
}
|
||
},
|
||
"description" : "Unauthorized - authentication required."
|
||
},
|
||
"403" : {
|
||
"content" : {
|
||
"application/json" : {
|
||
"schema" : {
|
||
"$ref" : "#/components/schemas/ServiceError"
|
||
}
|
||
}
|
||
},
|
||
"description" : "Forbidden - insufficient permissions to process the request."
|
||
},
|
||
"422" : {
|
||
"content" : {
|
||
"application/json" : {
|
||
"schema" : {
|
||
"$ref" : "#/components/schemas/ServiceError"
|
||
}
|
||
}
|
||
},
|
||
"description" : "Unprocessable Entity - a request validation error."
|
||
},
|
||
"500" : {
|
||
"content" : {
|
||
"application/json" : {
|
||
"schema" : {
|
||
"$ref" : "#/components/schemas/ServiceError"
|
||
}
|
||
}
|
||
},
|
||
"description" : "Internal Server Error - the server could not process the request."
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"components" : {
|
||
"schemas" : {
|
||
"AdditionalData3DSecure" : {
|
||
"properties" : {
|
||
"allow3DS2" : {
|
||
"description" : "Indicates if you are able to process 3D Secure 2 transactions natively on your payment page. Send this parameter when you are using `/payments` endpoint with any of our [native 3D Secure 2 solutions](https://docs.adyen.com/online-payments/3d-secure/native-3ds2).\n\n > This parameter only indicates readiness to support native 3D Secure 2 authentication. To specify if you _want_ to perform 3D Secure, use [Dynamic 3D Secure](/risk-management/dynamic-3d-secure) or send the `executeThreeD` parameter.\n\nPossible values:\n* **true** - Ready to support native 3D Secure 2 authentication. Setting this to true does not mean always applying 3D Secure 2. Adyen still selects the version of 3D Secure based on configuration to optimize authorisation rates and improve the shopper's experience.\n* **false** – Not ready to support native 3D Secure 2 authentication. Adyen will not offer 3D Secure 2 to your shopper regardless of your configuration.\n",
|
||
"type" : "string"
|
||
},
|
||
"executeThreeD" : {
|
||
"description" : "Indicates if you want to perform 3D Secure authentication on a transaction.\n\n > Alternatively, you can use [Dynamic 3D Secure](/risk-management/dynamic-3d-secure) to configure rules for applying 3D Secure.\n\nPossible values:\n* **true** – Perform 3D Secure authentication.\n* **false** – Don't perform 3D Secure authentication.\n",
|
||
"type" : "string"
|
||
},
|
||
"mpiImplementationType" : {
|
||
"description" : "In case of Secure+, this field must be set to **CUPSecurePlus**.",
|
||
"type" : "string"
|
||
},
|
||
"scaExemption" : {
|
||
"description" : "Indicates the [exemption type](https://docs.adyen.com/payments-fundamentals/psd2-sca-compliance-and-implementation-guide#specifypreferenceinyourapirequest) that you want to request for the transaction.\n\n Possible values:\n* **lowValue** \n* **secureCorporate** \n* **trustedBeneficiary** \n* **transactionRiskAnalysis** ",
|
||
"type" : "string"
|
||
},
|
||
"threeDSVersion" : {
|
||
"description" : "Indicates your preference for the 3D Secure version. \n> If you use this parameter, you override the checks from Adyen's Authentication Engine. We recommend to use this field only if you have an extensive knowledge of 3D Secure.\n\nPossible values:\n* **1.0.2**: Apply 3D Secure version 1.0.2. \n* **2.1.0**: Apply 3D Secure version 2.1.0. \n* **2.2.0**: Apply 3D Secure version 2.2.0. If the issuer does not support version 2.2.0, we will fall back to 2.1.0.\n\nThe following rules apply:\n* If you prefer 2.1.0 or 2.2.0 but we receive a negative `transStatus` in the `ARes`, we will apply the fallback policy configured in your account. For example, if the configuration is to fall back to 3D Secure 1, we will apply version 1.0.2.\n* If you prefer 2.1.0 or 2.2.0 but the BIN is not enrolled, you will receive an error.\n\n",
|
||
"type" : "string"
|
||
}
|
||
}
|
||
},
|
||
"AdditionalDataAirline" : {
|
||
"properties" : {
|
||
"airline.agency_invoice_number" : {
|
||
"description" : "Reference number for the invoice, issued by the agency.\n* minLength: 1\n* maxLength: 6",
|
||
"type" : "string"
|
||
},
|
||
"airline.agency_plan_name" : {
|
||
"description" : "2-letter agency plan identifier; alphabetical.\n* minLength: 2\n* maxLength: 2",
|
||
"type" : "string"
|
||
},
|
||
"airline.airline_code" : {
|
||
"description" : "[IATA](https://www.iata.org/services/pages/codes.aspx) 3-digit accounting code (PAX); numeric. It identifies the carrier.\n* Format: IATA 3-digit accounting code (PAX)\n* Example: KLM = 074\n* minLength: 3\n* maxLength: 3",
|
||
"type" : "string"
|
||
},
|
||
"airline.airline_designator_code" : {
|
||
"description" : "[IATA](https://www.iata.org/services/pages/codes.aspx) 2-letter accounting code (PAX); alphabetical. It identifies the carrier.\n* Format: [IATA](https://www.iata.org/services/pages/codes.aspx) 2-letter airline code\n* Example: KLM = KL\n* minLength: 2\n* maxLength: 2",
|
||
"type" : "string"
|
||
},
|
||
"airline.boarding_fee" : {
|
||
"description" : "Chargeable amount for boarding the plane.\nThe transaction amount needs to be represented in minor units according to the [following table](https://docs.adyen.com/development-resources/currency-codes).\n* minLength: 1\n* maxLength: 18",
|
||
"type" : "string"
|
||
},
|
||
"airline.computerized_reservation_system" : {
|
||
"description" : "The [CRS](https://en.wikipedia.org/wiki/Computer_reservation_system) used to make the reservation and purchase the ticket.\n* Format: alphanumeric.\n* minLength: 4\n* maxLength: 4",
|
||
"type" : "string"
|
||
},
|
||
"airline.customer_reference_number" : {
|
||
"description" : "Reference number; alphanumeric.\n* minLength: 0\n* maxLength: 20",
|
||
"type" : "string"
|
||
},
|
||
"airline.document_type" : {
|
||
"description" : "Optional 2-digit code; alphanumeric. It identifies the type of product of the transaction. The description of the code may appear on credit card statements.\n* Format: 2-digit code\n* Example: Passenger ticket = 01\n* minLength: 2\n* maxLength: 2",
|
||
"type" : "string"
|
||
},
|
||
"airline.flight_date" : {
|
||
"description" : "Flight departure date. Local time `(HH:mm)` is optional.\n* Date format: `yyyy-MM-dd`\n* Date and time format: `yyyy-MM-dd HH:mm`\n* minLength: 10\n* maxLength: 16",
|
||
"type" : "string"
|
||
},
|
||
"airline.leg.carrier_code" : {
|
||
"description" : "[IATA](https://www.iata.org/services/pages/codes.aspx) 2-letter accounting code (PAX); alphabetical. It identifies the carrier.\nThis field is required/mandatory if the airline data includes leg details.\n* Format: IATA 2-letter airline code\n* Example: KLM = KL\n* minLength: 2\n* maxLength: 2",
|
||
"type" : "string"
|
||
},
|
||
"airline.leg.class_of_travel" : {
|
||
"description" : "1-letter travel class identifier; alphabetical. There is no standard; however, the following codes are used rather consistently:\n* F: first class\n* J: business class\n* Y: economy class\n* W: premium economy\n\nLimitations:\n* minLength: 1\n* maxLength: 1",
|
||
"type" : "string"
|
||
},
|
||
"airline.leg.date_of_travel" : {
|
||
"description" : "\t\nDate and time of travel. [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)-compliant.\n* Format: `yyyy-MM-dd HH:mm`\n* minLength: 16\n* maxLength: 16",
|
||
"type" : "string"
|
||
},
|
||
"airline.leg.depart_airport" : {
|
||
"description" : "Alphabetical identifier of the departure airport.\nThis field is required if the airline data includes leg details.\n* Format: [IATA](https://www.iata.org/services/pages/codes.aspx) 3-letter airport code.\n* Example: Amsterdam = AMS\n* minLength: 3\n* maxLength: 3",
|
||
"type" : "string"
|
||
},
|
||
"airline.leg.depart_tax" : {
|
||
"description" : "[Departure tax](https://en.wikipedia.org/wiki/Departure_tax). Amount charged by a country to an individual upon their leaving. The transaction amount needs to be represented in minor units according to the [following table](https://docs.adyen.com/development-resources/currency-codes).\n* minLength: 1\n* maxLength: 12",
|
||
"type" : "string"
|
||
},
|
||
"airline.leg.destination_code" : {
|
||
"description" : "Alphabetical identifier of the destination/arrival airport.\nThis field is required/mandatory if the airline data includes leg details.\n* Format: [IATA](https://www.iata.org/services/pages/codes.aspx) 3-letter airport code.\n* Example: Amsterdam = AMS\n* minLength: 3\n* maxLength: 3",
|
||
"type" : "string"
|
||
},
|
||
"airline.leg.fare_base_code" : {
|
||
"description" : "[Fare basis code](https://en.wikipedia.org/wiki/Fare_basis_code); alphanumeric.\n* minLength: 1\n* maxLength: 7",
|
||
"type" : "string"
|
||
},
|
||
"airline.leg.flight_number" : {
|
||
"description" : "The flight identifier.\n* minLength: 1\n* maxLength: 5",
|
||
"type" : "string"
|
||
},
|
||
"airline.leg.stop_over_code" : {
|
||
"description" : "1-letter code that indicates whether the passenger is entitled to make a stopover. Only two types of characters are allowed:\n* O: Stopover allowed\n* X: Stopover not allowed\n\nLimitations:\n* minLength: 1\n* maxLength: 1",
|
||
"type" : "string"
|
||
},
|
||
"airline.passenger.date_of_birth" : {
|
||
"description" : "Date of birth of the passenger.\n\nDate format: `yyyy-MM-dd`\n* minLength: 10\n* maxLength: 10",
|
||
"type" : "string"
|
||
},
|
||
"airline.passenger.first_name" : {
|
||
"description" : "Passenger first name/given name.\n> This field is required/mandatory if the airline data includes passenger details or leg details.",
|
||
"type" : "string"
|
||
},
|
||
"airline.passenger.last_name" : {
|
||
"description" : "Passenger last name/family name.\n> This field is required/mandatory if the airline data includes passenger details or leg details.",
|
||
"type" : "string"
|
||
},
|
||
"airline.passenger.telephone_number" : {
|
||
"description" : "Telephone number of the passenger, including country code. This is an alphanumeric field that can include the '+' and '-' signs.\n* minLength: 3\n* maxLength: 30",
|
||
"type" : "string"
|
||
},
|
||
"airline.passenger.traveller_type" : {
|
||
"description" : "Passenger type code (PTC). IATA PTC values are 3-letter alphabetical. Example: ADT, SRC, CNN, INS.\n\nHowever, several carriers use non-standard codes that can be up to 5 alphanumeric characters.\n* minLength: 3\n* maxLength: 6",
|
||
"type" : "string"
|
||
},
|
||
"airline.passenger_name" : {
|
||
"description" : "Passenger name, initials, and a title.\n* Format: last name + first name or initials + title.\n* Example: *FLYER / MARY MS*.\n* minLength: 1\n* maxLength: 49",
|
||
"type" : "string"
|
||
},
|
||
"airline.ticket_issue_address" : {
|
||
"description" : "Address of the place/agency that issued the ticket.\n* minLength: 0\n* maxLength: 16",
|
||
"type" : "string"
|
||
},
|
||
"airline.ticket_number" : {
|
||
"description" : "The ticket's unique identifier.\n* minLength: 1\n* maxLength: 150",
|
||
"type" : "string"
|
||
},
|
||
"airline.travel_agency_code" : {
|
||
"description" : "IATA number, also ARC number or ARC/IATA number. Unique identifier number for travel agencies.\n* minLength: 1\n* maxLength: 8",
|
||
"type" : "string"
|
||
},
|
||
"airline.travel_agency_name" : {
|
||
"description" : "The name of the travel agency.\n* minLength: 1\n* maxLength: 25",
|
||
"type" : "string"
|
||
}
|
||
},
|
||
"required" : [
|
||
"airline.passenger_name"
|
||
]
|
||
},
|
||
"AdditionalDataCarRental" : {
|
||
"properties" : {
|
||
"carRental.checkOutDate" : {
|
||
"description" : "Pick-up date.\n* Date format: `yyyyMMdd`",
|
||
"type" : "string"
|
||
},
|
||
"carRental.customerServiceTollFreeNumber" : {
|
||
"description" : "The customer service phone number of the car rental company.\n* Format: Alphanumeric\n* maxLength: 17",
|
||
"type" : "string"
|
||
},
|
||
"carRental.daysRented" : {
|
||
"description" : "Number of days for which the car is being rented.\n* Format: Numeric\n* maxLength: 19",
|
||
"type" : "string"
|
||
},
|
||
"carRental.fuelCharges" : {
|
||
"description" : "Any fuel charges associated with the rental.\n* Format: Numeric\n* maxLength: 12",
|
||
"type" : "string"
|
||
},
|
||
"carRental.insuranceCharges" : {
|
||
"description" : "Any insurance charges associated with the rental.\n* Format: Numeric\n* maxLength: 12",
|
||
"type" : "string"
|
||
},
|
||
"carRental.locationCity" : {
|
||
"description" : "The city from which the car is rented.\n* Format: Alphanumeric\n* maxLength: 18",
|
||
"type" : "string"
|
||
},
|
||
"carRental.locationCountry" : {
|
||
"description" : "The country from which the car is rented.\n* Format: Alphanumeric\n* maxLength: 2",
|
||
"type" : "string"
|
||
},
|
||
"carRental.locationStateProvince" : {
|
||
"description" : "The state or province from where the car is rented.\n* Format: Alphanumeric\n* maxLength: 3",
|
||
"type" : "string"
|
||
},
|
||
"carRental.noShowIndicator" : {
|
||
"description" : "Indicates if the customer was a \"no-show\" (neither keeps nor cancels their booking).\n* Y - Customer was a no show.\n* N - Not applicable.",
|
||
"type" : "string"
|
||
},
|
||
"carRental.oneWayDropOffCharges" : {
|
||
"description" : "Charge associated with not returning a vehicle to the original rental location.",
|
||
"type" : "string"
|
||
},
|
||
"carRental.rate" : {
|
||
"description" : "Daily rental rate.\n* Format: Alphanumeric\n* maxLength: 12",
|
||
"type" : "string"
|
||
},
|
||
"carRental.rateIndicator" : {
|
||
"description" : "Specifies whether the given rate is applied daily or weekly.\n* D - Daily rate.\n* W - Weekly rate.",
|
||
"type" : "string"
|
||
},
|
||
"carRental.rentalAgreementNumber" : {
|
||
"description" : "The rental agreement number associated with this car rental.\n* Format: Alphanumeric\n* maxLength: 9",
|
||
"type" : "string"
|
||
},
|
||
"carRental.rentalClassId" : {
|
||
"description" : "Daily rental rate.\n* Format: Alphanumeric\n* maxLength: 12",
|
||
"type" : "string"
|
||
},
|
||
"carRental.renterName" : {
|
||
"description" : "The name of the person renting the car.\n* Format: Alphanumeric\n* maxLength: 26",
|
||
"type" : "string"
|
||
},
|
||
"carRental.returnCity" : {
|
||
"description" : "The city where the car must be returned.\n* Format: Alphanumeric\n* maxLength: 18",
|
||
"type" : "string"
|
||
},
|
||
"carRental.returnCountry" : {
|
||
"description" : "The country where the car must be returned.\n* Format: Alphanumeric\n* maxLength: 2",
|
||
"type" : "string"
|
||
},
|
||
"carRental.returnDate" : {
|
||
"description" : "The last date to return the car by.\n* Date format: `yyyyMMdd`",
|
||
"type" : "string"
|
||
},
|
||
"carRental.returnLocationId" : {
|
||
"description" : "Agency code, phone number, or address abbreviation\n* Format: Alphanumeric\n* maxLength: 10",
|
||
"type" : "string"
|
||
},
|
||
"carRental.returnStateProvince" : {
|
||
"description" : "The state or province where the car must be returned.\n* Format: Alphanumeric\n* maxLength: 3",
|
||
"type" : "string"
|
||
},
|
||
"carRental.taxExemptIndicator" : {
|
||
"description" : "Indicates whether the goods or services were tax-exempt, or tax was not collected.\n\nValues:\n* Y - Goods or services were tax exempt\n* N - Tax was not collected",
|
||
"type" : "string"
|
||
},
|
||
"travelEntertainmentAuthData.duration" : {
|
||
"description" : "Number of nights. This should be included in the auth message.\n* Format: Numeric\n* maxLength: 2",
|
||
"type" : "string"
|
||
},
|
||
"travelEntertainmentAuthData.market" : {
|
||
"description" : "Indicates what market-specific dataset will be submitted or is being submitted. Value should be \"A\" for Car rental. This should be included in the auth message.\n* Format: Alphanumeric\n* maxLength: 1",
|
||
"type" : "string"
|
||
}
|
||
}
|
||
},
|
||
"AdditionalDataCommon" : {
|
||
"properties" : {
|
||
"RequestedTestErrorResponseCode" : {
|
||
"description" : "Triggers test scenarios that allow to replicate certain communication errors.\n\nAllowed values:\n* **NO_CONNECTION_AVAILABLE** – There wasn't a connection available to service the outgoing communication.\nThis is a transient, retriable error since no messaging could be initiated to an issuing system (or third-party acquiring system). Therefore, the header Transient-Error: true is returned in the response. A subsequent request using the same idempotency key will be processed as if it was the first request.\n* **IOEXCEPTION_RECEIVED** – Something went wrong during transmission of the message or receiving the response.\nThis is a classified as non-transient because the message could have been received by the issuing party and been acted upon. No transient error header is returned. If using idempotency, the (error) response is stored as the final result for the idempotency key. Subsequent messages with the same idempotency key not be processed beyond returning the stored response.",
|
||
"type" : "string"
|
||
},
|
||
"authorisationType" : {
|
||
"description" : "Flags a card payment request for either pre-authorisation or final authorisation. For more information, refer to [Authorisation types](https://docs.adyen.com/online-payments/adjust-authorisation#authorisation-types).\n\nAllowed values:\n* **PreAuth** – flags the payment request to be handled as a pre-authorisation.\n* **FinalAuth** – flags the payment request to be handled as a final authorisation.",
|
||
"type" : "string"
|
||
},
|
||
"customRoutingFlag" : {
|
||
"description" : "Allows you to determine or override the acquirer account that should be used for the transaction.\n\nIf you need to process a payment with an acquirer different from a default one, you can set up a corresponding configuration on the Adyen payments platform. Then you can pass a custom routing flag in a payment request's additional data to target a specific acquirer.\n\nTo enable this functionality, contact [Support](https://support.adyen.com/hc/en-us/requests/new).",
|
||
"type" : "string"
|
||
},
|
||
"industryUsage" : {
|
||
"description" : "In case of [asynchronous authorisation adjustment](https://docs.adyen.com/online-payments/adjust-authorisation#adjust-authorisation), this field denotes why the additional payment is made.\n\nPossible values:\n\n * **NoShow**: An incremental charge is carried out because of a no-show for a guaranteed reservation.\n\n * **DelayedCharge**: An incremental charge is carried out to process an additional payment after the original services have been rendered and the respective payment has been processed.",
|
||
"enum" : [
|
||
"NoShow",
|
||
"DelayedCharge"
|
||
],
|
||
"type" : "string"
|
||
},
|
||
"networkTxReference" : {
|
||
"description" : "Allows you to link the transaction to the original or previous one in a subscription/card-on-file chain. This field is required for token-based transactions where Adyen does not tokenize the card.\n\nTransaction identifier from card schemes, for example, Mastercard Trace ID or the Visa Transaction ID.\n\nSubmit the original transaction ID of the contract in your payment request if you are not tokenizing card details with Adyen and are making a merchant-initiated transaction (MIT) for subsequent charges.\n\nMake sure you are sending `shopperInteraction` **ContAuth** and `recurringProcessingModel` **Subscription** or **UnscheduledCardOnFile** to ensure that the transaction is classified as MIT.",
|
||
"type" : "string"
|
||
},
|
||
"overwriteBrand" : {
|
||
"description" : "Boolean indicator that can be optionally used for performing debit transactions on combo cards (for example, combo cards in Brazil). This is not mandatory but we recommend that you set this to true if you want to use the `selectedBrand` value to specify how to process the transaction.",
|
||
"type" : "string"
|
||
},
|
||
"subMerchantCity" : {
|
||
"description" : "This field is required if the transaction is performed by a registered payment facilitator. This field must contain the city of the actual merchant's address.\n* Format: alpha-numeric.\n* Maximum length: 13 characters.",
|
||
"type" : "string"
|
||
},
|
||
"subMerchantCountry" : {
|
||
"description" : "This field is required if the transaction is performed by a registered payment facilitator. This field must contain the three-letter country code of the actual merchant's address.\n* Format: alpha-numeric.\n* Fixed length: 3 characters.",
|
||
"type" : "string"
|
||
},
|
||
"subMerchantID" : {
|
||
"description" : "This field contains an identifier of the actual merchant when a transaction is submitted via a payment facilitator. The payment facilitator must send in this unique ID.\n\nA unique identifier per submerchant that is required if the transaction is performed by a registered payment facilitator.\n* Format: alpha-numeric.\n* Fixed length: 15 characters.",
|
||
"type" : "string"
|
||
},
|
||
"subMerchantName" : {
|
||
"description" : "This field is required if the transaction is performed by a registered payment facilitator. This field must contain the name of the actual merchant.\n* Format: alpha-numeric.\n* Maximum length: 22 characters.",
|
||
"type" : "string"
|
||
},
|
||
"subMerchantPostalCode" : {
|
||
"description" : "This field is required if the transaction is performed by a registered payment facilitator. This field must contain the postal code of the actual merchant's address.\n* Format: alpha-numeric.\n* Maximum length: 10 characters.",
|
||
"type" : "string"
|
||
},
|
||
"subMerchantState" : {
|
||
"description" : "This field is required if the transaction is performed by a registered payment facilitator, and if applicable to the country. This field must contain the state code of the actual merchant's address.\n* Format: alpha-numeric.\n* Maximum length: 3 characters.",
|
||
"type" : "string"
|
||
},
|
||
"subMerchantStreet" : {
|
||
"description" : "This field is required if the transaction is performed by a registered payment facilitator. This field must contain the street of the actual merchant's address.\n* Format: alpha-numeric.\n* Maximum length: 60 characters.",
|
||
"type" : "string"
|
||
},
|
||
"subMerchantTaxId" : {
|
||
"description" : "This field is required if the transaction is performed by a registered payment facilitator. This field must contain the tax ID of the actual merchant.\n* Format: alpha-numeric.\n* Fixed length: 11 or 14 characters.",
|
||
"type" : "string"
|
||
}
|
||
}
|
||
},
|
||
"AdditionalDataLevel23" : {
|
||
"properties" : {
|
||
"enhancedSchemeData.customerReference" : {
|
||
"description" : "Customer code, if supplied by a customer.\n\nEncoding: ASCII.\n\nMax length: 25 characters.\n\n> Required for Level 2 and Level 3 data.",
|
||
"type" : "string"
|
||
},
|
||
"enhancedSchemeData.destinationCountryCode" : {
|
||
"description" : "Destination country code.\n\nEncoding: ASCII.\n\nMax length: 3 characters.",
|
||
"type" : "string"
|
||
},
|
||
"enhancedSchemeData.destinationPostalCode" : {
|
||
"description" : "The postal code of a destination address.\n\nEncoding: ASCII.\n\nMax length: 10 characters.\n\n> Required for American Express.",
|
||
"type" : "string"
|
||
},
|
||
"enhancedSchemeData.destinationStateProvinceCode" : {
|
||
"description" : "Destination state or province code.\n\nEncoding: ASCII.Max length: 3 characters.",
|
||
"type" : "string"
|
||
},
|
||
"enhancedSchemeData.dutyAmount" : {
|
||
"description" : "Duty amount, in minor units.\n\nFor example, 2000 means USD 20.00.\n\nMax length: 12 characters.",
|
||
"type" : "string"
|
||
},
|
||
"enhancedSchemeData.freightAmount" : {
|
||
"description" : "Shipping amount, in minor units.\n\nFor example, 2000 means USD 20.00.\n\nMax length: 12 characters.",
|
||
"type" : "string"
|
||
},
|
||
"enhancedSchemeData.itemDetailLine[itemNr].commodityCode" : {
|
||
"description" : "Item commodity code.\n\nEncoding: ASCII.\n\nMax length: 12 characters.",
|
||
"type" : "string"
|
||
},
|
||
"enhancedSchemeData.itemDetailLine[itemNr].description" : {
|
||
"description" : "Item description.\n\nEncoding: ASCII.\n\nMax length: 26 characters.",
|
||
"type" : "string"
|
||
},
|
||
"enhancedSchemeData.itemDetailLine[itemNr].discountAmount" : {
|
||
"description" : "Discount amount, in minor units.\n\nFor example, 2000 means USD 20.00.\n\nMax length: 12 characters.",
|
||
"type" : "string"
|
||
},
|
||
"enhancedSchemeData.itemDetailLine[itemNr].productCode" : {
|
||
"description" : "Product code.\n\nEncoding: ASCII.\n\nMax length: 12 characters.",
|
||
"type" : "string"
|
||
},
|
||
"enhancedSchemeData.itemDetailLine[itemNr].quantity" : {
|
||
"description" : "Quantity, specified as an integer value.\n\nValue must be greater than 0.\n\nMax length: 12 characters.",
|
||
"type" : "string"
|
||
},
|
||
"enhancedSchemeData.itemDetailLine[itemNr].totalAmount" : {
|
||
"description" : "Total amount, in minor units.\n\nFor example, 2000 means USD 20.00.\n\nMax length: 12 characters.",
|
||
"type" : "string"
|
||
},
|
||
"enhancedSchemeData.itemDetailLine[itemNr].unitOfMeasure" : {
|
||
"description" : "Item unit of measurement.\n\nEncoding: ASCII.\n\nMax length: 3 characters.",
|
||
"type" : "string"
|
||
},
|
||
"enhancedSchemeData.itemDetailLine[itemNr].unitPrice" : {
|
||
"description" : "Unit price, specified in [minor units](https://docs.adyen.com/development-resources/currency-codes).\n\nMax length: 12 characters.",
|
||
"type" : "string"
|
||
},
|
||
"enhancedSchemeData.orderDate" : {
|
||
"description" : "Order date.\n* Format: `ddMMyy`\n\nEncoding: ASCII.\n\nMax length: 6 characters.",
|
||
"type" : "string"
|
||
},
|
||
"enhancedSchemeData.shipFromPostalCode" : {
|
||
"description" : "The postal code of a \"ship-from\" address.\n\nEncoding: ASCII.\n\nMax length: 10 characters.",
|
||
"type" : "string"
|
||
},
|
||
"enhancedSchemeData.totalTaxAmount" : {
|
||
"description" : "Total tax amount, in minor units.\n\nFor example, 2000 means USD 20.00.\n\nMax length: 12 characters.\n\n> Required for Level 2 and Level 3 data.",
|
||
"type" : "string"
|
||
}
|
||
}
|
||
},
|
||
"AdditionalDataLodging" : {
|
||
"properties" : {
|
||
"lodging.checkInDate" : {
|
||
"description" : "The arrival date.\n* Date format: `yyyyMMdd`",
|
||
"type" : "string"
|
||
},
|
||
"lodging.checkOutDate" : {
|
||
"description" : "The departure date.\n* Date format: `yyyyMMdd`",
|
||
"type" : "string"
|
||
},
|
||
"lodging.customerServiceTollFreeNumber" : {
|
||
"description" : "The toll free phone number for the hotel/lodgings.\n* Format: Alphanumeric\n* maxLength: 17",
|
||
"type" : "string"
|
||
},
|
||
"lodging.fireSafetyActIndicator" : {
|
||
"description" : "Identifies that the facility complies with the Hotel and Motel Fire Safety Act of 1990. Values can be: 'Y' or 'N'.\n* Format: Alphabetic\n* maxLength: 1",
|
||
"type" : "string"
|
||
},
|
||
"lodging.folioCashAdvances" : {
|
||
"description" : "The folio cash advances.\n* Format: Numeric\n* maxLength: 12",
|
||
"type" : "string"
|
||
},
|
||
"lodging.folioNumber" : {
|
||
"description" : "Card acceptor’s internal invoice or billing ID reference number.\n* Format: Alphanumeric\n* maxLength: 25",
|
||
"type" : "string"
|
||
},
|
||
"lodging.foodBeverageCharges" : {
|
||
"description" : "Any charges for food and beverages associated with the booking.\n* Format: Numeric\n* maxLength: 12",
|
||
"type" : "string"
|
||
},
|
||
"lodging.noShowIndicator" : {
|
||
"description" : "Indicates if the customer was a \"no-show\" (neither keeps nor cancels their booking).\n\nValue should be Y or N.\n* Format: Numeric\n* maxLength: 1",
|
||
"type" : "string"
|
||
},
|
||
"lodging.prepaidExpenses" : {
|
||
"description" : "Prepaid expenses for the booking.\n* Format: Numeric\n* maxLength: 12",
|
||
"type" : "string"
|
||
},
|
||
"lodging.propertyPhoneNumber" : {
|
||
"description" : "Identifies specific lodging property location by its local phone number.\n* Format: Alphanumeric\n* maxLength: 17",
|
||
"type" : "string"
|
||
},
|
||
"lodging.room1.numberOfNights" : {
|
||
"description" : "Total number of nights the room will be rented.\n* Format: Numeric\n* maxLength: 4",
|
||
"type" : "string"
|
||
},
|
||
"lodging.room1.rate" : {
|
||
"description" : "The rate of the room.\n* Format: Numeric\n* maxLength: 12",
|
||
"type" : "string"
|
||
},
|
||
"lodging.room1.tax" : {
|
||
"description" : "The total amount of tax to be paid.\n* Format: Numeric\n* maxLength: 12",
|
||
"type" : "string"
|
||
},
|
||
"lodging.totalRoomTax" : {
|
||
"description" : "Total room tax amount.\n* Format: Numeric\n* maxLength: 12",
|
||
"type" : "string"
|
||
},
|
||
"lodging.totalTax" : {
|
||
"description" : "Total tax amount.\n* Format: Numeric\n* maxLength: 12",
|
||
"type" : "string"
|
||
},
|
||
"travelEntertainmentAuthData.duration" : {
|
||
"description" : "Number of nights. This should be included in the auth message.\n* Format: Numeric\n* maxLength: 2",
|
||
"type" : "string"
|
||
},
|
||
"travelEntertainmentAuthData.market" : {
|
||
"description" : "Indicates what market-specific dataset will be submitted or is being submitted. Value should be \"H\" for Hotel. This should be included in the auth message.\n\n* Format: Alphanumeric\n* maxLength: 1",
|
||
"type" : "string"
|
||
}
|
||
}
|
||
},
|
||
"AdditionalDataOpenInvoice" : {
|
||
"properties" : {
|
||
"openinvoicedata.merchantData" : {
|
||
"description" : "Holds different merchant data points like product, purchase, customer, and so on. It takes data in a Base64 encoded string.\n\nThe `merchantData` parameter needs to be added to the `openinvoicedata` signature at the end.\n\nSince the field is optional, if it's not included it does not impact computing the merchant signature.\n\nApplies only to Klarna.\n\nYou can contact Klarna for the format and structure of the string.",
|
||
"type" : "string"
|
||
},
|
||
"openinvoicedata.numberOfLines" : {
|
||
"description" : "The number of invoice lines included in `openinvoicedata`.\n\nThere needs to be at least one line, so `numberOfLines` needs to be at least 1.",
|
||
"type" : "string"
|
||
},
|
||
"openinvoicedataLine[itemNr].currencyCode" : {
|
||
"description" : "The three-character ISO currency code.",
|
||
"type" : "string"
|
||
},
|
||
"openinvoicedataLine[itemNr].description" : {
|
||
"description" : "A text description of the product the invoice line refers to.",
|
||
"type" : "string"
|
||
},
|
||
"openinvoicedataLine[itemNr].itemAmount" : {
|
||
"description" : "The price for one item in the invoice line, represented in minor units.\n\nThe due amount for the item, VAT excluded.",
|
||
"type" : "string"
|
||
},
|
||
"openinvoicedataLine[itemNr].itemId" : {
|
||
"description" : "A unique id for this item. Required for RatePay if the description of each item is not unique.",
|
||
"type" : "string"
|
||
},
|
||
"openinvoicedataLine[itemNr].itemVatAmount" : {
|
||
"description" : "The VAT due for one item in the invoice line, represented in minor units.",
|
||
"type" : "string"
|
||
},
|
||
"openinvoicedataLine[itemNr].itemVatPercentage" : {
|
||
"description" : "The VAT percentage for one item in the invoice line, represented in minor units.\n\nFor example, 19% VAT is specified as 1900.",
|
||
"type" : "string"
|
||
},
|
||
"openinvoicedataLine[itemNr].numberOfItems" : {
|
||
"description" : "The number of units purchased of a specific product.",
|
||
"type" : "string"
|
||
},
|
||
"openinvoicedataLine[itemNr].returnShippingCompany" : {
|
||
"description" : "Name of the shipping company handling the the return shipment.",
|
||
"type" : "string"
|
||
},
|
||
"openinvoicedataLine[itemNr].returnTrackingNumber" : {
|
||
"description" : "The tracking number for the return of the shipment.",
|
||
"type" : "string"
|
||
},
|
||
"openinvoicedataLine[itemNr].returnTrackingUri" : {
|
||
"description" : "URI where the customer can track the return of their shipment.",
|
||
"type" : "string"
|
||
},
|
||
"openinvoicedataLine[itemNr].shippingCompany" : {
|
||
"description" : "Name of the shipping company handling the delivery.",
|
||
"type" : "string"
|
||
},
|
||
"openinvoicedataLine[itemNr].shippingMethod" : {
|
||
"description" : "Shipping method.",
|
||
"type" : "string"
|
||
},
|
||
"openinvoicedataLine[itemNr].trackingNumber" : {
|
||
"description" : "The tracking number for the shipment.",
|
||
"type" : "string"
|
||
},
|
||
"openinvoicedataLine[itemNr].trackingUri" : {
|
||
"description" : "URI where the customer can track their shipment.",
|
||
"type" : "string"
|
||
},
|
||
"openinvoicedataLine[itemNr].vatCategory" : {
|
||
"description" : "Required for AfterPay. The country-specific VAT category a product falls under.\n\nAllowed values:\n* High\n* Low\n* None.",
|
||
"type" : "string"
|
||
}
|
||
}
|
||
},
|
||
"AdditionalDataOpi" : {
|
||
"properties" : {
|
||
"opi.includeTransToken" : {
|
||
"description" : "Optional boolean indicator. Set to **true** if you want an ecommerce transaction to return an `opi.transToken` as additional data in the response.\n\nYou can store this Oracle Payment Interface token in your Oracle Opera database. For more information and required settings, see [Oracle Opera](https://docs.adyen.com/plugins/oracle-opera#opi-token-ecommerce).",
|
||
"type" : "string"
|
||
}
|
||
}
|
||
},
|
||
"AdditionalDataRatepay" : {
|
||
"properties" : {
|
||
"ratepay.installmentAmount" : {
|
||
"description" : "Amount the customer has to pay each month.",
|
||
"type" : "string"
|
||
},
|
||
"ratepay.interestRate" : {
|
||
"description" : "Interest rate of this installment.",
|
||
"type" : "string"
|
||
},
|
||
"ratepay.lastInstallmentAmount" : {
|
||
"description" : "Amount of the last installment.",
|
||
"type" : "string"
|
||
},
|
||
"ratepay.paymentFirstday" : {
|
||
"description" : "Calendar day of the first payment.",
|
||
"type" : "string"
|
||
},
|
||
"ratepaydata.deliveryDate" : {
|
||
"description" : "Date the merchant delivered the goods to the customer.",
|
||
"type" : "string"
|
||
},
|
||
"ratepaydata.dueDate" : {
|
||
"description" : "Date by which the customer must settle the payment.",
|
||
"type" : "string"
|
||
},
|
||
"ratepaydata.invoiceDate" : {
|
||
"description" : "Invoice date, defined by the merchant. If not included, the invoice date is set to the delivery date.",
|
||
"type" : "string"
|
||
},
|
||
"ratepaydata.invoiceId" : {
|
||
"description" : "Identification name or number for the invoice, defined by the merchant.",
|
||
"type" : "string"
|
||
}
|
||
}
|
||
},
|
||
"AdditionalDataRetry" : {
|
||
"properties" : {
|
||
"retry.chainAttemptNumber" : {
|
||
"description" : "The number of times the transaction (not order) has been retried between different payment service providers. For instance, the `chainAttemptNumber` set to 2 means that this transaction has been recently tried on another provider before being sent to Adyen.\n\n> If you submit `retry.chainAttemptNumber`, `retry.orderAttemptNumber`, and `retry.skipRetry` values, we also recommend you provide the `merchantOrderReference` to facilitate linking payment attempts together.",
|
||
"type" : "string"
|
||
},
|
||
"retry.orderAttemptNumber" : {
|
||
"description" : "The index of the attempt to bill a particular order, which is identified by the `merchantOrderReference` field. For example, if a recurring transaction fails and is retried one day later, then the order number for these attempts would be 1 and 2, respectively.\n\n> If you submit `retry.chainAttemptNumber`, `retry.orderAttemptNumber`, and `retry.skipRetry` values, we also recommend you provide the `merchantOrderReference` to facilitate linking payment attempts together.",
|
||
"type" : "string"
|
||
},
|
||
"retry.skipRetry" : {
|
||
"description" : "The Boolean value indicating whether Adyen should skip or retry this transaction, if possible.\n\n> If you submit `retry.chainAttemptNumber`, `retry.orderAttemptNumber`, and `retry.skipRetry` values, we also recommend you provide the `merchantOrderReference` to facilitate linking payment attempts together.",
|
||
"type" : "string"
|
||
}
|
||
}
|
||
},
|
||
"AdditionalDataRisk" : {
|
||
"properties" : {
|
||
"riskdata.[customFieldName]" : {
|
||
"description" : "The data for your custom risk field. For more information, refer to [Create custom risk fields](https://docs.adyen.com/risk-management/configure-custom-risk-rules#step-1-create-custom-risk-fields).",
|
||
"type" : "string"
|
||
},
|
||
"riskdata.basket.item[itemNr].amountPerItem" : {
|
||
"description" : "The price of item in the basket, represented in [minor units](https://docs.adyen.com/development-resources/currency-codes).",
|
||
"type" : "string"
|
||
},
|
||
"riskdata.basket.item[itemNr].brand" : {
|
||
"description" : "Brand of the item.",
|
||
"type" : "string"
|
||
},
|
||
"riskdata.basket.item[itemNr].category" : {
|
||
"description" : "Category of the item.",
|
||
"type" : "string"
|
||
},
|
||
"riskdata.basket.item[itemNr].color" : {
|
||
"description" : "Color of the item.",
|
||
"type" : "string"
|
||
},
|
||
"riskdata.basket.item[itemNr].currency" : {
|
||
"description" : "The three-character [ISO currency code](https://en.wikipedia.org/wiki/ISO_4217).",
|
||
"type" : "string"
|
||
},
|
||
"riskdata.basket.item[itemNr].itemID" : {
|
||
"description" : "ID of the item.",
|
||
"type" : "string"
|
||
},
|
||
"riskdata.basket.item[itemNr].manufacturer" : {
|
||
"description" : "Manufacturer of the item.",
|
||
"type" : "string"
|
||
},
|
||
"riskdata.basket.item[itemNr].productTitle" : {
|
||
"description" : "A text description of the product the invoice line refers to.",
|
||
"type" : "string"
|
||
},
|
||
"riskdata.basket.item[itemNr].quantity" : {
|
||
"description" : "Quantity of the item purchased.",
|
||
"type" : "string"
|
||
},
|
||
"riskdata.basket.item[itemNr].receiverEmail" : {
|
||
"description" : "Email associated with the given product in the basket (usually in electronic gift cards).",
|
||
"type" : "string"
|
||
},
|
||
"riskdata.basket.item[itemNr].size" : {
|
||
"description" : "Size of the item.",
|
||
"type" : "string"
|
||
},
|
||
"riskdata.basket.item[itemNr].sku" : {
|
||
"description" : "[Stock keeping unit](https://en.wikipedia.org/wiki/Stock_keeping_unit).",
|
||
"type" : "string"
|
||
},
|
||
"riskdata.basket.item[itemNr].upc" : {
|
||
"description" : "[Universal Product Code](https://en.wikipedia.org/wiki/Universal_Product_Code).",
|
||
"type" : "string"
|
||
},
|
||
"riskdata.promotions.promotion[itemNr].promotionCode" : {
|
||
"description" : "Code of the promotion.",
|
||
"type" : "string"
|
||
},
|
||
"riskdata.promotions.promotion[itemNr].promotionDiscountAmount" : {
|
||
"description" : "The discount amount of the promotion, represented in [minor units](https://docs.adyen.com/development-resources/currency-codes).",
|
||
"type" : "string"
|
||
},
|
||
"riskdata.promotions.promotion[itemNr].promotionDiscountCurrency" : {
|
||
"description" : "The three-character [ISO currency code](https://en.wikipedia.org/wiki/ISO_4217).",
|
||
"type" : "string"
|
||
},
|
||
"riskdata.promotions.promotion[itemNr].promotionDiscountPercentage" : {
|
||
"description" : "Promotion's percentage discount. It is represented in percentage value and there is no need to include the '%' sign.\n\ne.g. for a promotion discount of 30%, the value of the field should be 30.",
|
||
"type" : "string"
|
||
},
|
||
"riskdata.promotions.promotion[itemNr].promotionName" : {
|
||
"description" : "Name of the promotion.",
|
||
"type" : "string"
|
||
},
|
||
"riskdata.riskProfileReference" : {
|
||
"description" : "Reference number of the risk profile that you want to apply to the payment. If not provided or left blank, the merchant-level account's default risk profile will be applied to the payment. For more information, see [dynamically assign a risk profile to a payment](https://docs.adyen.com/risk-management/create-and-use-risk-profiles#dynamically-assign-a-risk-profile-to-a-payment).",
|
||
"type" : "string"
|
||
}
|
||
}
|
||
},
|
||
"AdditionalDataRiskStandalone" : {
|
||
"properties" : {
|
||
"PayPal.CountryCode" : {
|
||
"description" : "Shopper's country of residence in the form of ISO standard 3166 2-character country codes.",
|
||
"type" : "string"
|
||
},
|
||
"PayPal.EmailId" : {
|
||
"description" : "Shopper's email.",
|
||
"type" : "string"
|
||
},
|
||
"PayPal.FirstName" : {
|
||
"description" : "Shopper's first name.",
|
||
"type" : "string"
|
||
},
|
||
"PayPal.LastName" : {
|
||
"description" : "Shopper's last name.",
|
||
"type" : "string"
|
||
},
|
||
"PayPal.PayerId" : {
|
||
"description" : "Unique PayPal Customer Account identification number. Character length and limitations: 13 single-byte alphanumeric characters.",
|
||
"type" : "string"
|
||
},
|
||
"PayPal.Phone" : {
|
||
"description" : "Shopper's phone number.",
|
||
"type" : "string"
|
||
},
|
||
"PayPal.ProtectionEligibility" : {
|
||
"description" : "Allowed values:\n* **Eligible** — Merchant is protected by PayPal's Seller Protection Policy for Unauthorized Payments and Item Not Received.\n\n* **PartiallyEligible** — Merchant is protected by PayPal's Seller Protection Policy for Item Not Received.\n\n* **Ineligible** — Merchant is not protected under the Seller Protection Policy.",
|
||
"type" : "string"
|
||
},
|
||
"PayPal.TransactionId" : {
|
||
"description" : "Unique transaction ID of the payment.",
|
||
"type" : "string"
|
||
},
|
||
"avsResultRaw" : {
|
||
"description" : "Raw AVS result received from the acquirer, where available. Example: D",
|
||
"type" : "string"
|
||
},
|
||
"bin" : {
|
||
"description" : "The Bank Identification Number of a credit card, which is the first six digits of a card number. Required for [tokenized card request](https://docs.adyen.com/risk-management/standalone-risk#tokenised-pan-request).",
|
||
"type" : "string"
|
||
},
|
||
"cvcResultRaw" : {
|
||
"description" : "Raw CVC result received from the acquirer, where available. Example: 1",
|
||
"type" : "string"
|
||
},
|
||
"riskToken" : {
|
||
"description" : "Unique identifier or token for the shopper's card details.",
|
||
"type" : "string"
|
||
},
|
||
"threeDAuthenticated" : {
|
||
"description" : "A Boolean value indicating whether 3DS authentication was completed on this payment. Example: true",
|
||
"type" : "string"
|
||
},
|
||
"threeDOffered" : {
|
||
"description" : "A Boolean value indicating whether 3DS was offered for this payment. Example: true",
|
||
"type" : "string"
|
||
},
|
||
"tokenDataType" : {
|
||
"description" : "Required for PayPal payments only. The only supported value is: **paypal**.",
|
||
"type" : "string"
|
||
}
|
||
}
|
||
},
|
||
"AdditionalDataSubMerchant" : {
|
||
"properties" : {
|
||
"subMerchant.numberOfSubSellers" : {
|
||
"description" : "Required for transactions performed by registered payment facilitators. Indicates the number of sub-merchants contained in the request. For example, **3**.",
|
||
"type" : "string"
|
||
},
|
||
"subMerchant.subSeller[subSellerNr].city" : {
|
||
"description" : "Required for transactions performed by registered payment facilitators. The city of the sub-merchant's address.\n* Format: Alphanumeric\n* Maximum length: 13 characters",
|
||
"type" : "string"
|
||
},
|
||
"subMerchant.subSeller[subSellerNr].country" : {
|
||
"description" : "Required for transactions performed by registered payment facilitators. The three-letter country code of the sub-merchant's address. For example, **BRA** for Brazil. \n* Format: [ISO 3166-1 alpha-3](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3)\n* Fixed length: 3 characters",
|
||
"type" : "string"
|
||
},
|
||
"subMerchant.subSeller[subSellerNr].creditSettlementAccount" : {
|
||
"description" : "The sub-merchant's bank account number with the check digit number and without punctuations or dashes.\n* Format: Numeric\n* Maximum length: 12 digits",
|
||
"type" : "string"
|
||
},
|
||
"subMerchant.subSeller[subSellerNr].creditSettlementAccountType" : {
|
||
"description" : "A two-letter indicator of the type of the sub-merchant's bank account.\nPossible values:\n - **CC** - Checking account\n - **CD** - Deposit account\n - **PG** - Payments account\n - **PP** - Savings account\n",
|
||
"type" : "string"
|
||
},
|
||
"subMerchant.subSeller[subSellerNr].creditSettlementAgency" : {
|
||
"description" : "The four-digit branch code of the sub-merchant's bank, without the check digit, slashes, or dashes.\n* Format: Numeric\n* Fixed length: 4 digits",
|
||
"type" : "string"
|
||
},
|
||
"subMerchant.subSeller[subSellerNr].creditSettlementBank" : {
|
||
"description" : "The identifier of the sub-merchant's bank. In Brazil, this is the three-digit bank number format specified by the Central Bank of Brazil (BACEN).\n* Format: Numeric\n* Fixed length: 3 digits",
|
||
"type" : "string"
|
||
},
|
||
"subMerchant.subSeller[subSellerNr].debitSettlementAccount" : {
|
||
"description" : "The sub-merchant's bank account number with the check digit number and without punctuations or dashes.\n* Format: Numeric\n* Maximum length: 12 digits",
|
||
"type" : "string"
|
||
},
|
||
"subMerchant.subSeller[subSellerNr].debitSettlementAccountType" : {
|
||
"description" : "A two-letter indicator of the type of the sub-merchant's bank account.\nPossible values:\n - **CC** - Checking account\n - **CD** - Deposit account\n - **PG** - Payments account\n - **PP** - Savings account\n",
|
||
"type" : "string"
|
||
},
|
||
"subMerchant.subSeller[subSellerNr].debitSettlementAgency" : {
|
||
"description" : "The four-digit branch code of the sub-merchant's bank, without the check digit, slashes, or dashes.\n* Format: Numeric\n* Fixed length: 4 digits",
|
||
"type" : "string"
|
||
},
|
||
"subMerchant.subSeller[subSellerNr].debitSettlementBank" : {
|
||
"description" : "The identifier of the sub-merchant's bank. In Brazil, this is the three-digit bank number format specified by the Central Bank of Brazil (BACEN).\n* Format: Numeric\n* Fixed length: 3 digits",
|
||
"type" : "string"
|
||
},
|
||
"subMerchant.subSeller[subSellerNr].id" : {
|
||
"description" : "Required for transactions performed by registered payment facilitators. A unique identifier that you create for the sub-merchant, used by schemes to identify the sub-merchant. \n* Format: Alphanumeric\n* Maximum length: 15 characters",
|
||
"type" : "string"
|
||
},
|
||
"subMerchant.subSeller[subSellerNr].mcc" : {
|
||
"description" : "Required for transactions performed by registered payment facilitators. The sub-merchant's 4-digit Merchant Category Code (MCC). \n* Format: Numeric\n* Fixed length: 4 digits",
|
||
"type" : "string"
|
||
},
|
||
"subMerchant.subSeller[subSellerNr].name" : {
|
||
"description" : "Required for transactions performed by registered payment facilitators. The name of the sub-merchant. Based on scheme specifications, this value will overwrite the shopper statement that will appear in the card statement.\n* Format: Alphanumeric\n* Maximum length: 22 characters",
|
||
"type" : "string"
|
||
},
|
||
"subMerchant.subSeller[subSellerNr].postalCode" : {
|
||
"description" : "Required for transactions performed by registered payment facilitators. The postal code of the sub-merchant's address, without dashes.\n* Format: Numeric\n* Fixed length: 8 digits",
|
||
"type" : "string"
|
||
},
|
||
"subMerchant.subSeller[subSellerNr].state" : {
|
||
"description" : "Required for transactions performed by registered payment facilitators. The state code of the sub-merchant's address, if applicable to the country.\n* Format: Alphanumeric\n* Maximum length: 2 characters",
|
||
"type" : "string"
|
||
},
|
||
"subMerchant.subSeller[subSellerNr].street" : {
|
||
"description" : "Required for transactions performed by registered payment facilitators. The street name and house number of the sub-merchant's address.\n* Format: Alphanumeric\n* Maximum length: 60 characters",
|
||
"type" : "string"
|
||
},
|
||
"subMerchant.subSeller[subSellerNr].taxId" : {
|
||
"description" : "Required for transactions performed by registered payment facilitators. The tax ID of the sub-merchant.\n* Format: Numeric\n* Fixed length: 11 digits for the CPF or 14 digits for the CNPJ",
|
||
"type" : "string"
|
||
}
|
||
}
|
||
},
|
||
"AdditionalDataTemporaryServices" : {
|
||
"properties" : {
|
||
"enhancedSchemeData.customerReference" : {
|
||
"description" : "Customer code, if supplied by a customer.\n* Encoding: ASCII\n* maxLength: 25",
|
||
"type" : "string"
|
||
},
|
||
"enhancedSchemeData.employeeName" : {
|
||
"description" : "Name or ID associated with the individual working in a temporary capacity.\n* maxLength: 40",
|
||
"type" : "string"
|
||
},
|
||
"enhancedSchemeData.jobDescription" : {
|
||
"description" : "Description of the job or task of the individual working in a temporary capacity.\n* maxLength: 40",
|
||
"type" : "string"
|
||
},
|
||
"enhancedSchemeData.regularHoursRate" : {
|
||
"description" : "Amount paid per regular hours worked, minor units.\n* maxLength: 7",
|
||
"type" : "string"
|
||
},
|
||
"enhancedSchemeData.regularHoursWorked" : {
|
||
"description" : "Amount of time worked during a normal operation for the task or job.\n* maxLength: 7",
|
||
"type" : "string"
|
||
},
|
||
"enhancedSchemeData.requestName" : {
|
||
"description" : "Name of the individual requesting temporary services.\n* maxLength: 40",
|
||
"type" : "string"
|
||
},
|
||
"enhancedSchemeData.tempStartDate" : {
|
||
"description" : "Date for the beginning of the pay period.\n* Format: ddMMyy\n* maxLength: 6",
|
||
"type" : "string"
|
||
},
|
||
"enhancedSchemeData.tempWeekEnding" : {
|
||
"description" : "Date of the end of the billing cycle.\n* Format: ddMMyy\n* maxLength: 6",
|
||
"type" : "string"
|
||
},
|
||
"enhancedSchemeData.totalTaxAmount" : {
|
||
"description" : "Total tax amount, in minor units. For example, 2000 means USD 20.00\n* maxLength: 12",
|
||
"type" : "string"
|
||
}
|
||
}
|
||
},
|
||
"AdditionalDataWallets" : {
|
||
"properties" : {
|
||
"androidpay.token" : {
|
||
"description" : "The Android Pay token retrieved from the SDK.",
|
||
"type" : "string"
|
||
},
|
||
"masterpass.transactionId" : {
|
||
"description" : "The Mastercard Masterpass Transaction ID retrieved from the SDK.",
|
||
"type" : "string"
|
||
},
|
||
"payment.token" : {
|
||
"description" : "The Apple Pay token retrieved from the SDK.",
|
||
"type" : "string"
|
||
},
|
||
"paywithgoogle.token" : {
|
||
"description" : "The Google Pay token retrieved from the SDK.",
|
||
"type" : "string"
|
||
},
|
||
"samsungpay.token" : {
|
||
"description" : "The Samsung Pay token retrieved from the SDK.",
|
||
"type" : "string"
|
||
},
|
||
"visacheckout.callId" : {
|
||
"description" : "The Visa Checkout Call ID retrieved from the SDK.",
|
||
"type" : "string"
|
||
}
|
||
}
|
||
},
|
||
"Address" : {
|
||
"properties" : {
|
||
"city" : {
|
||
"description" : "The name of the city.",
|
||
"type" : "string"
|
||
},
|
||
"country" : {
|
||
"description" : "The two-character country code as defined in ISO-3166-1 alpha-2. For example, **US**.\n> If you don't know the country or are not collecting the country from the shopper, provide `country` as `ZZ`.",
|
||
"type" : "string"
|
||
},
|
||
"houseNumberOrName" : {
|
||
"description" : "The number or name of the house.",
|
||
"type" : "string"
|
||
},
|
||
"postalCode" : {
|
||
"description" : "A maximum of five digits for an address in the US, or a maximum of ten characters for an address in all other countries.",
|
||
"type" : "string"
|
||
},
|
||
"stateOrProvince" : {
|
||
"description" : "State or province codes as defined in ISO 3166-2. For example, **CA** in the US or **ON** in Canada.\n> Required for the US and Canada.",
|
||
"type" : "string"
|
||
},
|
||
"street" : {
|
||
"description" : "The name of the street.\n> The house number should not be included in this field; it should be separately provided via `houseNumberOrName`.",
|
||
"type" : "string"
|
||
}
|
||
},
|
||
"required" : [
|
||
"street",
|
||
"houseNumberOrName",
|
||
"city",
|
||
"postalCode",
|
||
"country"
|
||
]
|
||
},
|
||
"Amount" : {
|
||
"properties" : {
|
||
"currency" : {
|
||
"description" : "The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes).",
|
||
"maxLength" : 3,
|
||
"minLength" : 3,
|
||
"type" : "string"
|
||
},
|
||
"value" : {
|
||
"description" : "The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes).",
|
||
"format" : "int64",
|
||
"type" : "integer"
|
||
}
|
||
},
|
||
"required" : [
|
||
"value",
|
||
"currency"
|
||
]
|
||
},
|
||
"BankAccount" : {
|
||
"properties" : {
|
||
"bankAccountNumber" : {
|
||
"description" : "The bank account number (without separators).",
|
||
"type" : "string"
|
||
},
|
||
"bankCity" : {
|
||
"x-addedInVersion" : 18,
|
||
"description" : "The bank city.",
|
||
"type" : "string"
|
||
},
|
||
"bankLocationId" : {
|
||
"description" : "The location id of the bank. The field value is `nil` in most cases.",
|
||
"type" : "string"
|
||
},
|
||
"bankName" : {
|
||
"description" : "The name of the bank.",
|
||
"type" : "string"
|
||
},
|
||
"bic" : {
|
||
"description" : "The [Business Identifier Code](https://en.wikipedia.org/wiki/ISO_9362) (BIC) is the SWIFT address assigned to a bank. The field value is `nil` in most cases.",
|
||
"type" : "string"
|
||
},
|
||
"countryCode" : {
|
||
"description" : "Country code where the bank is located.\n\nA valid value is an ISO two-character country code (e.g. 'NL').",
|
||
"type" : "string"
|
||
},
|
||
"iban" : {
|
||
"description" : "The [International Bank Account Number](https://en.wikipedia.org/wiki/International_Bank_Account_Number) (IBAN).",
|
||
"type" : "string"
|
||
},
|
||
"ownerName" : {
|
||
"description" : "The name of the bank account holder.\nIf you submit a name with non-Latin characters, we automatically replace some of them with corresponding Latin characters to meet the FATF recommendations. For example:\n* χ12 is converted to ch12.\n* üA is converted to euA.\n* Peter Møller is converted to Peter Mller, because banks don't accept 'ø'.\nAfter replacement, the ownerName must have at least three alphanumeric characters (A-Z, a-z, 0-9), and at least one of them must be a valid Latin character (A-Z, a-z). For example:\n* John17 - allowed.\n* J17 - allowed.\n* 171 - not allowed.\n* John-7 - allowed.\n> If provided details don't match the required format, the response returns the error message: 203 'Invalid bank account holder name'.",
|
||
"type" : "string"
|
||
},
|
||
"taxId" : {
|
||
"x-addedInVersion" : 18,
|
||
"description" : "The bank account holder's tax ID.",
|
||
"type" : "string"
|
||
}
|
||
}
|
||
},
|
||
"BrowserInfo" : {
|
||
"properties" : {
|
||
"acceptHeader" : {
|
||
"description" : "The accept header value of the shopper's browser.",
|
||
"maxLength" : 50,
|
||
"minLength" : 10,
|
||
"type" : "string"
|
||
},
|
||
"userAgent" : {
|
||
"description" : "The user agent value of the shopper's browser.",
|
||
"maxLength" : 50,
|
||
"minLength" : 10,
|
||
"type" : "string"
|
||
}
|
||
},
|
||
"required" : [
|
||
"userAgent",
|
||
"acceptHeader"
|
||
]
|
||
},
|
||
"Card" : {
|
||
"properties" : {
|
||
"cvc" : {
|
||
"description" : "The [card verification code](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-security-code-cvc-cvv-cid) (1-20 characters). Depending on the card brand, it is known also as:\n* CVV2/CVC2 – length: 3 digits\n* CID – length: 4 digits\n> If you are using [Client-Side Encryption](https://docs.adyen.com/classic-integration/cse-integration-ecommerce), the CVC code is present in the encrypted data. You must never post the card details to the server.\n> This field must be always present in a [one-click payment request](https://docs.adyen.com/classic-integration/recurring-payments).\n> When this value is returned in a response, it is always empty because it is not stored.",
|
||
"maxLength" : 20,
|
||
"minLength" : 1,
|
||
"type" : "string"
|
||
},
|
||
"expiryMonth" : {
|
||
"description" : "The card expiry month.\nFormat: 2 digits, zero-padded for single digits. For example:\n* 03 = March\n* 11 = November",
|
||
"maxLength" : 2,
|
||
"minLength" : 1,
|
||
"type" : "string"
|
||
},
|
||
"expiryYear" : {
|
||
"description" : "The card expiry year.\nFormat: 4 digits. For example: 2020",
|
||
"maxLength" : 4,
|
||
"minLength" : 4,
|
||
"type" : "string"
|
||
},
|
||
"holderName" : {
|
||
"description" : "The name of the cardholder, as printed on the card.",
|
||
"maxLength" : 50,
|
||
"minLength" : 1,
|
||
"type" : "string"
|
||
},
|
||
"issueNumber" : {
|
||
"description" : "The issue number of the card (for some UK debit cards only).",
|
||
"maxLength" : 2,
|
||
"minLength" : 1,
|
||
"type" : "string"
|
||
},
|
||
"number" : {
|
||
"description" : "The card number (4-19 characters). Do not use any separators.\nWhen this value is returned in a response, only the last 4 digits of the card number are returned.",
|
||
"maxLength" : 19,
|
||
"minLength" : 4,
|
||
"type" : "string"
|
||
},
|
||
"startMonth" : {
|
||
"description" : "The month component of the start date (for some UK debit cards only).",
|
||
"maxLength" : 2,
|
||
"minLength" : 1,
|
||
"type" : "string"
|
||
},
|
||
"startYear" : {
|
||
"description" : "The year component of the start date (for some UK debit cards only).",
|
||
"maxLength" : 4,
|
||
"minLength" : 4,
|
||
"type" : "string"
|
||
}
|
||
},
|
||
"required" : [
|
||
"number",
|
||
"expiryMonth",
|
||
"expiryYear",
|
||
"holderName"
|
||
]
|
||
},
|
||
"ForexQuote" : {
|
||
"properties" : {
|
||
"account" : {
|
||
"description" : "The account name.",
|
||
"type" : "string"
|
||
},
|
||
"accountType" : {
|
||
"description" : "The account type.",
|
||
"type" : "string"
|
||
},
|
||
"baseAmount" : {
|
||
"description" : "The base amount.",
|
||
"$ref" : "#/components/schemas/Amount"
|
||
},
|
||
"basePoints" : {
|
||
"description" : "The base points.",
|
||
"format" : "int32",
|
||
"type" : "integer"
|
||
},
|
||
"buy" : {
|
||
"description" : "The buy rate.",
|
||
"$ref" : "#/components/schemas/Amount"
|
||
},
|
||
"interbank" : {
|
||
"description" : "The interbank amount.",
|
||
"$ref" : "#/components/schemas/Amount"
|
||
},
|
||
"reference" : {
|
||
"description" : "The reference assigned to the forex quote request.",
|
||
"type" : "string"
|
||
},
|
||
"sell" : {
|
||
"description" : "The sell rate.",
|
||
"$ref" : "#/components/schemas/Amount"
|
||
},
|
||
"signature" : {
|
||
"description" : "The signature to validate the integrity.",
|
||
"type" : "string"
|
||
},
|
||
"source" : {
|
||
"description" : "The source of the forex quote.",
|
||
"type" : "string"
|
||
},
|
||
"type" : {
|
||
"description" : "The type of forex.",
|
||
"type" : "string"
|
||
},
|
||
"validTill" : {
|
||
"description" : "The date until which the forex quote is valid.",
|
||
"format" : "date-time",
|
||
"type" : "string"
|
||
}
|
||
},
|
||
"required" : [
|
||
"validTill",
|
||
"basePoints"
|
||
]
|
||
},
|
||
"FraudCheckResult" : {
|
||
"properties" : {
|
||
"accountScore" : {
|
||
"description" : "The fraud score generated by the risk check.",
|
||
"format" : "int32",
|
||
"type" : "integer"
|
||
},
|
||
"checkId" : {
|
||
"description" : "The ID of the risk check.",
|
||
"format" : "int32",
|
||
"type" : "integer"
|
||
},
|
||
"name" : {
|
||
"description" : "The name of the risk check.",
|
||
"type" : "string"
|
||
}
|
||
},
|
||
"required" : [
|
||
"checkId",
|
||
"name",
|
||
"accountScore"
|
||
]
|
||
},
|
||
"FraudResult" : {
|
||
"properties" : {
|
||
"accountScore" : {
|
||
"description" : "The total fraud score generated by the risk checks.",
|
||
"format" : "int32",
|
||
"type" : "integer"
|
||
},
|
||
"results" : {
|
||
"description" : "The result of the individual risk checks.",
|
||
"items" : {
|
||
"$ref" : "#/components/schemas/FraudCheckResult"
|
||
},
|
||
"type" : "array"
|
||
}
|
||
},
|
||
"required" : [
|
||
"accountScore"
|
||
]
|
||
},
|
||
"FundSource" : {
|
||
"properties" : {
|
||
"additionalData" : {
|
||
"additionalProperties" : {
|
||
"type" : "string"
|
||
},
|
||
"description" : "a map of name/value pairs for passing in additional/industry-specific data",
|
||
"type" : "object"
|
||
},
|
||
"billingAddress" : {
|
||
"description" : "the address where to send the invoice",
|
||
"$ref" : "#/components/schemas/Address"
|
||
},
|
||
"card" : {
|
||
"description" : "a representation of a (credit or debit) card",
|
||
"$ref" : "#/components/schemas/Card"
|
||
},
|
||
"shopperEmail" : {
|
||
"description" : "the email address of the person",
|
||
"type" : "string"
|
||
},
|
||
"shopperName" : {
|
||
"description" : "the name of the person",
|
||
"$ref" : "#/components/schemas/Name"
|
||
},
|
||
"telephoneNumber" : {
|
||
"description" : "the telephone number of the person",
|
||
"type" : "string"
|
||
}
|
||
}
|
||
},
|
||
"Installments" : {
|
||
"properties" : {
|
||
"value" : {
|
||
"description" : "Defines the number of installments. Its value needs to be greater than zero.\n\nUsually, the maximum allowed number of installments is capped. For example, it may not be possible to split a payment in more than 24 installments. The acquirer sets this upper limit, so its value may vary.",
|
||
"format" : "int32",
|
||
"type" : "integer"
|
||
}
|
||
},
|
||
"required" : [
|
||
"value"
|
||
]
|
||
},
|
||
"Mandate" : {
|
||
"properties" : {
|
||
"amount" : {
|
||
"description" : "The billing amount of the recurring transactions.",
|
||
"type" : "string"
|
||
},
|
||
"amountRule" : {
|
||
"description" : "The limitation rule of the billing amount.\n\nPossible values:\n * **max**: The transaction amount can not exceed the `amount`.\n\n * **exact**: The transaction amount should be the same as the `amount`.\n\n",
|
||
"enum" : [
|
||
"max",
|
||
"exact"
|
||
],
|
||
"type" : "string"
|
||
},
|
||
"billingAttemptsRule" : {
|
||
"description" : "The rule to specify the period, within which the recurring debit can happen, relative to the mandate recurring date.\n\nPossible values:\n\n * **on**: On a specific date.\n\n * **before**: Before and on a specific date.\n\n * **after**: On and after a specific date.\n\n",
|
||
"enum" : [
|
||
"on",
|
||
"before",
|
||
"after"
|
||
],
|
||
"type" : "string"
|
||
},
|
||
"billingDay" : {
|
||
"description" : "The number of the day, on which the recurring debit can happen. Should be within the same calendar month as the mandate recurring date.\n\nPossible values: 1-31 based on the `frequency`.",
|
||
"type" : "string"
|
||
},
|
||
"endsAt" : {
|
||
"description" : "End date of the billing plan, in YYYY-MM-DD format.",
|
||
"type" : "string"
|
||
},
|
||
"frequency" : {
|
||
"description" : "The frequency with which a shopper should be charged.\n\nPossible values: **daily**, **weekly**, **biWeekly**, **monthly**, **quarterly**, **halfYearly**, **yearly**.",
|
||
"enum" : [
|
||
"adhoc",
|
||
"daily",
|
||
"weekly",
|
||
"biWeekly",
|
||
"monthly",
|
||
"quarterly",
|
||
"halfYearly",
|
||
"yearly"
|
||
],
|
||
"type" : "string"
|
||
},
|
||
"remarks" : {
|
||
"description" : "The message shown by UPI to the shopper on the approval screen.",
|
||
"type" : "string"
|
||
},
|
||
"startsAt" : {
|
||
"description" : "Start date of the billing plan, in YYYY-MM-DD format. By default, the transaction date.",
|
||
"type" : "string"
|
||
}
|
||
},
|
||
"required" : [
|
||
"frequency",
|
||
"amount",
|
||
"endsAt"
|
||
]
|
||
},
|
||
"ModifyRequest" : {
|
||
"properties" : {
|
||
"additionalData" : {
|
||
"additionalProperties" : {
|
||
"type" : "string"
|
||
},
|
||
"description" : "This field contains additional data, which may be required for a particular payout request.",
|
||
"type" : "object"
|
||
},
|
||
"merchantAccount" : {
|
||
"description" : "The merchant account identifier, with which you want to process the transaction.",
|
||
"type" : "string"
|
||
},
|
||
"originalReference" : {
|
||
"description" : "The PSP reference received in the `/submitThirdParty` response.",
|
||
"type" : "string"
|
||
}
|
||
},
|
||
"required" : [
|
||
"merchantAccount",
|
||
"originalReference"
|
||
]
|
||
},
|
||
"ModifyResponse" : {
|
||
"properties" : {
|
||
"additionalData" : {
|
||
"additionalProperties" : {
|
||
"type" : "string"
|
||
},
|
||
"description" : "This field contains additional data, which may be returned in a particular response.",
|
||
"type" : "object"
|
||
},
|
||
"pspReference" : {
|
||
"description" : "Adyen's 16-character string reference associated with the transaction. This value is globally unique; quote it when communicating with us about this response.",
|
||
"type" : "string"
|
||
},
|
||
"response" : {
|
||
"description" : "The response:\n* In case of success, it is either `payout-confirm-received` or `payout-decline-received`.\n* In case of an error, an informational message is returned.",
|
||
"type" : "string"
|
||
}
|
||
},
|
||
"required" : [
|
||
"pspReference",
|
||
"response"
|
||
]
|
||
},
|
||
"Name" : {
|
||
"properties" : {
|
||
"firstName" : {
|
||
"description" : "The first name.",
|
||
"type" : "string"
|
||
},
|
||
"infix" : {
|
||
"description" : "The name's infix, if applicable.\n>A maximum length of twenty (20) characters is imposed.",
|
||
"type" : "string"
|
||
},
|
||
"lastName" : {
|
||
"description" : "The last name.",
|
||
"type" : "string"
|
||
}
|
||
},
|
||
"required" : [
|
||
"firstName",
|
||
"lastName"
|
||
]
|
||
},
|
||
"PayoutRequest" : {
|
||
"properties" : {
|
||
"additionalAmount" : {
|
||
"description" : "If you want a [BIN or card verification](https://docs.adyen.com/payment-methods/cards/bin-data-and-card-verification) request to use a non-zero value, assign this value to `additionalAmount` (while the amount must be still set to 0 to trigger BIN or card verification).\nRequired to be in the same currency as the `amount`. ",
|
||
"$ref" : "#/components/schemas/Amount"
|
||
},
|
||
"additionalData" : {
|
||
"additionalProperties" : {
|
||
"type" : "string"
|
||
},
|
||
"x-anyOf" : [
|
||
{
|
||
"$ref" : "#/components/schemas/AdditionalData3DSecure"
|
||
},
|
||
{
|
||
"$ref" : "#/components/schemas/AdditionalDataAirline"
|
||
},
|
||
{
|
||
"$ref" : "#/components/schemas/AdditionalDataCarRental"
|
||
},
|
||
{
|
||
"$ref" : "#/components/schemas/AdditionalDataCommon"
|
||
},
|
||
{
|
||
"$ref" : "#/components/schemas/AdditionalDataLevel23"
|
||
},
|
||
{
|
||
"$ref" : "#/components/schemas/AdditionalDataLodging"
|
||
},
|
||
{
|
||
"$ref" : "#/components/schemas/AdditionalDataOpenInvoice"
|
||
},
|
||
{
|
||
"$ref" : "#/components/schemas/AdditionalDataOpi"
|
||
},
|
||
{
|
||
"$ref" : "#/components/schemas/AdditionalDataRatepay"
|
||
},
|
||
{
|
||
"$ref" : "#/components/schemas/AdditionalDataRetry"
|
||
},
|
||
{
|
||
"$ref" : "#/components/schemas/AdditionalDataRisk"
|
||
},
|
||
{
|
||
"$ref" : "#/components/schemas/AdditionalDataRiskStandalone"
|
||
},
|
||
{
|
||
"$ref" : "#/components/schemas/AdditionalDataSubMerchant"
|
||
},
|
||
{
|
||
"$ref" : "#/components/schemas/AdditionalDataTemporaryServices"
|
||
},
|
||
{
|
||
"$ref" : "#/components/schemas/AdditionalDataWallets"
|
||
}
|
||
],
|
||
"description" : "This field contains additional data, which may be required for a particular payment request.\n\nThe `additionalData` object consists of entries, each of which includes the key and value.",
|
||
"type" : "object"
|
||
},
|
||
"amount" : {
|
||
"description" : "The amount information for the transaction (in [minor units](https://docs.adyen.com/development-resources/currency-codes)). For [BIN or card verification](https://docs.adyen.com/payment-methods/cards/bin-data-and-card-verification) requests, set amount to 0 (zero).",
|
||
"$ref" : "#/components/schemas/Amount"
|
||
},
|
||
"bankAccount" : {
|
||
"description" : "The details of the bank account, from which the payment should be made.\n> Either `bankAccount` or `card` field must be provided in a payment request.",
|
||
"$ref" : "#/components/schemas/BankAccount"
|
||
},
|
||
"billingAddress" : {
|
||
"x-addedInVersion" : 4,
|
||
"description" : "The address where to send the invoice.\n> For 3D Secure 2 transactions, schemes require `billingAddress` for all browser-based and mobile implementations. Include all of the fields within this object.",
|
||
"$ref" : "#/components/schemas/Address"
|
||
},
|
||
"browserInfo" : {
|
||
"description" : "The shopper's browser information.\n> For 3D Secure, the full object is required for web integrations. For mobile app integrations, include the `userAgent` and `acceptHeader` fields to indicate that your integration can support a redirect in case a payment is routed to 3D Secure 1.",
|
||
"$ref" : "#/components/schemas/BrowserInfo"
|
||
},
|
||
"captureDelayHours" : {
|
||
"x-addedInVersion" : 2,
|
||
"description" : "The delay between the authorisation and scheduled auto-capture, specified in hours.",
|
||
"format" : "int32",
|
||
"type" : "integer"
|
||
},
|
||
"card" : {
|
||
"description" : "A container for card data.\n> Either `bankAccount` or `card` field must be provided in a payment request.",
|
||
"$ref" : "#/components/schemas/Card"
|
||
},
|
||
"dateOfBirth" : {
|
||
"x-addedInVersion" : 7,
|
||
"description" : "The shopper's date of birth.\n\nFormat [ISO-8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DD",
|
||
"format" : "date-time",
|
||
"type" : "string"
|
||
},
|
||
"dccQuote" : {
|
||
"description" : "The forex quote as returned in the response of the forex service.",
|
||
"$ref" : "#/components/schemas/ForexQuote"
|
||
},
|
||
"deliveryAddress" : {
|
||
"description" : "The address where the purchased goods should be delivered.",
|
||
"$ref" : "#/components/schemas/Address"
|
||
},
|
||
"deliveryDate" : {
|
||
"x-addedInVersion" : 8,
|
||
"description" : "The date and time the purchased goods should be delivered.\n\nFormat [ISO 8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DDThh:mm:ss.sssTZD\n\nExample: 2017-07-17T13:42:40.428+01:00",
|
||
"format" : "date-time",
|
||
"type" : "string"
|
||
},
|
||
"deviceFingerprint" : {
|
||
"x-addedInVersion" : 2,
|
||
"description" : "A string containing the shopper's device fingerprint. For more information, refer to [Device fingerprinting](https://docs.adyen.com/risk-management/device-fingerprinting).",
|
||
"type" : "string"
|
||
},
|
||
"entityType" : {
|
||
"x-addedInVersion" : 24,
|
||
"description" : "The type of the entity the payment is processed for.",
|
||
"enum" : [
|
||
"NaturalPerson",
|
||
"CompanyName"
|
||
],
|
||
"type" : "string"
|
||
},
|
||
"fraudOffset" : {
|
||
"description" : "An integer value that is added to the normal fraud score. The value can be either positive or negative.",
|
||
"format" : "int32",
|
||
"type" : "integer"
|
||
},
|
||
"fundSource" : {
|
||
"description" : "The person or entity funding the money.",
|
||
"$ref" : "#/components/schemas/FundSource"
|
||
},
|
||
"installments" : {
|
||
"x-addedInVersion" : 4,
|
||
"description" : "Contains installment settings. For more information, refer to [Installments](https://docs.adyen.com/payment-methods/cards/credit-card-installments).",
|
||
"$ref" : "#/components/schemas/Installments"
|
||
},
|
||
"mandate" : {
|
||
"description" : "The mandate details to initiate recurring transaction.",
|
||
"$ref" : "#/components/schemas/Mandate"
|
||
},
|
||
"mcc" : {
|
||
"x-addedInVersion" : 12,
|
||
"description" : "The [merchant category code](https://en.wikipedia.org/wiki/Merchant_category_code) (MCC) is a four-digit number, which relates to a particular market segment. This code reflects the predominant activity that is conducted by the merchant.",
|
||
"type" : "string"
|
||
},
|
||
"merchantAccount" : {
|
||
"description" : "The merchant account identifier, with which you want to process the transaction.",
|
||
"type" : "string"
|
||
},
|
||
"merchantOrderReference" : {
|
||
"x-addedInVersion" : 9,
|
||
"description" : "This reference allows linking multiple transactions to each other for reporting purposes (i.e. order auth-rate). The reference should be unique per billing cycle.\nThe same merchant order reference should never be reused after the first authorised attempt. If used, this field should be supplied for all incoming authorisations.\n> We strongly recommend you send the `merchantOrderReference` value to benefit from linking payment requests when authorisation retries take place. In addition, we recommend you provide `retry.orderAttemptNumber`, `retry.chainAttemptNumber`, and `retry.skipRetry` values in `PaymentRequest.additionalData`.",
|
||
"type" : "string"
|
||
},
|
||
"metadata" : {
|
||
"x-addedInVersion" : 17,
|
||
"additionalProperties" : {
|
||
"type" : "string"
|
||
},
|
||
"description" : "Metadata consists of entries, each of which includes a key and a value.\nLimitations: Maximum 20 key-value pairs per request. When exceeding, the \"177\" error occurs: \"Metadata size exceeds limit\".",
|
||
"type" : "object"
|
||
},
|
||
"mpiData" : {
|
||
"description" : "Authentication data produced by an MPI (Mastercard SecureCode or Visa Secure).",
|
||
"$ref" : "#/components/schemas/ThreeDSecureData"
|
||
},
|
||
"nationality" : {
|
||
"x-addedInVersion" : 24,
|
||
"description" : "The two-character country code of the shopper's nationality.",
|
||
"maxLength" : 2,
|
||
"type" : "string"
|
||
},
|
||
"orderReference" : {
|
||
"description" : "When you are doing multiple partial (gift card) payments, this is the `pspReference` of the first payment. We use this to link the multiple payments to each other. As your own reference for linking multiple payments, use the `merchantOrderReference`instead.",
|
||
"type" : "string"
|
||
},
|
||
"recurring" : {
|
||
"description" : "The recurring settings for the payment. Use this property when you want to enable [recurring payments](https://docs.adyen.com/classic-integration/recurring-payments).",
|
||
"$ref" : "#/components/schemas/Recurring"
|
||
},
|
||
"recurringProcessingModel" : {
|
||
"x-addedInVersion" : 30,
|
||
"description" : "Defines a recurring payment type.\nAllowed values:\n* `Subscription` – A transaction for a fixed or variable amount, which follows a fixed schedule.\n* `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.\n* `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.\n",
|
||
"enum" : [
|
||
"CardOnFile",
|
||
"Subscription",
|
||
"UnscheduledCardOnFile"
|
||
],
|
||
"type" : "string"
|
||
},
|
||
"reference" : {
|
||
"description" : "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.\nIf you need to provide multiple references for a transaction, separate them with hyphens (\"-\").\nMaximum length: 80 characters.",
|
||
"type" : "string"
|
||
},
|
||
"selectedBrand" : {
|
||
"description" : "Some payment methods require defining a value for this field to specify how to process the transaction.\n\nFor the Bancontact payment method, it can be set to:\n* `maestro` (default), to be processed like a Maestro card, or\n* `bcmc`, to be processed like a Bancontact card.",
|
||
"type" : "string"
|
||
},
|
||
"selectedRecurringDetailReference" : {
|
||
"description" : "The `recurringDetailReference` you want to use for this payment. The value `LATEST` can be used to select the most recently stored recurring detail.",
|
||
"type" : "string"
|
||
},
|
||
"sessionId" : {
|
||
"description" : "A session ID used to identify a payment session.",
|
||
"type" : "string"
|
||
},
|
||
"shopperEmail" : {
|
||
"description" : "The shopper's email address. We recommend that you provide this data, as it is used in velocity fraud checks.\n> For 3D Secure 2 transactions, schemes require `shopperEmail` for all browser-based and mobile implementations.",
|
||
"type" : "string"
|
||
},
|
||
"shopperIP" : {
|
||
"description" : "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).\n> For 3D Secure 2 transactions, schemes require `shopperIP` for all browser-based implementations.\nThis field is also mandatory for some merchants depending on your business model. For more information, [contact Support](https://support.adyen.com/hc/en-us/requests/new).",
|
||
"type" : "string"
|
||
},
|
||
"shopperInteraction" : {
|
||
"description" : "Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer.\nFor the web service API, Adyen assumes Ecommerce shopper interaction by default.\n\nThis field has the following possible values:\n* `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.\n* `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).\n* `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone.\n* `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal.",
|
||
"enum" : [
|
||
"Ecommerce",
|
||
"ContAuth",
|
||
"Moto",
|
||
"POS"
|
||
],
|
||
"type" : "string"
|
||
},
|
||
"shopperLocale" : {
|
||
"x-addedInVersion" : 7,
|
||
"description" : "The combination of a language code and a country code to specify the language to be used in the payment.",
|
||
"type" : "string"
|
||
},
|
||
"shopperName" : {
|
||
"x-addedInVersion" : 7,
|
||
"description" : "The shopper's full name.",
|
||
"$ref" : "#/components/schemas/Name"
|
||
},
|
||
"shopperReference" : {
|
||
"description" : "Your reference to uniquely identify this shopper (for example, user ID or account ID). Minimum length: 3 characters.\n> This field is required for recurring payments.",
|
||
"type" : "string"
|
||
},
|
||
"shopperStatement" : {
|
||
"description" : "The text to be shown on the shopper's bank statement. To enable this field, contact our [Support Team](https://support.adyen.com/hc/en-us/requests/new).\n We recommend sending a maximum of 25 characters, otherwise banks might truncate the string.",
|
||
"type" : "string"
|
||
},
|
||
"socialSecurityNumber" : {
|
||
"x-addedInVersion" : 4,
|
||
"description" : "The shopper's social security number.",
|
||
"type" : "string"
|
||
},
|
||
"store" : {
|
||
"x-addedInVersion" : 23,
|
||
"description" : "The physical store, for which this payment is processed.",
|
||
"maxLength" : 16,
|
||
"minLength" : 1,
|
||
"type" : "string"
|
||
},
|
||
"telephoneNumber" : {
|
||
"x-addedInVersion" : 7,
|
||
"description" : "The shopper's telephone number.",
|
||
"type" : "string"
|
||
},
|
||
"totalsGroup" : {
|
||
"x-addedInVersion" : 23,
|
||
"description" : "The reference value to aggregate sales totals in reporting. When not specified, the store field is used (if available).",
|
||
"maxLength" : 16,
|
||
"minLength" : 1,
|
||
"type" : "string"
|
||
}
|
||
},
|
||
"required" : [
|
||
"merchantAccount",
|
||
"reference",
|
||
"amount"
|
||
]
|
||
},
|
||
"PayoutResponse" : {
|
||
"properties" : {
|
||
"additionalData" : {
|
||
"additionalProperties" : {
|
||
"type" : "string"
|
||
},
|
||
"x-anyOf" : [
|
||
{
|
||
"$ref" : "#/components/schemas/ResponseAdditionalData3DSecure"
|
||
},
|
||
{
|
||
"$ref" : "#/components/schemas/ResponseAdditionalDataBillingAddress"
|
||
},
|
||
{
|
||
"$ref" : "#/components/schemas/ResponseAdditionalDataCard"
|
||
},
|
||
{
|
||
"$ref" : "#/components/schemas/ResponseAdditionalDataCommon"
|
||
},
|
||
{
|
||
"$ref" : "#/components/schemas/ResponseAdditionalDataDeliveryAddress"
|
||
},
|
||
{
|
||
"$ref" : "#/components/schemas/ResponseAdditionalDataInstallments"
|
||
},
|
||
{
|
||
"$ref" : "#/components/schemas/ResponseAdditionalDataNetworkTokens"
|
||
},
|
||
{
|
||
"$ref" : "#/components/schemas/ResponseAdditionalDataOpi"
|
||
},
|
||
{
|
||
"$ref" : "#/components/schemas/ResponseAdditionalDataPayPal"
|
||
},
|
||
{
|
||
"$ref" : "#/components/schemas/ResponseAdditionalDataSepa"
|
||
}
|
||
],
|
||
"description" : "This field contains additional data, which may be required to return in a particular payment response. To choose data fields to be returned, go to **Customer Area** > **Account** > **API URLs** > **Additional data settings**.",
|
||
"type" : "object"
|
||
},
|
||
"authCode" : {
|
||
"description" : "Authorisation code:\n* When the payment is authorised successfully, this field holds the authorisation code for the payment.\n* When the payment is not authorised, this field is empty.",
|
||
"type" : "string"
|
||
},
|
||
"dccAmount" : {
|
||
"description" : "Includes the currency of the conversion and the value of the transaction.\n> This value only applies if you have implemented Dynamic Currency Conversion. For more information, [contact Support](https://support.adyen.com/hc/en-us/requests/new).",
|
||
"$ref" : "#/components/schemas/Amount"
|
||
},
|
||
"dccSignature" : {
|
||
"description" : "Cryptographic signature used to verify `dccQuote`.\n> This value only applies if you have implemented Dynamic Currency Conversion. For more information, [contact Support](https://support.adyen.com/hc/en-us/requests/new).",
|
||
"type" : "string"
|
||
},
|
||
"fraudResult" : {
|
||
"description" : "The fraud result properties of the payment.",
|
||
"$ref" : "#/components/schemas/FraudResult"
|
||
},
|
||
"issuerUrl" : {
|
||
"description" : "The URL to direct the shopper to.\n> In case of SecurePlus, do not redirect a shopper to this URL.",
|
||
"type" : "string"
|
||
},
|
||
"md" : {
|
||
"description" : "The payment session.",
|
||
"type" : "string"
|
||
},
|
||
"paRequest" : {
|
||
"description" : "The 3D request data for the issuer.\n\nIf the value is **CUPSecurePlus-CollectSMSVerificationCode**, collect an SMS code from the shopper and pass it in the `/authorise3D` request. For more information, see [3D Secure](https://docs.adyen.com/classic-integration/3d-secure).",
|
||
"type" : "string"
|
||
},
|
||
"pspReference" : {
|
||
"description" : "Adyen's 16-character reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request.",
|
||
"type" : "string"
|
||
},
|
||
"refusalReason" : {
|
||
"description" : "If the payment's authorisation is refused or an error occurs during authorisation, this field holds Adyen's mapped reason for the refusal or a description of the error. When a transaction fails, the authorisation response includes `resultCode` and `refusalReason` values.\n\nFor more information, see [Refusal reasons](https://docs.adyen.com/development-resources/refusal-reasons).",
|
||
"type" : "string"
|
||
},
|
||
"resultCode" : {
|
||
"description" : "The result of the payment. For more information, see [Result codes](https://docs.adyen.com/online-payments/payment-result-codes).\n\nPossible values:\n\n* **AuthenticationFinished** – The payment has been successfully authenticated with 3D Secure 2. Returned for 3D Secure 2 authentication-only transactions.\n* **AuthenticationNotRequired** – The transaction does not require 3D Secure authentication. Returned for [standalone authentication-only integrations](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only).\n* **Authorised** – The payment was successfully authorised. This state serves as an indicator to proceed with the delivery of goods and services. This is a final state.\n* **Cancelled** – Indicates the payment has been cancelled (either by the shopper or the merchant) before processing was completed. This is a final state.\n* **ChallengeShopper** – The issuer requires further shopper interaction before the payment can be authenticated. Returned for 3D Secure 2 transactions.\n* **Error** – There was an error when the payment was being processed. The reason is given in the `refusalReason` field. This is a final state.\n* **IdentifyShopper** – The issuer requires the shopper's device fingerprint before the payment can be authenticated. Returned for 3D Secure 2 transactions.\n* **Pending** – Indicates that it is not possible to obtain the final status of the payment. This can happen if the systems providing final status information for the payment are unavailable, or if the shopper needs to take further action to complete the payment.\n* **PresentToShopper** – Indicates that the response contains additional information that you need to present to a shopper, so that they can use it to complete a payment.\n* **Received** – Indicates the payment has successfully been received by Adyen, and will be processed. This is the initial state for all payments.\n* **RedirectShopper** – Indicates the shopper should be redirected to an external web page or app to complete the authorisation.\n* **Refused** – Indicates the payment was refused. The reason is given in the `refusalReason` field. This is a final state.",
|
||
"enum" : [
|
||
"AuthenticationFinished",
|
||
"Authorised",
|
||
"Cancelled",
|
||
"ChallengeShopper",
|
||
"Error",
|
||
"IdentifyShopper",
|
||
"Pending",
|
||
"PresentToShopper",
|
||
"Received",
|
||
"RedirectShopper",
|
||
"Refused"
|
||
],
|
||
"type" : "string"
|
||
}
|
||
}
|
||
},
|
||
"Recurring" : {
|
||
"properties" : {
|
||
"contract" : {
|
||
"description" : "The type of recurring contract to be used.\nPossible values:\n* `ONECLICK` – Payment details can be used to initiate a one-click payment, where the shopper enters the [card security code (CVC/CVV)](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-security-code-cvc-cvv-cid).\n* `RECURRING` – Payment details can be used without the card security code to initiate [card-not-present transactions](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-not-present-cnp).\n* `ONECLICK,RECURRING` – Payment details can be used regardless of whether the shopper is on your site or not.\n* `PAYOUT` – Payment details can be used to [make a payout](https://docs.adyen.com/online-payments/online-payouts).",
|
||
"enum" : [
|
||
"ONECLICK",
|
||
"RECURRING",
|
||
"PAYOUT"
|
||
],
|
||
"type" : "string"
|
||
},
|
||
"recurringDetailName" : {
|
||
"description" : "A descriptive name for this detail.",
|
||
"type" : "string"
|
||
},
|
||
"tokenService" : {
|
||
"x-addedInVersion" : 25,
|
||
"description" : "The name of the token service.",
|
||
"enum" : [
|
||
"VISATOKENSERVICE",
|
||
"MCTOKENSERVICE"
|
||
],
|
||
"type" : "string"
|
||
}
|
||
}
|
||
},
|
||
"ResponseAdditionalData3DSecure" : {
|
||
"properties" : {
|
||
"scaExemptionRequested" : {
|
||
"description" : "Shows the [exemption type](https://docs.adyen.com/payments-fundamentals/psd2-sca-compliance-and-implementation-guide#specifypreferenceinyourapirequest) that Adyen requested for the payment.\n\n Possible values:\n* **lowValue** \n* **secureCorporate** \n* **trustedBeneficiary** \n* **transactionRiskAnalysis** ",
|
||
"type" : "string"
|
||
}
|
||
}
|
||
},
|
||
"ResponseAdditionalDataBillingAddress" : {
|
||
"properties" : {
|
||
"billingAddress.city" : {
|
||
"description" : "The billing address city passed in the payment request.",
|
||
"type" : "string"
|
||
},
|
||
"billingAddress.country" : {
|
||
"description" : "The billing address country passed in the payment request.\n\nExample: NL",
|
||
"type" : "string"
|
||
},
|
||
"billingAddress.houseNumberOrName" : {
|
||
"description" : "The billing address house number or name passed in the payment request.",
|
||
"type" : "string"
|
||
},
|
||
"billingAddress.postalCode" : {
|
||
"description" : "The billing address postal code passed in the payment request.\n\nExample: 1011 DJ",
|
||
"type" : "string"
|
||
},
|
||
"billingAddress.stateOrProvince" : {
|
||
"description" : "The billing address state or province passed in the payment request.\n\nExample: NH",
|
||
"type" : "string"
|
||
},
|
||
"billingAddress.street" : {
|
||
"description" : "The billing address street passed in the payment request.",
|
||
"type" : "string"
|
||
}
|
||
}
|
||
},
|
||
"ResponseAdditionalDataCard" : {
|
||
"properties" : {
|
||
"cardBin" : {
|
||
"description" : "The Bank Identification Number of a credit card, which is the first six digits of a card number.\n\nExample: 521234",
|
||
"type" : "string"
|
||
},
|
||
"cardHolderName" : {
|
||
"description" : "The cardholder name passed in the payment request.",
|
||
"type" : "string"
|
||
},
|
||
"cardIssuingBank" : {
|
||
"description" : "The bank or the financial institution granting lines of credit through card association branded payment cards. This information can be included when available.",
|
||
"type" : "string"
|
||
},
|
||
"cardIssuingCountry" : {
|
||
"description" : "The country where the card was issued.\n\nExample: US",
|
||
"type" : "string"
|
||
},
|
||
"cardIssuingCurrency" : {
|
||
"description" : "The currency in which the card is issued, if this information is available. Provided as the currency code or currency number from the ISO-4217 standard. \n\nExample: USD",
|
||
"type" : "string"
|
||
},
|
||
"cardPaymentMethod" : {
|
||
"description" : "The card payment method used for the transaction.\n\nExample: amex",
|
||
"type" : "string"
|
||
},
|
||
"cardSummary" : {
|
||
"description" : "The last four digits of a card number.\n\n> Returned only in case of a card payment.",
|
||
"type" : "string"
|
||
}
|
||
}
|
||
},
|
||
"ResponseAdditionalDataCommon" : {
|
||
"properties" : {
|
||
"acquirerAccountCode" : {
|
||
"description" : "The name of the Adyen acquirer account.\n\nExample: PayPalSandbox_TestAcquirer\n\n> Only relevant for PayPal transactions.",
|
||
"type" : "string"
|
||
},
|
||
"acquirerCode" : {
|
||
"description" : "The name of the acquirer processing the payment request.\n\nExample: TestPmmAcquirer",
|
||
"type" : "string"
|
||
},
|
||
"acquirerReference" : {
|
||
"description" : "The reference number that can be used for reconciliation in case a non-Adyen acquirer is used for settlement.\n\nExample: 7C9N3FNBKT9",
|
||
"type" : "string"
|
||
},
|
||
"alias" : {
|
||
"description" : "The Adyen alias of the card.\n\nExample: H167852639363479",
|
||
"type" : "string"
|
||
},
|
||
"aliasType" : {
|
||
"description" : "The type of the card alias.\n\nExample: Default",
|
||
"type" : "string"
|
||
},
|
||
"authCode" : {
|
||
"description" : "Authorisation code:\n* When the payment is authorised successfully, this field holds the authorisation code for the payment.\n* When the payment is not authorised, this field is empty.\n\nExample: 58747",
|
||
"type" : "string"
|
||
},
|
||
"authorisedAmountCurrency" : {
|
||
"description" : "The currency of the authorised amount, as a three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes).",
|
||
"type" : "string"
|
||
},
|
||
"authorisedAmountValue" : {
|
||
"description" : "Value of the amount authorised.\n\nThis amount is represented in minor units according to the [following table](https://docs.adyen.com/development-resources/currency-codes).",
|
||
"type" : "string"
|
||
},
|
||
"avsResult" : {
|
||
"description" : "The AVS result code of the payment, which provides information about the outcome of the AVS check.\n\nFor possible values, see [AVS](https://docs.adyen.com/risk-management/configure-standard-risk-rules/consistency-rules#billing-address-does-not-match-cardholder-address-avs).",
|
||
"type" : "string"
|
||
},
|
||
"avsResultRaw" : {
|
||
"description" : "Raw AVS result received from the acquirer, where available.\n\nExample: D",
|
||
"type" : "string"
|
||
},
|
||
"bic" : {
|
||
"description" : "BIC of a bank account.\n\nExample: TESTNL01\n\n> Only relevant for SEPA Direct Debit transactions.",
|
||
"type" : "string"
|
||
},
|
||
"dsTransID" : {
|
||
"description" : "Supported for 3D Secure 2. The unique transaction identifier assigned by the DS to identify a single transaction.",
|
||
"type" : "string"
|
||
},
|
||
"eci" : {
|
||
"description" : "The Electronic Commerce Indicator returned from the schemes for the 3DS payment session.\n\nExample: 02",
|
||
"type" : "string"
|
||
},
|
||
"expiryDate" : {
|
||
"description" : "The expiry date on the card.\n\nExample: 6/2016\n\n> Returned only in case of a card payment.",
|
||
"type" : "string"
|
||
},
|
||
"extraCostsCurrency" : {
|
||
"description" : "The currency of the extra amount charged due to additional amounts set in the skin used in the HPP payment request.\n\nExample: EUR",
|
||
"type" : "string"
|
||
},
|
||
"extraCostsValue" : {
|
||
"description" : "The value of the extra amount charged due to additional amounts set in the skin used in the HPP payment request. The amount is in minor units.",
|
||
"type" : "string"
|
||
},
|
||
"fraudCheck-[itemNr]-[FraudCheckname]" : {
|
||
"description" : "The fraud score due to a particular fraud check. The fraud check name is found in the key of the key-value pair.",
|
||
"type" : "string"
|
||
},
|
||
"fundingSource" : {
|
||
"description" : "Information regarding the funding type of the card. The possible return values are:\n* CHARGE\n* CREDIT\n* DEBIT\n* PREPAID\n* PREPAID_RELOADABLE\n\n* PREPAID_NONRELOADABLE\n* DEFFERED_DEBIT\n\n> This functionality requires additional configuration on Adyen's end. To enable it, contact the Support Team.\n\nFor receiving this field in the notification, enable **Include Funding Source** in **Notifications** > **Additional settings**.",
|
||
"type" : "string"
|
||
},
|
||
"fundsAvailability" : {
|
||
"description" : "Indicates availability of funds.\n\nVisa:\n* \"I\" (fast funds are supported)\n* \"N\" (otherwise)\n\nMastercard:\n* \"I\" (product type is Prepaid or Debit, or issuing country is in CEE/HGEM list)\n* \"N\" (otherwise)\n\n> Returned when you verify a card BIN or estimate costs, and only if payoutEligible is \"Y\" or \"D\".",
|
||
"type" : "string"
|
||
},
|
||
"inferredRefusalReason" : {
|
||
"description" : "Provides the more granular indication of why a transaction was refused. When a transaction fails with either \"Refused\", \"Restricted Card\", \"Transaction Not Permitted\", \"Not supported\" or \"DeclinedNon Generic\" refusalReason from the issuer, Adyen cross references its PSP-wide data for extra insight into the refusal reason. If an inferred refusal reason is available, the `inferredRefusalReason`, field is populated and the `refusalReason`, is set to \"Not Supported\".\n\nPossible values:\n\n* 3D Secure Mandated\n* Closed Account\n* ContAuth Not Supported\n* CVC Mandated\n* Ecommerce Not Allowed\n* Crossborder Not Supported\n* Card Updated\n\n* Low Authrate Bin\n* Non-reloadable prepaid card",
|
||
"type" : "string"
|
||
},
|
||
"issuerCountry" : {
|
||
"description" : "The issuing country of the card based on the BIN list that Adyen maintains.\n\nExample: JP",
|
||
"type" : "string"
|
||
},
|
||
"mcBankNetReferenceNumber" : {
|
||
"description" : "The `mcBankNetReferenceNumber`, is a minimum of six characters and a maximum of nine characters long.\n\n> Contact Support Team to enable this field.",
|
||
"type" : "string"
|
||
},
|
||
"networkTxReference" : {
|
||
"description" : "Returned in the response if you are not tokenizing with Adyen and are using the Merchant-initiated transactions (MIT) framework from Mastercard or Visa.\n\nThis contains either the Mastercard Trace ID or the Visa Transaction ID.",
|
||
"type" : "string"
|
||
},
|
||
"ownerName" : {
|
||
"description" : "The owner name of a bank account.\n\nOnly relevant for SEPA Direct Debit transactions.",
|
||
"type" : "string"
|
||
},
|
||
"paymentAccountReference" : {
|
||
"description" : "The Payment Account Reference (PAR) value links a network token with the underlying primary account number (PAN). The PAR value consists of 29 uppercase alphanumeric characters.",
|
||
"type" : "string"
|
||
},
|
||
"paymentMethodVariant" : {
|
||
"description" : "The Adyen sub-variant of the payment method used for the payment request.\n\nFor more information, refer to [PaymentMethodVariant](https://docs.adyen.com/development-resources/paymentmethodvariant).\n\nExample: mcpro",
|
||
"type" : "string"
|
||
},
|
||
"payoutEligible" : {
|
||
"description" : "Indicates whether a payout is eligible or not for this card.\n\nVisa:\n* \"Y\"\n* \"N\"\n\nMastercard:\n* \"Y\" (domestic and cross-border)\n\n* \"D\" (only domestic)\n* \"N\" (no MoneySend)\n* \"U\" (unknown)",
|
||
"type" : "string"
|
||
},
|
||
"realtimeAccountUpdaterStatus" : {
|
||
"description" : "The response code from the Real Time Account Updater service.\n\nPossible return values are:\n* CardChanged\n* CardExpiryChanged\n* CloseAccount\n\n* ContactCardAccountHolder",
|
||
"type" : "string"
|
||
},
|
||
"receiptFreeText" : {
|
||
"description" : "Message to be displayed on the terminal.",
|
||
"type" : "string"
|
||
},
|
||
"recurring.firstPspReference" : {
|
||
"description" : "The `pspReference`, of the first recurring payment that created the recurring detail.\n\nThis functionality requires additional configuration on Adyen's end. To enable it, contact the Support Team.",
|
||
"type" : "string"
|
||
},
|
||
"recurring.recurringDetailReference" : {
|
||
"description" : "The reference that uniquely identifies the recurring transaction.",
|
||
"type" : "string"
|
||
},
|
||
"referred" : {
|
||
"description" : "If the payment is referred, this field is set to true.\n\nThis field is unavailable if the payment is referred and is usually not returned with ecommerce transactions.\n\nExample: true",
|
||
"type" : "string"
|
||
},
|
||
"refusalReasonRaw" : {
|
||
"description" : "Raw refusal reason received from the acquirer, where available.\n\nExample: AUTHORISED",
|
||
"type" : "string"
|
||
},
|
||
"shopperInteraction" : {
|
||
"description" : "The shopper interaction type of the payment request.\n\nExample: Ecommerce",
|
||
"type" : "string"
|
||
},
|
||
"shopperReference" : {
|
||
"description" : "The shopperReference passed in the payment request.\n\nExample: AdyenTestShopperXX",
|
||
"type" : "string"
|
||
},
|
||
"terminalId" : {
|
||
"description" : "The terminal ID used in a point-of-sale payment.\n\nExample: 06022622",
|
||
"type" : "string"
|
||
},
|
||
"threeDAuthenticated" : {
|
||
"description" : "A Boolean value indicating whether 3DS authentication was completed on this payment.\n\nExample: true",
|
||
"type" : "string"
|
||
},
|
||
"threeDAuthenticatedResponse" : {
|
||
"description" : "The raw 3DS authentication result from the card issuer.\n\nExample: N",
|
||
"type" : "string"
|
||
},
|
||
"threeDOffered" : {
|
||
"description" : "A Boolean value indicating whether 3DS was offered for this payment.\n\nExample: true",
|
||
"type" : "string"
|
||
},
|
||
"threeDOfferedResponse" : {
|
||
"description" : "The raw enrollment result from the 3DS directory services of the card schemes.\n\nExample: Y",
|
||
"type" : "string"
|
||
},
|
||
"threeDSVersion" : {
|
||
"description" : "The 3D Secure 2 version.",
|
||
"type" : "string"
|
||
},
|
||
"visaTransactionId" : {
|
||
"description" : "The `visaTransactionId`, has a fixed length of 15 numeric characters.\n\n> Contact Support Team to enable this field.",
|
||
"type" : "string"
|
||
},
|
||
"xid" : {
|
||
"description" : "The 3DS transaction ID of the 3DS session sent in notifications. The value is Base64-encoded and is returned for transactions with directoryResponse 'N' or 'Y'. If you want to submit the xid in your 3D Secure 1 request, use the `mpiData.xid`, field.\n\nExample: ODgxNDc2MDg2MDExODk5MAAAAAA=",
|
||
"type" : "string"
|
||
}
|
||
}
|
||
},
|
||
"ResponseAdditionalDataDeliveryAddress" : {
|
||
"properties" : {
|
||
"deliveryAddress.city" : {
|
||
"description" : "The delivery address city passed in the payment request.",
|
||
"type" : "string"
|
||
},
|
||
"deliveryAddress.country" : {
|
||
"description" : "The delivery address country passed in the payment request.\n\nExample: NL",
|
||
"type" : "string"
|
||
},
|
||
"deliveryAddress.houseNumberOrName" : {
|
||
"description" : "The delivery address house number or name passed in the payment request.",
|
||
"type" : "string"
|
||
},
|
||
"deliveryAddress.postalCode" : {
|
||
"description" : "The delivery address postal code passed in the payment request.\n\nExample: 1011 DJ",
|
||
"type" : "string"
|
||
},
|
||
"deliveryAddress.stateOrProvince" : {
|
||
"description" : "The delivery address state or province passed in the payment request.\n\nExample: NH",
|
||
"type" : "string"
|
||
},
|
||
"deliveryAddress.street" : {
|
||
"description" : "The delivery address street passed in the payment request.",
|
||
"type" : "string"
|
||
}
|
||
}
|
||
},
|
||
"ResponseAdditionalDataInstallments" : {
|
||
"properties" : {
|
||
"installmentPaymentData.installmentType" : {
|
||
"description" : "Type of installment. The value of `installmentType` should be **IssuerFinanced**.",
|
||
"type" : "string"
|
||
},
|
||
"installmentPaymentData.option[itemNr].annualPercentageRate" : {
|
||
"description" : "Annual interest rate.",
|
||
"type" : "string"
|
||
},
|
||
"installmentPaymentData.option[itemNr].firstInstallmentAmount" : {
|
||
"description" : "First Installment Amount in minor units.",
|
||
"type" : "string"
|
||
},
|
||
"installmentPaymentData.option[itemNr].installmentFee" : {
|
||
"description" : "Installment fee amount in minor units.",
|
||
"type" : "string"
|
||
},
|
||
"installmentPaymentData.option[itemNr].interestRate" : {
|
||
"description" : "Interest rate for the installment period.",
|
||
"type" : "string"
|
||
},
|
||
"installmentPaymentData.option[itemNr].maximumNumberOfInstallments" : {
|
||
"description" : "Maximum number of installments possible for this payment.",
|
||
"type" : "string"
|
||
},
|
||
"installmentPaymentData.option[itemNr].minimumNumberOfInstallments" : {
|
||
"description" : "Minimum number of installments possible for this payment.",
|
||
"type" : "string"
|
||
},
|
||
"installmentPaymentData.option[itemNr].numberOfInstallments" : {
|
||
"description" : "Total number of installments possible for this payment.",
|
||
"type" : "string"
|
||
},
|
||
"installmentPaymentData.option[itemNr].subsequentInstallmentAmount" : {
|
||
"description" : "Subsequent Installment Amount in minor units.",
|
||
"type" : "string"
|
||
},
|
||
"installmentPaymentData.option[itemNr].totalAmountDue" : {
|
||
"description" : "Total amount in minor units.",
|
||
"type" : "string"
|
||
},
|
||
"installmentPaymentData.paymentOptions" : {
|
||
"description" : "Possible values:\n* PayInInstallmentsOnly\n* PayInFullOnly\n* PayInFullOrInstallments",
|
||
"type" : "string"
|
||
},
|
||
"installments.value" : {
|
||
"description" : "The number of installments that the payment amount should be charged with.\n\nExample: 5\n> Only relevant for card payments in countries that support installments.",
|
||
"type" : "string"
|
||
}
|
||
}
|
||
},
|
||
"ResponseAdditionalDataNetworkTokens" : {
|
||
"properties" : {
|
||
"networkToken.available" : {
|
||
"description" : "Indicates whether a network token is available for the specified card.",
|
||
"type" : "string"
|
||
},
|
||
"networkToken.bin" : {
|
||
"description" : "The Bank Identification Number of a tokenized card, which is the first six digits of a card number.",
|
||
"type" : "string"
|
||
},
|
||
"networkToken.tokenSummary" : {
|
||
"description" : "The last four digits of a network token.",
|
||
"type" : "string"
|
||
}
|
||
}
|
||
},
|
||
"ResponseAdditionalDataOpi" : {
|
||
"properties" : {
|
||
"opi.transToken" : {
|
||
"description" : "Returned in the response if you included `opi.includeTransToken: true` in an ecommerce payment request. This contains an Oracle Payment Interface token that you can store in your Oracle Opera database to identify tokenized ecommerce transactions. For more information and required settings, see [Oracle Opera](https://docs.adyen.com/plugins/oracle-opera#opi-token-ecommerce).",
|
||
"type" : "string"
|
||
}
|
||
}
|
||
},
|
||
"ResponseAdditionalDataPayPal" : {
|
||
"properties" : {
|
||
"paypalEmail" : {
|
||
"description" : "The buyer's PayPal account email address.\n\nExample: paypaltest@adyen.com",
|
||
"type" : "string"
|
||
},
|
||
"paypalPayerId" : {
|
||
"description" : "The buyer's PayPal ID.\n\nExample: LF5HCWWBRV2KL",
|
||
"type" : "string"
|
||
},
|
||
"paypalPayerResidenceCountry" : {
|
||
"description" : "The buyer's country of residence.\n\nExample: NL",
|
||
"type" : "string"
|
||
},
|
||
"paypalPayerStatus" : {
|
||
"description" : "The status of the buyer's PayPal account.\n\nExample: unverified",
|
||
"type" : "string"
|
||
},
|
||
"paypalProtectionEligibility" : {
|
||
"description" : "The eligibility for PayPal Seller Protection for this payment.\n\nExample: Ineligible",
|
||
"type" : "string"
|
||
}
|
||
}
|
||
},
|
||
"ResponseAdditionalDataSepa" : {
|
||
"properties" : {
|
||
"sepadirectdebit.dateOfSignature" : {
|
||
"description" : "The transaction signature date.\n\nFormat: yyyy-MM-dd",
|
||
"type" : "string"
|
||
},
|
||
"sepadirectdebit.mandateId" : {
|
||
"description" : "Its value corresponds to the pspReference value of the transaction.",
|
||
"type" : "string"
|
||
},
|
||
"sepadirectdebit.sequenceType" : {
|
||
"description" : "This field can take one of the following values:\n* OneOff: (OOFF) Direct debit instruction to initiate exactly one direct debit transaction.\n\n* First: (FRST) Initial/first collection in a series of direct debit instructions.\n* Recurring: (RCUR) Direct debit instruction to carry out regular direct debit transactions initiated by the creditor.\n* Final: (FNAL) Last/final collection in a series of direct debit instructions.\n\nExample: OOFF",
|
||
"type" : "string"
|
||
}
|
||
}
|
||
},
|
||
"ServiceError" : {
|
||
"properties" : {
|
||
"errorCode" : {
|
||
"description" : "The error code mapped to the error message.",
|
||
"type" : "string"
|
||
},
|
||
"errorType" : {
|
||
"description" : "The category of the error.",
|
||
"type" : "string"
|
||
},
|
||
"message" : {
|
||
"description" : "A short explanation of the issue.",
|
||
"type" : "string"
|
||
},
|
||
"pspReference" : {
|
||
"description" : "The PSP reference of the payment.",
|
||
"type" : "string"
|
||
}
|
||
}
|
||
},
|
||
"StoreDetailAndSubmitRequest" : {
|
||
"properties" : {
|
||
"additionalData" : {
|
||
"additionalProperties" : {
|
||
"type" : "string"
|
||
},
|
||
"description" : "This field contains additional data, which may be required for a particular request.",
|
||
"type" : "object"
|
||
},
|
||
"amount" : {
|
||
"description" : "A container object for the payable amount information of the transaction.",
|
||
"$ref" : "#/components/schemas/Amount"
|
||
},
|
||
"bank" : {
|
||
"description" : "A container for bank account data.\n> This field is mandatory if `card` is not provided.",
|
||
"$ref" : "#/components/schemas/BankAccount"
|
||
},
|
||
"billingAddress" : {
|
||
"x-addedInVersion" : 18,
|
||
"description" : "The billing address.",
|
||
"$ref" : "#/components/schemas/Address"
|
||
},
|
||
"card" : {
|
||
"description" : "A container for card data.\n> This field is mandatory if `bank` is not provided.",
|
||
"$ref" : "#/components/schemas/Card"
|
||
},
|
||
"dateOfBirth" : {
|
||
"x-addedInVersion" : 24,
|
||
"description" : "The date of birth.\nFormat: [ISO-8601](https://www.w3.org/TR/NOTE-datetime); example: YYYY-MM-DD\nFor Paysafecard it must be the same as used when registering the Paysafecard account.\n> This field is mandatory for natural persons.",
|
||
"format" : "date-time",
|
||
"type" : "string"
|
||
},
|
||
"entityType" : {
|
||
"x-addedInVersion" : 24,
|
||
"description" : "The type of the entity the payout is processed for.",
|
||
"enum" : [
|
||
"NaturalPerson",
|
||
"Company"
|
||
],
|
||
"type" : "string"
|
||
},
|
||
"fraudOffset" : {
|
||
"description" : "An integer value that is added to the normal fraud score. The value can be either positive or negative.",
|
||
"format" : "int32",
|
||
"type" : "integer"
|
||
},
|
||
"merchantAccount" : {
|
||
"description" : "The merchant account identifier, with which you want to process the transaction.",
|
||
"type" : "string"
|
||
},
|
||
"nationality" : {
|
||
"x-addedInVersion" : 24,
|
||
"description" : "The shopper's nationality.\n\nA valid value is an ISO 2-character country code (e.g. 'NL').",
|
||
"maxLength" : 2,
|
||
"type" : "string"
|
||
},
|
||
"recurring" : {
|
||
"description" : "A container for the type of recurring contract to be retrieved.\n\nThe recurring.contract must be set to `PAYOUT`",
|
||
"$ref" : "#/components/schemas/Recurring"
|
||
},
|
||
"reference" : {
|
||
"description" : "The merchant reference for this payment. This reference will be used in all communication to the merchant about the status of the payout. Although it is a good idea to make sure it is unique, this is not a requirement.",
|
||
"type" : "string"
|
||
},
|
||
"selectedBrand" : {
|
||
"x-addedInVersion" : 24,
|
||
"description" : "The name of the brand to make a payout to.\n\nFor Paysafecard it must be set to `paysafecard`.",
|
||
"type" : "string"
|
||
},
|
||
"shopperEmail" : {
|
||
"description" : "The shopper's email address.",
|
||
"type" : "string"
|
||
},
|
||
"shopperName" : {
|
||
"x-addedInVersion" : 24,
|
||
"description" : "The shopper's name.\n\nWhen the `entityType` is `Company`, the `shopperName.lastName` must contain the company name.",
|
||
"$ref" : "#/components/schemas/Name"
|
||
},
|
||
"shopperReference" : {
|
||
"description" : "The shopper's reference for the payment transaction.",
|
||
"type" : "string"
|
||
},
|
||
"shopperStatement" : {
|
||
"x-addedInVersion" : 2,
|
||
"description" : "The description of this payout. This description is shown on the bank statement of the shopper (if this is supported by the chosen payment method).",
|
||
"type" : "string"
|
||
},
|
||
"socialSecurityNumber" : {
|
||
"x-addedInVersion" : 24,
|
||
"description" : "The shopper's social security number.",
|
||
"type" : "string"
|
||
}
|
||
},
|
||
"required" : [
|
||
"merchantAccount",
|
||
"shopperEmail",
|
||
"shopperReference",
|
||
"recurring",
|
||
"dateOfBirth",
|
||
"nationality",
|
||
"entityType",
|
||
"reference",
|
||
"amount"
|
||
]
|
||
},
|
||
"StoreDetailAndSubmitResponse" : {
|
||
"properties" : {
|
||
"additionalData" : {
|
||
"additionalProperties" : {
|
||
"type" : "string"
|
||
},
|
||
"description" : "This field contains additional data, which may be returned in a particular response.",
|
||
"type" : "object"
|
||
},
|
||
"pspReference" : {
|
||
"description" : "A new reference to uniquely identify this request.",
|
||
"type" : "string"
|
||
},
|
||
"refusalReason" : {
|
||
"description" : "In case of refusal, an informational message for the reason.",
|
||
"type" : "string"
|
||
},
|
||
"resultCode" : {
|
||
"description" : "The response:\n\n* In case of success is payout-submit-received.\n* In case of an error, an informational message is returned.",
|
||
"type" : "string"
|
||
}
|
||
},
|
||
"required" : [
|
||
"pspReference",
|
||
"resultCode"
|
||
]
|
||
},
|
||
"StoreDetailRequest" : {
|
||
"properties" : {
|
||
"additionalData" : {
|
||
"additionalProperties" : {
|
||
"type" : "string"
|
||
},
|
||
"description" : "This field contains additional data, which may be required for a particular request.",
|
||
"type" : "object"
|
||
},
|
||
"bank" : {
|
||
"description" : "A container for bank account data.\n> This field is mandatory if `card` is not provided.",
|
||
"$ref" : "#/components/schemas/BankAccount"
|
||
},
|
||
"billingAddress" : {
|
||
"x-addedInVersion" : 18,
|
||
"description" : "The billing address.",
|
||
"$ref" : "#/components/schemas/Address"
|
||
},
|
||
"card" : {
|
||
"description" : "A container for card data.\n> This field is mandatory if `bank` is not provided.",
|
||
"$ref" : "#/components/schemas/Card"
|
||
},
|
||
"dateOfBirth" : {
|
||
"x-addedInVersion" : 24,
|
||
"description" : "The date of birth.\nFormat: [ISO-8601](https://www.w3.org/TR/NOTE-datetime); example: YYYY-MM-DD\nFor Paysafecard it must be the same as used when registering the Paysafecard account.\n> This field is mandatory for natural persons.",
|
||
"format" : "date-time",
|
||
"type" : "string"
|
||
},
|
||
"entityType" : {
|
||
"x-addedInVersion" : 24,
|
||
"description" : "The type of the entity the payout is processed for.",
|
||
"enum" : [
|
||
"NaturalPerson",
|
||
"Company"
|
||
],
|
||
"type" : "string"
|
||
},
|
||
"fraudOffset" : {
|
||
"description" : "An integer value that is added to the normal fraud score. The value can be either positive or negative.",
|
||
"format" : "int32",
|
||
"type" : "integer"
|
||
},
|
||
"merchantAccount" : {
|
||
"description" : "The merchant account identifier, with which you want to process the transaction.",
|
||
"type" : "string"
|
||
},
|
||
"nationality" : {
|
||
"x-addedInVersion" : 24,
|
||
"description" : "The shopper's nationality.\n\nA valid value is an ISO 2-character country code (e.g. 'NL').",
|
||
"maxLength" : 2,
|
||
"type" : "string"
|
||
},
|
||
"recurring" : {
|
||
"description" : "A container for the type of recurring contract to be retrieved.\n\nThe recurring.contract must be set to `PAYOUT`",
|
||
"$ref" : "#/components/schemas/Recurring"
|
||
},
|
||
"selectedBrand" : {
|
||
"x-addedInVersion" : 24,
|
||
"description" : "The name of the brand to make a payout to.\n\nFor Paysafecard it must be set to `paysafecard`.",
|
||
"type" : "string"
|
||
},
|
||
"shopperEmail" : {
|
||
"description" : "The shopper's email address.",
|
||
"type" : "string"
|
||
},
|
||
"shopperName" : {
|
||
"x-addedInVersion" : 24,
|
||
"description" : "The shopper's name.\n\nWhen the `entityType` is `Company`, the `shopperName.lastName` must contain the company name.",
|
||
"$ref" : "#/components/schemas/Name"
|
||
},
|
||
"shopperReference" : {
|
||
"description" : "The shopper's reference for the payment transaction.",
|
||
"type" : "string"
|
||
},
|
||
"socialSecurityNumber" : {
|
||
"x-addedInVersion" : 24,
|
||
"description" : "The shopper's social security number.",
|
||
"type" : "string"
|
||
}
|
||
},
|
||
"required" : [
|
||
"merchantAccount",
|
||
"shopperEmail",
|
||
"shopperReference",
|
||
"recurring",
|
||
"dateOfBirth",
|
||
"nationality",
|
||
"entityType"
|
||
]
|
||
},
|
||
"StoreDetailResponse" : {
|
||
"properties" : {
|
||
"additionalData" : {
|
||
"additionalProperties" : {
|
||
"type" : "string"
|
||
},
|
||
"description" : "This field contains additional data, which may be returned in a particular response.",
|
||
"type" : "object"
|
||
},
|
||
"pspReference" : {
|
||
"description" : "A new reference to uniquely identify this request.",
|
||
"type" : "string"
|
||
},
|
||
"recurringDetailReference" : {
|
||
"description" : "The token which you can use later on for submitting the payout.",
|
||
"type" : "string"
|
||
},
|
||
"resultCode" : {
|
||
"description" : "The result code of the transaction. `Success` indicates that the details were stored successfully.",
|
||
"type" : "string"
|
||
}
|
||
},
|
||
"required" : [
|
||
"pspReference",
|
||
"recurringDetailReference",
|
||
"resultCode"
|
||
]
|
||
},
|
||
"SubmitRequest" : {
|
||
"properties" : {
|
||
"additionalData" : {
|
||
"additionalProperties" : {
|
||
"type" : "string"
|
||
},
|
||
"description" : "This field contains additional data, which may be required for a particular request.",
|
||
"type" : "object"
|
||
},
|
||
"amount" : {
|
||
"description" : "A container object for the payable amount information of the transaction.",
|
||
"$ref" : "#/components/schemas/Amount"
|
||
},
|
||
"dateOfBirth" : {
|
||
"x-addedInVersion" : 24,
|
||
"description" : "The date of birth.\nFormat: ISO-8601; example: YYYY-MM-DD\n\nFor Paysafecard it must be the same as used when registering the Paysafecard account.\n\n> This field is mandatory for natural persons. \n> This field is required to update the existing `dateOfBirth` that is associated with this recurring contract.",
|
||
"format" : "date-time",
|
||
"type" : "string"
|
||
},
|
||
"entityType" : {
|
||
"x-addedInVersion" : 24,
|
||
"description" : "The type of the entity the payout is processed for.\n\nAllowed values:\n* NaturalPerson\n* Company\n> This field is required to update the existing `entityType` that is associated with this recurring contract.",
|
||
"enum" : [
|
||
"NaturalPerson",
|
||
"Company"
|
||
],
|
||
"type" : "string"
|
||
},
|
||
"fraudOffset" : {
|
||
"description" : "An integer value that is added to the normal fraud score. The value can be either positive or negative.",
|
||
"format" : "int32",
|
||
"type" : "integer"
|
||
},
|
||
"merchantAccount" : {
|
||
"description" : "The merchant account identifier you want to process the transaction request with.",
|
||
"type" : "string"
|
||
},
|
||
"nationality" : {
|
||
"x-addedInVersion" : 24,
|
||
"description" : "The shopper's nationality.\n\nA valid value is an ISO 2-character country code (e.g. 'NL').\n\n> This field is required to update the existing nationality that is associated with this recurring contract.",
|
||
"type" : "string"
|
||
},
|
||
"recurring" : {
|
||
"description" : "A container for the type of recurring contract to be retrieved.\n\nThe `recurring.contract` must be set to \"PAYOUT\".",
|
||
"$ref" : "#/components/schemas/Recurring"
|
||
},
|
||
"reference" : {
|
||
"description" : "The merchant reference for this payout. This reference will be used in all communication to the merchant about the status of the payout. Although it is a good idea to make sure it is unique, this is not a requirement.",
|
||
"type" : "string"
|
||
},
|
||
"selectedRecurringDetailReference" : {
|
||
"description" : "This is the `recurringDetailReference` you want to use for this payout.\n\nYou can use the value LATEST to select the most recently used recurring detail.",
|
||
"type" : "string"
|
||
},
|
||
"shopperEmail" : {
|
||
"description" : "The shopper's email address.",
|
||
"type" : "string"
|
||
},
|
||
"shopperName" : {
|
||
"x-addedInVersion" : 24,
|
||
"description" : "The shopper's name.\n\nIn case the `entityType` is `Company`, the `shopperName.lastName` must contain the company name.\n\n> This field is required to update the existing `shopperName` associated with a recurring contract.",
|
||
"$ref" : "#/components/schemas/Name"
|
||
},
|
||
"shopperReference" : {
|
||
"description" : "The shopper's reference for the payout transaction.",
|
||
"type" : "string"
|
||
},
|
||
"shopperStatement" : {
|
||
"x-addedInVersion" : 2,
|
||
"description" : "The description of this payout. This description is shown on the bank statement of the shopper (if this is supported by the chosen payment method).",
|
||
"type" : "string"
|
||
},
|
||
"socialSecurityNumber" : {
|
||
"x-addedInVersion" : 24,
|
||
"description" : "The shopper's social security number.",
|
||
"type" : "string"
|
||
}
|
||
},
|
||
"required" : [
|
||
"merchantAccount",
|
||
"reference",
|
||
"amount",
|
||
"shopperEmail",
|
||
"shopperReference",
|
||
"recurring",
|
||
"selectedRecurringDetailReference"
|
||
]
|
||
},
|
||
"SubmitResponse" : {
|
||
"properties" : {
|
||
"additionalData" : {
|
||
"additionalProperties" : {
|
||
"type" : "string"
|
||
},
|
||
"description" : "This field contains additional data, which may be returned in a particular response.",
|
||
"type" : "object"
|
||
},
|
||
"pspReference" : {
|
||
"description" : "A new reference to uniquely identify this request.",
|
||
"type" : "string"
|
||
},
|
||
"refusalReason" : {
|
||
"description" : "In case of refusal, an informational message for the reason.",
|
||
"type" : "string"
|
||
},
|
||
"resultCode" : {
|
||
"description" : "The response:\n* In case of success, it is `payout-submit-received`.\n* In case of an error, an informational message is returned.",
|
||
"type" : "string"
|
||
}
|
||
},
|
||
"required" : [
|
||
"pspReference",
|
||
"resultCode"
|
||
]
|
||
},
|
||
"ThreeDSecureData" : {
|
||
"properties" : {
|
||
"authenticationResponse" : {
|
||
"description" : "In 3D Secure 1, the authentication response if the shopper was redirected.\n\nIn 3D Secure 2, this is the `transStatus` from the challenge result. If the transaction was frictionless, omit this parameter.",
|
||
"enum" : [
|
||
"Y",
|
||
"N",
|
||
"U",
|
||
"A"
|
||
],
|
||
"type" : "string"
|
||
},
|
||
"cavv" : {
|
||
"description" : "The cardholder authentication value (base64 encoded, 20 bytes in a decoded form).",
|
||
"format" : "byte",
|
||
"type" : "string"
|
||
},
|
||
"cavvAlgorithm" : {
|
||
"description" : "The CAVV algorithm used. Include this only for 3D Secure 1.",
|
||
"type" : "string"
|
||
},
|
||
"directoryResponse" : {
|
||
"description" : "In 3D Secure 1, this is the enrollment response from the 3D directory server.\n\nIn 3D Secure 2, this is the `transStatus` from the `ARes`.",
|
||
"enum" : [
|
||
"A",
|
||
"C",
|
||
"D",
|
||
"I",
|
||
"N",
|
||
"R",
|
||
"U",
|
||
"Y"
|
||
],
|
||
"type" : "string"
|
||
},
|
||
"eci" : {
|
||
"description" : "The electronic commerce indicator.",
|
||
"type" : "string"
|
||
},
|
||
"xid" : {
|
||
"description" : "Supported for 3D Secure 1. The transaction identifier (Base64-encoded, 20 bytes in a decoded form).",
|
||
"format" : "byte",
|
||
"type" : "string"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"securitySchemes" : {
|
||
"ApiKeyAuth" : {
|
||
"in" : "header",
|
||
"name" : "X-API-Key",
|
||
"type" : "apiKey"
|
||
},
|
||
"BasicAuth" : {
|
||
"scheme" : "basic",
|
||
"type" : "http"
|
||
}
|
||
},
|
||
"examples" : {
|
||
"generic-400" : {
|
||
"summary" : "Response code 400. Bad Request.",
|
||
"value" : {
|
||
"status" : 400,
|
||
"errorCode" : "702",
|
||
"message" : "Unexpected input: I",
|
||
"errorType" : "validation"
|
||
}
|
||
},
|
||
"post-confirmThirdParty-confirmThirdParty" : {
|
||
"summary" : "Confirm a payout",
|
||
"description" : "Confirm a previously submitted payout",
|
||
"value" : {
|
||
"merchantAccount" : "YOUR_MERCHANT_ACCOUNT",
|
||
"originalReference" : "9913140798220028"
|
||
}
|
||
},
|
||
"post-declineThirdParty-declineThirdParty" : {
|
||
"summary" : "Cancel a payout",
|
||
"description" : "Cancel a previously submitted payout",
|
||
"value" : {
|
||
"merchantAccount" : "YOUR_MERCHANT_ACCOUNT",
|
||
"originalReference" : "9913140798220028"
|
||
}
|
||
},
|
||
"post-payout-payout-b2c" : {
|
||
"summary" : "Instant card payout (B2C)",
|
||
"description" : "Pay out to your sellers, customers, freelancers, etc",
|
||
"value" : {
|
||
"amount" : {
|
||
"value" : 2500,
|
||
"currency" : "USD"
|
||
},
|
||
"card" : {
|
||
"number" : "4111111111111111",
|
||
"expiryMonth" : "03",
|
||
"expiryYear" : "2030",
|
||
"holderName" : "John Smith"
|
||
},
|
||
"billingAddress" : {
|
||
"houseNumberOrName" : "121",
|
||
"street" : "Populierenlaan",
|
||
"city" : "Beverly Hills",
|
||
"postalCode" : "90210",
|
||
"stateOrProvince" : "CA",
|
||
"country" : "US"
|
||
},
|
||
"merchantAccount" : "YOUR_MERCHANT_ACCOUNT",
|
||
"reference" : "P9999999999999999",
|
||
"shopperName" : {
|
||
"firstName" : "John",
|
||
"lastName" : "Smith"
|
||
},
|
||
"dateOfBirth" : "1990-01-01",
|
||
"nationality" : "NL"
|
||
}
|
||
},
|
||
"post-payout-payout-p2p" : {
|
||
"summary" : "Instant card payout (P2P)",
|
||
"description" : "Facilitate the transfer of money between two individuals",
|
||
"value" : {
|
||
"amount" : {
|
||
"value" : 2500,
|
||
"currency" : "USD"
|
||
},
|
||
"card" : {
|
||
"number" : "4111111111111111",
|
||
"expiryMonth" : "03",
|
||
"expiryYear" : "2030",
|
||
"holderName" : "John Smith"
|
||
},
|
||
"fundSource" : {
|
||
"additionalData" : {
|
||
"fundingSource" : "DEBIT"
|
||
},
|
||
"billingAddress" : {
|
||
"country" : "US",
|
||
"postalCode" : "90210",
|
||
"city" : "Beverly Hills"
|
||
},
|
||
"card" : {
|
||
"expiryMonth" : "03",
|
||
"expiryYear" : "2030",
|
||
"holderName" : "Payer Name",
|
||
"number" : "4400000000000008"
|
||
},
|
||
"shopperName" : {
|
||
"firstName" : "Payer",
|
||
"lastName" : "Name"
|
||
}
|
||
},
|
||
"merchantAccount" : "YOUR_MERCHANT_ACCOUNT",
|
||
"reference" : "P9999999999999999",
|
||
"shopperName" : {
|
||
"firstName" : "John",
|
||
"lastName" : "Smith"
|
||
},
|
||
"shopperStatement" : "Payer Name",
|
||
"dateOfBirth" : "1990-01-01",
|
||
"nationality" : "NL"
|
||
}
|
||
},
|
||
"post-storeDetail-storeDetail" : {
|
||
"summary" : "Store payout details",
|
||
"description" : "Store payment details under the PAYOUT recurring contract",
|
||
"value" : {
|
||
"merchantAccount" : "YOUR_MERCHANT_ACCOUNT",
|
||
"recurring" : {
|
||
"contract" : "PAYOUT"
|
||
},
|
||
"bank" : {
|
||
"bankName" : "AbnAmro",
|
||
"bic" : "ABNANL2A",
|
||
"countryCode" : "NL",
|
||
"iban" : "NL32ABNA0515071439",
|
||
"ownerName" : "Adyen",
|
||
"bankCity" : "Amsterdam",
|
||
"taxId" : "bankTaxId"
|
||
},
|
||
"shopperEmail" : "shopper@email.com",
|
||
"shopperReference" : "YOUR_UNIQUE_SHOPPER_ID_IOfW3k9G2PvXFu2j",
|
||
"shopperName" : {
|
||
"firstName" : "Adyen",
|
||
"gender" : "MALE",
|
||
"lastName" : "Test"
|
||
},
|
||
"dateOfBirth" : "1990-01-01",
|
||
"entityType" : "Company",
|
||
"nationality" : "NL",
|
||
"billingAddress" : {
|
||
"houseNumberOrName" : "17",
|
||
"street" : "Teststreet 1",
|
||
"city" : "Amsterdam",
|
||
"stateOrProvince" : "NY",
|
||
"country" : "US",
|
||
"postalCode" : "12345"
|
||
}
|
||
}
|
||
},
|
||
"post-storeDetailAndSubmitThirdParty-storeDetailAndSubmitThirdParty" : {
|
||
"summary" : "Submit a payout and stores details",
|
||
"description" : "Submit a payout and stores its details for subsequent payouts",
|
||
"value" : {
|
||
"merchantAccount" : "YOUR_MERCHANT_ACCOUNT",
|
||
"recurring" : {
|
||
"contract" : "RECURRING,PAYOUT"
|
||
},
|
||
"amount" : {
|
||
"value" : 2000,
|
||
"currency" : "EUR"
|
||
},
|
||
"bank" : {
|
||
"bankName" : "Wirecard",
|
||
"iban" : "DE87123456781234567890",
|
||
"countryCode" : "DE",
|
||
"ownerName" : "Simon Hopper"
|
||
},
|
||
"reference" : "Your Reference Here",
|
||
"shopperEmail" : "s.hopper@test.com",
|
||
"shopperIP" : "61.294.12.12",
|
||
"shopperReference" : "YOUR_UNIQUE_SHOPPER_ID_IOfW3k9G2PvXFu2j",
|
||
"shopperName" : {
|
||
"firstName" : "Adyen",
|
||
"gender" : "MALE",
|
||
"lastName" : "Test"
|
||
},
|
||
"dateOfBirth" : "1990-01-01",
|
||
"entityType" : "Company",
|
||
"nationality" : "NL"
|
||
}
|
||
},
|
||
"post-storeDetailAndSubmitThirdParty-storeDetailAndSubmitThirdParty-Neteller" : {
|
||
"summary" : "Submit a payout to Neteller",
|
||
"description" : "Submit a payout to Neteller and stores its details for subsequent payouts",
|
||
"value" : {
|
||
"amount" : {
|
||
"currency" : "EUR",
|
||
"value" : 100
|
||
},
|
||
"selectedBrand" : "neteller",
|
||
"additionalData" : {
|
||
"tokenDataType" : "Neteller",
|
||
"account" : "myNetellerAccount"
|
||
},
|
||
"shopperName" : {
|
||
"firstName" : "Test",
|
||
"gender" : "FEMALE",
|
||
"lastName" : "Test2"
|
||
},
|
||
"dateOfBirth" : "1982-07-17",
|
||
"entityType" : "NaturalPerson",
|
||
"nationality" : "NL",
|
||
"merchantAccount" : "YOUR_MERCHANT_ACCOUNT",
|
||
"recurring" : {
|
||
"contract" : "PAYOUT"
|
||
},
|
||
"reference" : "Test Payout",
|
||
"shopperEmail" : "test@company.com",
|
||
"shopperReference" : "YOUR_UNIQUE_SHOPPER_ID_IOfW3k9G2PvXFu2j"
|
||
}
|
||
},
|
||
"post-storeDetailAndSubmitThirdParty-storeDetailAndSubmitThirdParty-PayPal" : {
|
||
"summary" : "Submit a payout to PayPal",
|
||
"description" : "Submit a payout to PayPal and stores its details for subsequent payouts",
|
||
"value" : {
|
||
"amount" : {
|
||
"currency" : "EUR",
|
||
"value" : 1750
|
||
},
|
||
"selectedBrand" : "paypal",
|
||
"additionalData" : {
|
||
"tokenDataType" : "PayPal",
|
||
"emailId" : "EmailUsedForPayPalAccount@example.com",
|
||
"paypal.payerId" : "AK5HCWWRUV2KL"
|
||
},
|
||
"shopperName" : {
|
||
"firstName" : "Test",
|
||
"gender" : "FEMALE",
|
||
"lastName" : "Test2"
|
||
},
|
||
"dateOfBirth" : "1982-07-17",
|
||
"entityType" : "NaturalPerson",
|
||
"nationality" : "NL",
|
||
"merchantAccount" : "YOUR_MERCHANT_ACCOUNT",
|
||
"recurring" : {
|
||
"contract" : "PAYOUT"
|
||
},
|
||
"reference" : "Test Payout",
|
||
"shopperEmail" : "test@company.com",
|
||
"shopperReference" : "YOUR_UNIQUE_SHOPPER_ID_IOfW3k9G2PvXFu2j"
|
||
}
|
||
},
|
||
"post-storeDetailAndSubmitThirdParty-storeDetailAndSubmitThirdParty-Paysafecard" : {
|
||
"summary" : "Submit a payout to Paysafecard",
|
||
"description" : "Submit a payout to Paysafecard and stores its details for subsequent payouts",
|
||
"value" : {
|
||
"amount" : {
|
||
"currency" : "EUR",
|
||
"value" : 1000
|
||
},
|
||
"selectedBrand" : "paysafecard",
|
||
"additionalData" : {
|
||
"emailId" : "EmailUsedForPaysafecardAccount@example.com"
|
||
},
|
||
"shopperName" : {
|
||
"firstName" : "Test",
|
||
"gender" : "MALE",
|
||
"lastName" : "Test2"
|
||
},
|
||
"dateOfBirth" : "1982-07-17",
|
||
"entityType" : "NaturalPerson",
|
||
"nationality" : "NL",
|
||
"merchantAccount" : "YOUR_MERCHANT_ACCOUNT",
|
||
"recurring" : {
|
||
"contract" : "PAYOUT"
|
||
},
|
||
"reference" : "Test Payout",
|
||
"shopperEmail" : "test@company.com",
|
||
"shopperReference" : "YOUR_UNIQUE_SHOPPER_ID_IOfW3k9G2PvXFu2j",
|
||
"shopperIP" : "61.294.12.12"
|
||
}
|
||
},
|
||
"post-storeDetailAndSubmitThirdParty-storeDetailAndSubmitThirdParty-Skrill" : {
|
||
"summary" : "Submit a payout to Skrill",
|
||
"description" : "Submit a payout to Skrill and stores its details for subsequent payouts",
|
||
"value" : {
|
||
"amount" : {
|
||
"currency" : "EUR",
|
||
"value" : 100
|
||
},
|
||
"selectedBrand" : "moneybookers",
|
||
"additionalData" : {
|
||
"tokenDataType" : "MoneyBookers",
|
||
"email" : "name@adyen.com"
|
||
},
|
||
"shopperName" : {
|
||
"firstName" : "Test",
|
||
"gender" : "FEMALE",
|
||
"lastName" : "Test2"
|
||
},
|
||
"dateOfBirth" : "1982-07-17",
|
||
"entityType" : "NaturalPerson",
|
||
"nationality" : "NL",
|
||
"merchantAccount" : "YOUR_MERCHANT_ACCOUNT",
|
||
"recurring" : {
|
||
"contract" : "PAYOUT"
|
||
},
|
||
"reference" : "Test Payout",
|
||
"shopperEmail" : "test@company.com",
|
||
"shopperReference" : "YOUR_UNIQUE_SHOPPER_ID_IOfW3k9G2PvXFu2j"
|
||
}
|
||
},
|
||
"post-submitThirdParty-submitThirdParty" : {
|
||
"summary" : "Submit a payout",
|
||
"description" : "Submit a payout using the previously stored payment details",
|
||
"value" : {
|
||
"amount" : {
|
||
"currency" : "EUR",
|
||
"value" : "1000"
|
||
},
|
||
"merchantAccount" : "YOUR_MERCHANT_ACCOUNT",
|
||
"recurring" : {
|
||
"contract" : "PAYOUT"
|
||
},
|
||
"reference" : "PayoutPayment-0001",
|
||
"shopperEmail" : "shopper@email.com",
|
||
"shopperReference" : "YOUR_UNIQUE_SHOPPER_ID_IOfW3k9G2PvXFu2j",
|
||
"shopperName" : {
|
||
"firstName" : "Adyen",
|
||
"gender" : "MALE",
|
||
"lastName" : "Test"
|
||
},
|
||
"dateOfBirth" : "1990-01-01",
|
||
"entityType" : "Company",
|
||
"nationality" : "NL",
|
||
"selectedRecurringDetailReference" : "LATEST"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
} |