To communicate with the Adyen API you should submit HTTP POST requests to corresponding endpoints. These endpoints differ for test and live accounts, and also depend on the data format (SOAP, JSON, or FORM) you use to submit data to the plataforma de pagamentos da Adyen.
This document lists all endpoints available for you to integrate with the test platform and run QA checks.
Indicators used in this section:
|
|
|
This field is mandatory and must be always present. |
|
This field is optional and may be required in specific scenarios. |
Endpoints
SOAP
For the SOAP messaging protocol, all test payment requests must be posted to the following endpoint:
The data schema for corresponding SOAP objects is available at:
This is an overview of the test URL endpoints to communicate with our API using JSON or FORM (key-value parameters passed in an Http POST URL).
AvsAddress
streetAddress | String | | Billing address of the cardholder. Example: 1 Infinite Loop, Cupertino |
zip | String | | Zip code associated with the billing address of the cardholder. Example: CA 95014 |
CreateTestCardRangesRequest
accountCode | String | | The merchant account details used to log in and access the account. |
accountTypeCode | String | | The type of account used to make the call. Possible values: These values are case-sensitive. |
testCardRanges | Array of TestCardRange | | Contains one or more test card range objects. |
CreateTestCardRangesResult
Field |
Type |
Required |
Description |
rangeCreationResults |
Array of TestCardRangeCreationResult |
|
Contains one or more test card range result outputs. |
TestCardRange
Defines the properties of a test card range.
address | AvsAddress | | Contains the billing address of the cardholder. The address details need to be AVS (Address Verification Service) compliant, i.e. you need to define at least streetAddress. |
cardHolderName | String | | The name of the cardholder, as it appears on the card, for the test card range. Example: S Hopper |
cvc | String | | The test card range security code. Example: 123 |
expiryMonth | String | | Expiry month for the test card range. Allowed values: - JANUARY
- FEBRUARY
- MARCH
- APRIL
- MAY
- JUNE
- JULY
- AUGUST
- SEPTEMBER
- OCTOBER
- NOVEMBER
- DECEMBER
|
expiryYear | String | | Expiry year for the test card range. Example: 2020 |
rangeEnd | String | | The last test card number in the test card range: - Min 6, max 19 digits
- BIN compliant
Example: 5432123412344321 |
rangeStart | String | | The first test card number in the test card range: - Min 6, max 19 digits
- BIN compliant
Example: 5432123412341234 |
threeDUserName | String | | 3D Secure user name details of the cardholder. Example: simonhopper |
threeDPassword | String | | 3D Secure password details of the cardholder. Example: myPa$$w0rd |
threeDDirectoryServerResponse | String | | 3D Secure server response. It notifies whether the specified cardholder is enrolled in a 3D Secure service. Possible values: - Y (Authentication available)
- N (Card holder not enrolled/not participating)
- U (Unable to authenticate)
|
TestCardRangeCreationResult
Contains a test card range result output.
cardNumberRangeStart | String | | The first test card number in the generated test card range. Example: 5432123412341234 |
cardNumberRangeEnd | String | | The last test card number in the generated test card range. Example: 5432123412344321 |
creationResultCode | String | | Notification message. It informs about the outcome of the operation. Possible values: - CREATED
- ALREADY_EXISTS
- ERROR
|