Integrations · Payments and billing
Adyen
Lets the concierge see whether a payment went through (from Adyen's payment notifications) and, if you allow it, issue a refund.
Specified, built on request. This is what the Adyen connection does, written from Adyen’s own developer documentation. We build and test it with the first customer who asks. Ask for it.
What we ask of you
You create a separate API credential for Usher in your Adyen Customer Area, limited to the merchant account we will use, and send us its API key. You also add a webhook so Adyen tells Usher when payments and refunds succeed or fail. We never ask for your Customer Area login.
- Log in to your live Customer Area (ca-live.adyen.com) with a user that has the Manage API credentials or Merchant admin role, and select your Company account.
- Go to Developers > API credentials, select the Payments tab, then select Create new credential.
- Under Credential type, choose Web service user. Add a description such as 'Usher concierge' and create it.
- Under Server settings > Authentication, open the API key tab, select Generate API key, copy it, and select Save changes. You cannot copy it again later.
- Open the credential's Configure API credential page. Under Accounts, choose Only selected account groups and merchant accounts and tick only the merchant account for your website.
- Under Permissions, keep only the roles we list and untick any others.
- Under Server settings > Allowed IP range, add the IP addresses we give you, and save.
- Go to Developers > Webhooks, select Create new webhook, then Add next to Standard webhook.
- Under General, turn Enabled on and choose the same merchant account. Under Server configuration, enter the URL we give you and choose JSON.
- Under Security, choose Basic authentication and enter the username and password we give you, then generate an HMAC key and copy it.
- Under Events, select the payment and refund events we list, then select Save configuration.
- Send us the API key and the HMAC key through the secure form we give you.
We never ask for a password or an owner’s login.
The permissions it needs
| Permission | What it is for | Access |
|---|---|---|
Checkout webservice role | Use the Checkout API, which holds the refund call. | Can change |
Merchant PAL webservice role | Adyen's base role for processing requests such as refunds. Adyen says disabling it stops the credential processing transactions. Leave it off if you do not want refunds. | Can change |
Management API - Account read | Optional, assigned by default. Confirms which merchant account the key belongs to. | Read only |
What it can do
- See whether a payment succeededAdyen's Checkout API has no call to fetch a payment's status afterwards, so Usher only knows about payments made after the webhook is set up.Reads
- Issue a refundOnly for captured payments. The response only means the request was received; the outcome arrives later in a REFUND webhook. Partial refunds only for some payment methods, and the total cannot exceed the captured amount. Money can take up to 40 business days to reach the shopper.Changes something
- See a refund's outcomeReads
- See a shopper's saved payment detailsNeeds your own shopperReference for the customer; Adyen cannot search by email.Reads
Anything that changes something is off until you switch it on, and stays inside the limits you set.
What it cannot do
- Look up a customer or their payments by email address: Adyen does not keep a customer directory searchable through its API.
- Fetch a past payment's status on demand; Adyen reports outcomes by webhook, and payments made before the webhook was added are not visible to Usher.
- Look up, change or cancel subscriptions: Adyen stores card details for recurring payments, but the schedule is run by your own system, not Adyen.
- Give a key that can read payments but not refund: Adyen's read-only roles cover account settings, not payment data.
Limits and requirements
- A new API key is active immediately; when a key is replaced the old one keeps working for 24 hours.
- API credentials cannot be deleted, only set to Inactive under General Settings.
- Webhook messages must be acknowledged with a 2xx status; Usher must verify the HMAC signature on each.
- Test and live are separate Customer Areas with separate credentials.
Your customers’ data
From webhooks: payment amounts, dates, outcome, payment method, your order reference and, depending on settings, the shopper's email and card summary. From saved payment details: card brand, last four digits and expiry.
Adyen is a trademark of its owner. Usher is not affiliated with or endorsed by Adyen. Details are taken from its public developer documentation and may change; we confirm them when we build the connection.