BECS Direct Debit
Overview
Section titled “Overview”BECS Direct Debit draws funds directly from an Australian bank account.
Unlike cards, BECS is a batch rail: payments stay processing until they
clear, and a payment that appears to be processing can still dishonour
several business days later. On a live account a payment clears after your
days in trust, 4 by default, once we’ve read our bank’s statements for each
business day up to the day before; in sandbox, 2 business days after the batch
is sent.
What the customer provides
Section titled “What the customer provides”BSB, account number, and account name — plus electronic acceptance of a Direct Debit Request (DDR). The BECS widget collects all of this, including the mandate acceptance evidence, in one flow.
The mandate
Section titled “The mandate”Every BECS payment must be authorised by an active direct debit mandate. When a customer completes the BECS widget flow, ElasticPay:
- captures electronic acceptance of the DDR (timestamp, IP, user agent)
- stores the mandate and retains the evidence for the BECS-required period
- returns a payment method token (
pm_xxx) linked to that mandate
You don’t manage mandate documents yourself — ElasticPay generates and retains them.
Collecting bank details
Section titled “Collecting bank details”Embedded widget (recommended):
import { ElasticPayBecsWidget } from "https://pay.elasticpay.co/v1/widget.js";
const widget = new ElasticPayBecsWidget("becs-widget", { apiUrl: "https://api.elasticpay.co", publishableKey: "pk_sandbox_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", clientSecret: "pi_0abc123_secret_xyz987", onTokenize: (result) => { console.log("BECS payment method:", result.id); },});Direct API (server-side, where you already hold the details under an existing authority):
curl -X POST https://api.elasticpay.co/api/v1/payment_methods \ -H "Authorization: Bearer sk_sandbox_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" \ -H "Content-Type: application/json" \ -d '{ "type": "au_becs_debit", "payment_method_data": { "bsb_number": "062000", "account_name": "Jane Citizen", "account_number": "12345678" } }'Processing and settlement
Section titled “Processing and settlement”| Property | Value |
|---|---|
| Processing | Batch — submitted on business days |
| Clears | On a live account, after your days in trust (4 by default; public holidays aren’t counted), once we’ve read our bank’s statements up to the day before. Until then the payment’s page shows an estimated date. In sandbox, 2 business days after sending |
| Settlement | On a live account, the day it clears when that’s one of your payout days, otherwise your next payout day; in either case once our bank has credited its batch. In sandbox no money moves, so there are no payouts |
| Dishonours | Reported after processing; a payment can fail days after submission |
| Currency | AUD |
Treat processing as genuinely pending for BECS: don’t release goods or
services on submission alone. The payment_intent.succeeded webhook is the
authoritative signal, and a dishonour arrives as payment_intent.failed.
A return after the debit cleared also arrives as payment_intent.failed,
after its payment_intent.succeeded. On a live account, a claim or recall
after the debit cleared arrives as payment_intent.charged_back instead, and
the payment stays succeeded (see
Webhooks).
Recurring charges
Section titled “Recurring charges”BECS is built for recurring billing: once the mandate is in place, charge the
saved pm_xxx on your schedule or via a
payment plan — no customer
interaction required.
Refunds and failures
Section titled “Refunds and failures”- Refunds — supported via the Refunds API, once the debit has cleared,
in full or in part. Once accepted, it’s paid to the bank account that was debited. On a live
account it’s paid in our next payout file, and succeeds when our bank statement shows it paid;
a refund is also refused (
refund_not_covered) when your balance doesn’t cover it and its refund fee yet, and (refund_biller_held) while your payouts are on hold; and if the customer’s bank returns it, it becomesfailed(payment_intent.refund_failed) even after it succeeded, the amount comes back to your balance and the refund fee is kept. See Bank debit refunds. - Dishonours — failed debits (insufficient funds, closed account, cancelled
authority) surface as
payment_intent.failedwith a reason code. A dishonour cancels the mandate only when the bank reports the authority cancelled; other dishonours leave it active. By default, a dishonoured debit is still charged its transaction fee, which comes off your next payout. A dishonoured or returned debit is also charged your account’s dishonour fee, up to $2.20 incl. GST, except a debit charged back in a dispute, which is charged the chargeback fee instead. - Disputes — a customer can dispute a debit with their bank. We work bank-debit disputes with you by email and don’t hold your payouts while one is open. See Bank Debit Disputes.