Adds expected debit date for bank debit payments
What’s new
You can now access the expected_ for bank debit payments under payment_method_details for Charges. For example, you can find the expected debit date for ACSS Debit in payment_method_details.acss_debit.expected_debit_date.
This property is available for all direct debit payment methods: ACSS Debit, AU BECS Debit, BACS Debit, NZ Bank Account, SEPA Debit, and US Bank Account.
The expected_ property returns a date string in YYYY-MM-DD format indicating when funds are expected to be debited from the customer’s bank account. This information is available in API responses and charge.updated, charge.succeeded, and charge.failed events when the debit date can be determined.
Impact
You can now provide your customers with visibility into when funds are expected to be debited from their accounts, which helps with cash flow forecasting and customer communication. The expected_ property returns null when the debit date can’t be determined, so make sure your integration handles both scenarios.