#johnm-ach-questions
1 messages · Page 1 of 1 (latest)
You do, but it will be delayed until the ACH payment succeeds a few days later
It won't appear right away due to the async nature
Do you have any example payment from several days ago you can inspect?
That is not how the legacy charge api worked.
previously ... I used the balance transaction to determine the estimated availability date that I stored in my database
Yea... I don't have one from a couple days ago... I just started using the paymentintents api. Previously , it did not support ach
Ah right, i think I'm mistaken here. Let me start over.
Ok, can you share that example payment intent?
you want the identifier ?
this is in the sandbox
pi_3LzQV6HFDCZvO5mL0c01zrBz
this is a credit card payment. It has a balance transaction
thanks, looking
pi_3LzQSAHFDCZvO5mL0PnlOtzI is a ach payment. SAme payment amount
Can you try retrieving the ACH PI from the API and let me know what you see?
you mean this ?
{
"confirm": "true",
"description": "BEP PAY # 00000296",
"mandate_data": {
"customer_acceptance": {
"type": "offline"
}
},
"metadata": {
"paymentId": "296"
},
"currency": "usd",
"customer": "cus_KK8j178fvmrGxz",
"payment_method": "ba_1JfURwHFDCZvO5mLEAFoICAM",
"error_on_requires_action": "true",
"confirmation_method": "automatic",
"amount": "100000",
"payment_method_types": {
"0": "us_bank_account"
}
}
or this
pi_3LzQSAHFDCZvO5mL0PnlOtzI
the latter, the PI
In the charges.data in the result, you should see a charge and I would like to know if the balance_transaction is now populated
yes... on the charge.succeeded event. Ok... not a huge deal... just different. Is there a way to get the avaiableOn date for the paymentIntent api ? without waiting on the charge.succeeded event ?
Or am I just going to have to estimate that on number of business days ?
problem with doing that is I have to factor for non-processing days and holidays
no there is no way to get that
We taking payments from customers and sending to connected accounts when the charge.succeeded event occurs. We hav times when my boss wants to know when the charge will be processed
so you have to wait for the Charge to be created
ok.. Thanks. Just wanted to make sure I was not missing something
all good!