Skip to Content
Docs

Trustly

Accept Trustly payments in GBP from UK customers, who pay directly from their bank account.

Trustly is an open banking payment method that lets customers pay directly from their bank account without sharing card details. Through Pay.com, it's available to UK merchants for GBP payments from UK customers, who don't need to install an app or create an account.

Payment method properties

Trustly takes GBP payments from customers in the United Kingdom and confirms them immediately.

PropertyDetails
TypeBank transfer
API typetrustly
How customers payIn-page or redirect
RedirectsMobile only (desktop stays in-page)
Customer countriesUnited Kingdom
CurrenciesGBP
RefundsFull and partial
Recurring paymentsYes
DisputesNo
IntegrationsUniversal checkout, Headless checkout, API
Merchant countriesUnited Kingdom
Payment confirmationImmediate

Customer payment flow

When a customer selects Trustly at checkout, they authorize a bank transfer through their bank's online environment.

  1. 1

    Select Trustly and proceed

    The customer selects Trustly on your checkout page and clicks Pay. Pay.com generates a redirect URL and sends the customer to the Trustly payment page.

  2. 2

    Choose a bank

    The customer selects their bank from the list of supported banks on the Trustly payment page.

  3. 3

    Authorize the payment

    The customer logs in to their bank's online banking environment, selects an account, and confirms the payment with a one-time code. The exact steps vary by bank. The payment is debited from their bank account in real time.

  4. 4

    Return to your site

    After the customer authorizes payment, the result is posted back to Pay.com. The customer is redirected to your site.

If the customer closes the payment page without completing authorization, the charge stays in requires_authentication until the authentication session expires (60 minutes by default). It then moves to failed and a charge.failed webhook event fires. Don't fulfill the order until you receive a charge.succeeded event.

Before you begin

Trustly works with the standard Pay.com integration after your account manager enables it for your account.

Account prerequisites:

  • You must have an active Pay.com merchant account with Trustly enabled. Contact your account manager to enable Trustly for your account.
  • You don't need a separate Trustly account. Pay.com manages the Trustly integration for you.
  • Your business must operate in an industry that Trustly accepts. Contact your account manager to confirm eligibility.

Technical prerequisites:

  • No additional SDK or library is needed beyond the standard Pay.com integration.
  • The Trustly payment page is served externally. Make sure your Content Security Policy allows the redirect.

Dashboard configuration

After your account manager enables Trustly for your account, turn it on for checkout in the Pay.com dashboard. See Turn on payment methods for the steps, and ask your account manager to enable Trustly if it isn't listed.

Handling payment events

Pay.com sends these webhook events as a Trustly charge changes status. Creating a charge does not emit a webhook event.

EventWhen it firesWhat to do
charge.pendingThe customer approved the payment, and Trustly hasn't confirmed it yetWait for charge.succeeded or charge.failed
charge.succeededThe customer approved the payment, and it completedFulfill the order
charge.failedThe customer canceled, Trustly declined the payment, or the authentication session expiredAsk the customer to pay again or use another method

Verify the Pay-Signature header before acting on an event. See Verify webhook signatures.

Refunds

You can refund a Trustly payment in full or in part. Refunded funds return to the customer's bank account. You can refund a payment more than once, up to the charge amount. To refund it, send POST /v1/refunds with the charge's id as charge, and set amount_to_refund for a partial refund. See Refund a charge for refund statuses and webhook events.

Recurring payments

Trustly supports recurring payments through a Direct Debit mandate. The customer authorizes the mandate once during an initial payment. Pay.com stores it as a pm_trustly_… payment method, which you can then charge without redirecting the customer again. Recurring payments must be enabled on your account by your account manager.

See Set up recurring payments for the full integration guide.

Next steps

  • Add to checkout: Accept Trustly payments with Pay.com.js or from your server, and test them in the sandbox.
  • Refund a charge: Review refund statuses and webhook events.
  • Webhooks: Configure a webhook endpoint and verify signatures.
Was this page helpful?