Adyen
Supports in this guide: Payments
Provider website: adyen.com
What you need to do for start processing transactions (brief summary)
- Choose account type
- Get your credentials (from Adyen)
- Connect in Dashboard
- Send an API request
Choose account type
Adyen can be connected in different ways (depending on your needs):
- If you do H2H card payments (including Apple Pay and Google Pay) → choose H2H Merchant account
If you're not sure which one to use, confirm with your Corefy account manager.
Prerequisites: get from Adyen
Get the following values for your Adyen project/account:
- Merchant Account → Corefy field
merchant_account→ example:YourCompanyECOM→ where to find: Adyen backoffice / issued by Adyen manager - API key → Corefy field
api_key→ example:AQEyhmfxLYPGb3xEw0abEXAMPLEKEY1234567890→ where to find: Adyen backoffice / issued by Adyen manager - Callback Secret key → Corefy field
webhook_secret→ format: a hex string (the HMAC key of the Standard webhook) → example:3f9a1c2e4b6d8f0a1c3e5b7d9f0a2c4e6b8d0f1a3c5e7b9d0f1a3c5e7b9d0f1a→ where to find: Adyen backoffice / issued by Adyen manager - API URL → Corefy field
api_url→ optional; your account's live Checkout API base URL → example:https://1797a-yourcompany-checkout-live.adyenpayments.com/checkout/v72→ default:https://checkout-test.adyen.com/v72(used when left empty, i.e. sandbox) → where to find: Adyen backoffice, once your account is live
Important
You must configure a Standard webhook in your Adyen Customer Area (Developers → Webhooks) with at least the AUTHORISATION and REFUND event types enabled, pointing to the callback URL below, and generate an HMAC key for it — that key is the Callback Secret key field above. Without it, every callback will fail signature validation.
Payments processing (connect H2H Merchant account, create payment-invoice)
Connect H2H Merchant account in Corefy Dashboard
Step 1 - Open connection form
Open Adyen in the provider directory and press Connect at Adyen Provider Overview page in the New connection section. Choose H2H Merchant account.
Step 2 - Fill in fields and select settings
- Merchant Account
- API key
- Callback Secret key
- API URL -> (optional; leave blank to use the Adyen sandbox environment, or set it to your account's live Checkout API URL to go live)
Additionally, choose Currency and Features. You can set these parameters according to available currencies and features for your Adyen account, but it is necessary to check details of the connection with your Corefy account manager.
Success
You have connected Adyen H2H Merchant account!
First request to Corefy API
What it does: creates a payment-invoice; card data itself is collected and submitted separately by Corefy's checkout/SDK layer, not as part of this request.
Payment - MIN
POST /api/payment-invoices
{
"data": {
"type": "payment-invoice",
"attributes": {
"reference_id": "6be05631-8710-4b14-a369-1928a2b70eda",
"service": "payment_card_eur_hpp",
"currency": "EUR",
"amount": 10
}
}
}
Payment - MAX
POST /api/payment-invoices
{
"data": {
"type": "payment-invoice",
"attributes": {
"reference_id": "199be985-c243-478a-86a8-4b8c902e5bb6",
"service": "payment_card_eur_hpp",
"currency": "EUR",
"amount": 10,
"customer": {
"reference_id": "cus_123",
"email": "name@example.com",
"name": "Jane Smith"
}
}
}
}
Important
customer.email is sent to Adyen as shopperEmail; if missing, it's simply left out of the request.
The cardholder name sent as holderName normally comes from the cardholder name captured together with the card number by Corefy's checkout/SDK layer, not from this JSON request. customer.name is used only as a fallback when the card itself carries no holder name, and if neither is present, holderName is omitted entirely. No other customer fields (phone, address) are used.
Extended request (MAX)
Why add extra fields (typical reasons):
- Provide additional customer details for compliance/reconciliation
- Positively influence conversion rate
- Include optional fields required by your specific flow
Refunds
Adyen supports refunds: partial refunds are allowed, but only a single refund (partial or full) is allowed per payment, and the original transaction ID is required. Refunds are processed asynchronously: the refund request itself returns a received status, and the final result arrives later via callback — refunded on a REFUND webhook with a successful outcome, or failed on a REFUND webhook with a failed outcome, or on a separate REFUND_FAILED webhook (sent when a refund that was initially accepted is rejected afterwards).
Additional info
-
For callback processing, configure a Standard webhook in your Adyen Customer Area (Developers → Webhooks) pointing to
/adyen/callback, with at least theAUTHORISATIONandREFUNDevent types enabled, and generate an HMAC key for it (see Prerequisites). Adyen has no "get payment status" endpoint, so this callback is the only way a pending or 3DS payment can be finalized — reconciliation is not supported for this connector. -
Adyen supports Apple Pay and Google Pay, with token decryption handled by Corefy.
For more information, visit:
FAQ / Troubleshooting
- Invalid credentials / auth error → verify your Merchant Account and API key match the environment selected by API URL (sandbox vs. production)
- Payment stuck in Pending → wait for the Adyen webhook; Adyen has no status-check endpoint, so the final result only arrives via callback
- Webhook signature errors → confirm the Callback Secret key matches the HMAC key generated for the webhook in your Adyen Customer Area
- Refund stuck in processing → the final refund result arrives asynchronously via the
REFUND(orREFUND_FAILED) callback, not in the refund request's own response - Not sure which account type to use? → ask your Corefy account manager
Question
Still looking for help connecting your Adyen account? Please contact our support team!