This page is for classic Adyen for Platforms integrations. If you are just starting your implementation, refer to our new integration guide instead.
Adyen for Platforms provides you with a set of predefined test scenarios to test your integration. To test the scenarios, you need to create certain account holder states. This page explain how to:
- Create account holders in the states you need.
- Use the predefined test scenarios.
Create an account holder in the payout state
Select the account holder type to see the relevant examples below:
An account holder with one of KYC checks set to FAILED
Select the account holder type to see the relevant examples below:
An account holder with one of KYC checks set to INVALID_DATA
- Set
address.city
to INVALIDDATA. - Set
bankAccount.ownerCity
to INVALIDDATA for all banks accounts, which should be marked as Failed. - Set
description
to INVALIDDATA for a passport, if you need its KYC check to be marked as Failed.
An account holder with a PASSPORT_VERIFICATION KYC check set to INVALID_DATA
You can do this on a Hosted Onboarding Page (HOP) or through an API request.
-
Hosted Onboarding Page
- Upload a document with INVALIDDATA in the file name. For example, INVALIDDATA.jpg.
-
API
- Make a POST /uploadDocument request with:
documentContent
: A Base64-encoded image larger than 1000 bytes.documentType
: PASSPORTdescription
: INVALIDDATA
- Make a POST /uploadDocument request with:
Inactivate an account holder and schedule a refund
- Set
address.city
to INACTIVEDEADLINECITY.
The /refundNotPaidOutTransfers
call is scheduled to be performed in 6 weeks.
Inactivate an account holder and make a refund
- Set
address.city
to REFUNDDEADLINECITY.
In this case the /refundNotPaidOutTransfers
call is performed immediately.