Supported workflows
| Workflow | Supported |
|---|---|
| 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 Wero payment through Deutsche Bank:- Set up a Deutsche Bank integration in your workspace. Follow the Deutsche Bank integration setup guide if you don’t have one yet.
- Ask Deutsche Bank to activate Wero on your DB Gateway Europa account.
- In the Payrails Portal, go to Settings → Integrations, open your Deutsche Bank integration, select Wero under Payment methods, and save.
- Add Wero as a payment option in your workflow.
Request fields for Deutsche Bank
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 Wero payment
Create the execution with amerchantReference that fits the Wero format, for example order-4821. Then call authorize a payment with wero as the paymentMethodCode. The response includes the redirect to the Wero page.
Authorize request
How Deutsche Bank handles Wero
- Payrails checks the merchant reference, the customer contact and the billing address before it calls Deutsche Bank.
- Deutsche Bank captures Wero payments as soon as the customer approves them, so the payment completes in one step.
- Wero sends the customer back to your site after they approve or decline the payment. Payrails then reads the final result from Deutsche Bank, and Deutsche Bank also sends it as a notification.
- When the customer declines the payment in the app, Payrails marks it as canceled by the customer. When the customer leaves the Wero page without approving, Deutsche Bank closes the payment after about 10 minutes, and Payrails marks it as abandoned by the customer.
- You can refund a Wero payment in full or in part, as many times as you need up to the paid amount. A refund stays pending until Deutsche Bank sends its result as a notification, usually within seconds.
- Each Wero payment is a new customer-initiated payment.