Adyen
Link a merchant's Adyen account, including its Live URL Prefix, to process card and ACH transactions through Preczn.
Overview
Preczn routes card, ACH, Apple Pay, and Google Pay payments to each merchant's own Adyen merchant account, and can export a merchant's stored tokens to Adyen. Each merchant brings its own Adyen credentials, and Preczn doesn't board merchants to Adyen.
Adyen or Adyen for Platforms?
Use Adyen when each merchant already has its own Adyen merchant account and gives you its API credentials. Use Adyen for Platforms when your platform has an Adyen for Platforms account and you want Preczn to board each merchant as an account holder under it, with your platform's credentials.
Merchant onboarding
| Capability | Supported | Details |
|---|---|---|
| Merchant onboarding | ✗ No | |
| Onboarding through the API | ✗ No | |
| Merchant import | ✗ No |
Transactions
| Capability | Supported | Details |
|---|---|---|
| Card transactions | ✓ Yes | Jump to Processing transactions |
| Apple Pay transactions | ✓ Yes | Jump to Processing transactions |
| Google Pay transactions | ✓ Yes | Jump to Processing transactions |
| ACH transactions | ✓ Yes | Jump to ACH payments |
| Transaction import | ✗ No |
Tokens and lending
| Capability | Supported | Details |
|---|---|---|
| Token migration | ✓ Yes | Jump to Migrating tokens |
| Lending | ✗ No |
Linking existing credentials
Each merchant processes with its own Adyen merchant account, so you link that account's credentials to the merchant's Adyen connection. Add Adyen to your platform first. It takes no platform credentials. See Add a connection to your platform. A merchant has one connection for each processor. For a business with two Adyen merchant accounts, see Use two accounts at one provider.
You need the following values from the merchant's Adyen account:
- Merchant account: the name of the Adyen merchant account that processes the payments.
- API key: an Adyen API key that can reach that merchant account.
- Live URL prefix: required for a live merchant only. Adyen shows it in the live Customer Area under Developers > API URLs, on the Prefix tab. See Adyen's live endpoints documentation. Test merchants don't use a prefix.
Choose how you'll link the account. Select the Dashboard tab or the API tab.
- In Merchant Vault, open the merchant.
- Under Connections, select Adyen.
- Click Edit, and enter the values in Merchant Account and API Key. For a live merchant, also enter Live URL Prefix.
- Click Verify connection. The drawer shows Credentials successfully verified if Adyen accepts them, and Verification failed otherwise.
- Click Save changes.
- Send the values as
mid,secret, and, for a live merchant,urlPrefixwithPATCH /v1/merchants/{merchantId}/connections/Adyen:
{
"mid": "{adyenMerchantAccount}",
"secret": "{adyenApiKey}",
"urlPrefix": "{adyenLiveUrlPrefix}"
}If Adyen accepts the credentials, Preczn saves them and sets the connection to Active. If it doesn't, the request returns 400 and Preczn saves nothing.
Preczn checks the API key with Adyen and checks that it reaches the merchant account you entered. When you save the credentials, Preczn creates a webhook on the merchant's Adyen merchant account. Adyen uses it to send the final result of pending payments. See the Synchronous and asynchronous outcomes section.
Preczn checks the live URL prefix for format only
For a live merchant, Preczn rejects a missing prefix or one with characters other than letters, numbers, and hyphens. It doesn't check the prefix with Adyen. A prefix in a valid format that belongs to another account saves, and the merchant's first live payment fails. Copy the prefix from the merchant's own live Customer Area.
Receiving raw responses
Adyen includes AVS and CVV results in its response only when the merchant account has raw acquirer results turned on. Without them, Preczn returns no meaningful AVS or CVV result. To turn them on, complete the following steps in the Adyen Customer Area:
- Switch to the merchant account.
- Go to Developers > API URLs, and select the Additional data settings tab.
- Select Raw acquirer result.
- Select Save configuration.
For details, see Adyen's raw acquirer responses documentation.
Processing transactions
Preczn processes the following transaction types through Adyen. For each type, see Choose a transaction type.
- Cards: sale, auth, capture, refund, void, and verify. A verify sends a $0 authorization. Captures and refunds can be partial.
- ACH: sale, refund, and verify. See the ACH payments section.
- Wallets: Apple Pay and Google Pay card payments. See Wallets and Accept Google Pay.
Synchronous and asynchronous outcomes
Results arrive as follows:
- Card sale, auth, and verify return Approved or Declined right away. If Adyen reports the payment as pending, Preczn returns Pending.
- Capture, refund, and void return Pending. Adyen confirms the result later.
- ACH sale returns Pending. Adyen confirms the result later.
- ACH verify returns Approved or Declined from Adyen's bank account verification. See the ACH payments section.
Adyen sends each later result to the webhook Preczn created on the merchant account, and Preczn sends you the final status as a transaction webhook. If Adyen rejects a request, Preczn returns Error with Adyen's message. See Handle synchronous and asynchronous results.
ACH payments
Adyen checks a bank account on an ACH verify with its GIACT bank account verification. The merchant's Adyen account must have that verification turned on. If Adyen returns no verification result, Preczn returns Error with Account validation with giact not enabled. Ask Adyen to turn it on. See Adyen's verification with GIACT documentation.
Adyen recommends that you verify each bank account before the first sale. A verify returns a token, which you then use for the sale. See Verify a bank account.
For a corporate checking or savings account, Preczn sends accountBusinessName as the account owner's name when you include it. Otherwise, it sends the customer's first and last name.
Data sent to Adyen
Preczn sends the following values with limits or changes:
- Reference. Preczn sends
orderas Adyen's payment reference, or the Preczn transaction ID if there's no order, cut to 80 characters. - Metadata. Preczn sends metadata with each value cut to 80 characters.
- Dynamic descriptor. Preczn sends
merchantInfo.nameas Adyen's shopper statement. OthermerchantInfofields aren't sent. See Add a dynamic statement descriptor. - Card on file. Preczn sends the token usage value on a card payment that uses a token. See Flag card-on-file transactions.
- Level II and Level III data. Preczn sends tax, duty, freight, invoice, the shipping postal code, and line items as Adyen's enhanced scheme data on a sale or auth. See Add Level II and Level III data.
AVS and CVV
A card sale, auth, or verify returns AVS and CVV results when Adyen includes them. Turn on raw acquirer results first, as described in the Receiving raw responses section. Then send the billing address and cvv. See Card verification results.
Migrating tokens
Preczn can export a merchant's stored card and bank account tokens to the merchant's Adyen merchant account, so the merchant's customers don't have to enter their payment details again. Preczn runs the export for you. For how to start an export and read the report, see Token migration and the Token export guide.
Before Preczn runs an export, link the merchant's Adyen credentials, as described in the Linking existing credentials section. Preczn uses them to create each token at Adyen.
For each token, Preczn creates a stored payment method in the merchant's Adyen merchant account, with the token's name as the holder name. The export report shows the result for each token:
- Preczn skips a token that it already exported to Adyen, so running the export again doesn't create duplicates.
- A token that isn't a card or bank account fails.
- If Adyen rejects a token, the report includes Adyen's error.
In Test mode, Preczn exports tokens to Adyen's test environment.
Testing in test mode
In Test mode, Preczn sends payments to Adyen's test environment. Link each test merchant with credentials from an Adyen test account, and leave the live URL prefix empty. Use the Preczn test cards and bank accounts, which Preczn maps to Adyen's test values. See Test data and Live vs. test mode.
FAQ
Why do my Adyen transactions return no AVS or CVV result?
The merchant's Adyen account doesn't have raw acquirer results turned on. See the Receiving raw responses section.
Why did an ACH verify return "Account validation with giact not enabled"?
Adyen returned no bank account verification result, because GIACT verification isn't turned on for the merchant's Adyen account. Ask Adyen to turn it on. See the ACH payments section.
Why is my capture or refund still Pending?
Adyen accepts a capture, refund, or void first and confirms it later. Preczn sends you the final status as a transaction webhook. See the Synchronous and asynchronous outcomes section.
Why do live payments fail after the credentials saved?
The live URL prefix doesn't belong to the merchant's Adyen account. Preczn checks only its format. Copy the prefix from the merchant's live Customer Area and link the credentials again. See the Linking existing credentials section.
Updated 11 days ago
