Skip to main content
Accept Trustly payments with Worldpay as the payment service provider (PSP).

Supported workflows

WorkflowSupported
Payrails SDK✔
Payrails API✔
Delayed / Manual Capture✖
Instant Capture✔
Cancel / Void✖
Refund / Reverse✔
Save Instruments✖
Merchant Initiated Transaction (MIT)✖

Before you begin

Complete these steps before you send your first Trustly payment through Worldpay:
  1. Set up a Worldpay integration in your workspace. Follow the Worldpay integration setup guide if you don’t have one 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. Required fields must be present for the payment to succeed. Payrails sends Optional fields to the PSP when you include 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.
  • Each Trustly payment is a new customer-initiated payment.
Last modified on October 19, 2026