Docs

Payments Articles & FAQ

ACH Stripe, bank account details, api, reference_id, tmp_token, plaid, plaid.js, stripe.js

Stripe ACH - Passing bank account to Chargebee

How to pass a bank account to Chargebee for ACH payments with Stripe.

461783

2016-08-08T03:29:43Z

2024-08-30T10:38:39Z

2071

5

8

221105

For ACH payments, how do I pass a bank account to Chargebee using the API?

For ACH payments, how do I pass a bank account to Chargebee using the API?

For new and existing customer on Stripe, you can use the API to send bank account details across to Chargebee. There are two ways to do so: with a reference ID or with Stripe's temporary token.

Adding a bank account using reference_id

If you have customers' bank information already stored on Stripe, you can pass it along to Chargebee with the following API calls:

-Create a customer

-Update payment method for a customer

Note:

1) Both API calls require you to set the direct debit field to 'true': allow_direct_debit=true. Failing to do so will throw a 'Direct Debit is not

supported for this operation' error.

2) Both API calls make use of the customer's reference_id. A reference_id in Stripe consists of a combination of Stripe Customer ID and Stripe Bank Account ID separated by forward slash (e.g.cus_8suoHaLQH4G5AW/ba_18b8z2KmcbENlhgU03RznRYW).

The workflow is simple: sending the reference_id to Chargebee via the API call will allow Chargebee to retrieve bank account information associated with the id from Stripe and create a customer/update the customer's payment method.

The account can be verified on either the Stripe or the Chargebee web interface after it is added on Chargebee, in case it hasn't been verified yet. If the reference_id you are passing is associated with an invalid bank account (a bank account that is accompanied by a verification_failed or errored status on Stripe), it will not be added on Chargebee.

Adding a bank account using tmp_token

If you are using stripe.js or plaid.js on your end, you can pass Stripe's temporary token to Chargebee with the following API calls:

-Create a customer

-Update payment method for a customer

Note: Both API calls require you to set the direct debit field to 'true': allow_direct_debit=true. Failing to do so will throw a 'Direct Debit is not

supported for this operation' error.

Chargebee will use the token to create a new customer. It will retrieve the corresponding bank account information from Stripe using the token. If the account has not been verified yet, you can make use of the micro-deposits option on Stripe or Chargebee to verify the account.

Related Articles 

Transaction amount limit in Stripe
Testing with Stripe sandbox
I'm getting card declined or processor declined error. What's going on?
What does Chargebee offer that Stripe doesn't?
Stripe Error: “This Connect account cannot currently make live charges”.
Error: "Payment collection failed. Customer does not have a linked card with ID card". What’s going on?
How do I configure Chargebee’s webhook in Stripe?
Which API keys do I need to set up stripe.js? Where can I find them?
How to retrieve the Stripe payment method id for stripe payment intent API?
I'm moving to a new Stripe account in Chargebee. What are the steps to be followed?
Stripe India for INR and non-INR transactions
How to move to a new Stripe account?
Configuring Payments via Stripe
What is stripe.js? What are my implementation options with stripe.js?
How to setup Stripe-Plaid authentication?
Error “As per Indian Regulations, goods export transactions require a billing and shipping address.
What is the Chargebee + stripe.js flow of information?
How to disable all payment methods and allow only ACH?
How to configure Gpay Via Stripe?
My customer “created” date is different in Stripe and doesn’t match with Chargebee records. Why?
Why are we receiving “[EXTERNAL] Stripe webhook delivery issues emails” from Stripe?
Is it mandatory to configure Chargebee webhook in Stripe?
What are the new Stripe India RBI e-mandate changes?
How to configure SEPA Payments via Stripe?
Stripe SEPA via API
How to enable Stripe Level 2 Data in Chargebee?
Error: The payment is blocked due to a high likelihood of chargeback
Unable to find the customer details in Gateway - Stripe
How to use Financial Connections- ACH via Stripe?
Stripe capture_method
How can I disallow payments using PrePaid Cards via Stripe?
What is the general 3DS checkout flow with Stripe and Chargebee?
If a payment method is deleted in Chargebee, will it be deleted in Stripe?
How will the RBI e-mandate regulations impact my Stripe Integration with Chargebee?
How to enable BACS payment method via Stripe?
How to enable BECS payment method via Stripe?
How to enable Boleto payment method via Stripe?
How to confirm Stripe is receiving level 2 data from Chargebee?
How to resolve Bank account verification error "Gateway Err: The micro deposit has a type of descriptor_code"
Why Unattempted payment attempts in Stripe being refunded ?
Why payments made through the Chargebee sandbox are not reflected in the Stripe dashboard ?
Was this article helpful?
Loading…