POST /payment/purchase endpoint as a standard card charge. You don’t need a different integration per method — you switch payment methods by setting the paymentMethod field and providing a method-specific payload under apm. This means you can add Pix in Brazil, ACH in the US, and Klarna in Europe without touching your core checkout logic.
Each APM requires a connection that supports it to be enabled on your account first. Check the Connections page in your dashboard for what is live, and contact Therius to add a method you need — no integration change is required on your side once it’s enabled.
Base Request Shape
All APM requests share the same top-level structure. The only things that change between methods arepaymentMethod, amount.currency, and the fields inside apm.
Redirect vs. Direct-Debit Methods
APMs fall into two broad categories depending on how the customer authorizes the payment.Redirect Methods
The customer is redirected to a third-party page (for example, their bank or PayPal) to authorize the payment. Include
apm.returnUrl and apm.cancelUrl in your request. The API responds with status: "pending_action" and actionRequired.url.Direct-Debit Methods
Bank account details are collected upfront — no redirect. Pass account fields such as
bankAccountNumber and bankRoutingNumber (ACH) or IBAN (SEPA) directly inside the apm object.Handling the Redirect
When a method returnsstatus: "pending_action", you must send your customer to actionRequired.url to complete authorization.
- JS SDK
- Server-Side Redirect
Pass the
actionRequired object directly to sdk.handleAction(). The SDK manages the redirect lifecycle and resolves the promise with the final PaymentResult once the customer returns.Supported Methods
Method-Specific Examples
- Pix
- ACH
- iDEAL
- Klarna
Pix generates an instant-payment QR code. The response includes a QR code image URL and a copy-paste code string under
actionRequired. Settlement is immediate.ACH Tokenization
For ACH payments you can save the bank account for future use by passingapm.tokenize: true alongside a shopper.id. Therius returns a vault token in the response that you can pass to subsequent ACH charges without asking the customer to re-enter their account details.
ACH tokenization is subject to NACHA rules. Ensure you display the required bank-account authorization mandate to the customer before submitting the request.

