SEPA Direct Debit
Basic information
The customer accepts or rejects the debit mandate on the payment provider’s page. This flow authorizes a debit from the customer’s bank account; the customer does not manually transfer money to you.
- Integration path: Direct API
- Transaction type: One-time payment
lpmsInfo.lpmsType:SEPADD
| Customer country/region | Order currency |
|---|---|
| 🇦🇹 AT, 🇧🇪 BE, 🇩🇪 DE, 🇪🇸 ES, 🇫🇷 FR, 🇬🇷 GR, 🇮🇪 IE, 🇮🇹 IT, 🇱🇺 LU, 🇱🇻 LV, 🇵🇱 PL, 🇵🇹 PT, 🇷🇴 RO, 🇸🇪 SE, 🇸🇰 SK | EUR |
The customer country/region is the billingInformation.country value in the payment request.
This guide covers enabled configurations for customers whose bank accounts are held in the European Economic Area (EEA). You collect the account holder’s details and International Bank Account Number (IBAN) before creating the payment, as described in Before you begin. Your merchant account and application must be enabled for the relevant country and EUR orders. Use the customer’s actual country when checking availability. The flow covers a single debit, not a reusable subscription mandate or recurring billing.
Before you begin
Complete Setup and confirm with Onerway that this SEPADD flow is enabled for your merchant and application. Confirm transaction limits, the payment validity period, settlement and funds-confirmation arrangements, and the method-specific test procedure. Amount formatting follows Currency and amount validation.
Before integrating, confirm with Onerway whether the enabled configuration requires an additional account-holder address and how it must be supplied. This confirmation also applies when the customer and bank account are within the EEA.
Collect the account holder’s actual first and last names, email, and valid IBAN. Use the customer’s actual billing country and address. The bank account must be within the EEA for this flow. Configure your notification and return URLs, and store the mapping between your order and the Onerway identifiers.
Start the payment with the Direct API
- Check List available payment methods for the current order. After the customer selects this method and supplies the required details, call Create direct transaction from your server with
productType=LPMS,subProductType=DIRECT,txnType=SALE, andpaymentMode=WEB. - Encode
lpmsInfoas a JSON string containinglpmsType=SEPADDandiBanfor the account to be debited. Submit the account holder’s name inbillingInformation.firstNameandlastName, and their email inbillingInformation.email. - Follow the remaining API requirements for billing, shipping, and product details. Encode
billingInformationandshippingInformationas JSON strings, including the required email and country for each. Include products, notification and return URLs, and merchant-collected end-user IP, browser, and device information intxnOrderMsg. Keep product and order currencies consistent, with product amounts, discounts, and shipping fees adding up toorderAmount.
Select the request example “Redirect local payment request (illustrative)”. It uses Bancontact / BE / EUR to show the shared structure. Replace the method withSEPADD, addlpmsInfo.iBan, and supply the actual account holder, address, and order details for the enabled country and EUR order. Do not add card details or subscription parameters to this one-time debit request. - Store the returned
paymentIdandtransactionId. Whenstatus=RandactionType=RedirectURL, redirect the customer’s browser toredirectUrl. The shared response example “Redirect local payment response (illustrative)” shows this shape. For other actions or states, follow Local payment integration. Do not repeatedly create the same order while waiting.
See Request signing for request authentication. The debit mandate is part of this SALE flow; do not switch to a card pre-authorization transaction.
Customer mandate and transaction result
On the provider’s page, the customer reviews the debit details and accepts or rejects the mandate. The payment provider collects and stores the mandate and sends the pre-notification for the debit. Reaching this page or returning to your site does not confirm the transaction result.
Record the result using a signature-verified payment result webhook. If no notification has arrived or you need to check the result, call Query payments with the stored paymentId. For verification, acknowledgement, idempotency, and query fallback, see Webhooks.
status=S means that Onerway has recorded the transaction as successful. For SEPADD, this result can arrive before the funds have been received; it does not by itself confirm receipt of funds or completion of settlement. Confirm funds and fulfill the order under the arrangements agreed with Onerway. A debit can still be returned or charged back after funds are received.
If the customer rejects the mandate, closes the page, or leaves the flow incomplete, keep the order aligned with the server notification or query result. Do not infer success from the customer’s return or create a replacement debit without checking the existing payment.
Refunds and disputes
Confirm the enabled refund capabilities, request deadlines, and handling of returned debits with Onerway. If refunds are enabled, follow Refunds and process the refund result; acceptance of a refund request is not a successful refund. Handle customer bank chargebacks separately from merchant-initiated refunds.
Testing and go-live
Confirm the SEPADD test environment, account details, and mandate procedure with Onerway, then follow the general process in Sandbox testing. Card test data is not a substitute for SEPADD test account details.
- Test each enabled customer country you intend to use with a EUR order, the required account holder details, and an IBAN for an account held in the EEA. Verify that the returned URL opens the mandate page and shows the expected debit details.
- Test mandate acceptance and rejection, closing the page, and returning before a final result. Confirm that your application handles the actual response and never treats a return as payment success.
- Verify notification signatures, acknowledgements, duplicate-notification idempotency, and query fallback. For the accepted-mandate case, retain the notification and acknowledgement for the same order and query it to check that the results agree.
- Verify receipt of funds, refunds, and returned debits separately using the agreed evidence and procedures. Mandate and transaction-status tests alone do not verify funds arrival. Before going live, check production enablement, notification and return URLs, limits, and validity periods.
BLIK Seamless
Collect a one-time BLIK code on your page, submit it through the Direct API, and confirm payment after the customer authorizes it in their banking app.
Maybank Virtual Account
Accept Maybank virtual account payments in Indonesia through the Direct API or Checkout, supply customer details, and confirm payment on your server.