Skip to main content
Trustly is a bank payment method: customers pay directly from their bank account and confirm the payment in their online banking. Payrails processes Trustly through Worldpay.

How a Trustly payment works

Trustly is a bank redirect payment method:
  1. The customer selects Trustly at checkout.
  2. Payrails returns a redirect URL from Worldpay, and the customer goes to Trustly.
  3. The customer confirms the payment with their bank.
  4. Trustly sends the customer back to your returnInfo URL.
  5. Payrails receives the final result from Worldpay and updates the payment.
Each payment is single-use: the customer confirms every payment on its own. Payrails captures Trustly payments immediately, so a successful payment is final.

Supported currencies and countries

Payrails sends the currency and billing country you provide to Worldpay without checking them first. Worldpay rejects a pairing that Trustly doesn’t support.

Supported workflows

Before you begin

Complete these steps before you send your first Trustly payment through Worldpay:
  1. Set up a Worldpay integration in your workspace. Contact your Payrails account team if Worldpay isn’t listed in your Payrails Portal yet.
  2. Ask Worldpay to enable Trustly on your Worldpay entity.
  3. In the Payrails Portal, go to Settings → Integrations, open your Worldpay integration, select Trustly under Payment methods, and save.
  4. Add Trustly as a payment option in your workflow.

Request fields for Worldpay

Send these fields in the authorize request, in addition to the standard authorize fields. Payrails checks Required fields and returns an error when one is missing. Fields required by the PSP pass the Payrails checks but the PSP can decline the payment without them.

Authorize a Trustly payment

Call authorize a payment with trustly as the paymentMethodCode. The response includes the redirect to Trustly.
Authorize request
After the customer confirms the payment, Trustly returns them to your success or error URL. Confirm the result through webhook notifications or the execution status before you fulfill the order.

How Worldpay handles Trustly

  • Payrails reads the customer’s email from meta.order.billingAddress.email, not from meta.customer.email.
  • When Worldpay reports the payment as pending after the redirect, Payrails waits for the Worldpay webhook to set the final status.
  • Save Instruments and merchant-initiated transactions (MIT) aren’t available for Trustly through Worldpay.
Last modified on October 2, 2026