#mursk_api

1 messages ¡ Page 1 of 1 (latest)

odd masonBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1408473449738932285

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

royal frigate
#

SetupIntent creation for reference:

[HttpPost]
[Route("~/setup-intent/bank-account")]
public async Task<Ok<string>> CreateSetupIntentForBankAccountAsync()
{
    var options = new SetupIntentCreateOptions
    {
        PaymentMethodOptions = new SetupIntentPaymentMethodOptionsOptions
        {
            UsBankAccount = new SetupIntentPaymentMethodOptionsUsBankAccountOptions
            {
                VerificationMethod = "microdeposits"
            }
        },
        PaymentMethodTypes = ["us_bank_account"],
        Usage = "off_session"
    };

    var setupIntent = await stripeAdapter.SetupIntentCreate(options);

    return TypedResults.Ok(setupIntent.ClientSecret);
}
#

Micro-deposit example for reference.

winter star
royal frigate
#

I'm sorry, I'm confused. That's for completing the verification once you have the code. But if my Customer receives the incorrect type of code, they won't be able to submit it because our form only allows for Statement Descriptors. Are you saying that we have to support both Statement Descriptors and Amount-based in our application?

odd masonBOT
winter star
#

I'm looking into how that is decided, hang tight

royal frigate
#

Will do, thank you very much.

winter star
#

Ok, so it's you're using us_bank_account, you would get the descriptor. However, it sounds like you're using the old ach_debit payment method which we send amounts instead.

royal frigate
#

That's where I'm confused. Do you know how that would be the case when in the code I posted above, the Setup Intent I create is for payment method type us_bank_account. I can't fiure out what portion of my integration would be using the old payment method.

winter star
#

Can you share the seti_ id with me please?

royal frigate
#

I don't have one in Production, but I can get a Test one. One moment please.

winter star
#

Can you sharte the seti_ if from the above amount mircrodeposits?

royal frigate
#

That image above is from our Customer and since the Setup Intent can't be confirmed, it's not liked to their Customer record so I don't know how I can find it.

#

Here's one I just generated in our Test environment using the same exact flow as in Production: seti_1RyxJQIGBnsLynRrVG08yeIH

#
{
  "id": "seti_1RyxJQIGBnsLynRrVG08yeIH",
  "object": "setup_intent",
  "application": null,
  "automatic_payment_methods": null,
  "cancellation_reason": null,
  "client_secret": "seti_1RyxJQIGBnsLynRrVG08yeIH_secret_SumtR1fTk3g1r43JV7kMMuzruvN1Mal",
  "created": 1755878132,
  "customer": null,
  "description": null,
  "flow_directions": null,
  "last_setup_error": null,
  "latest_attempt": "setatt_1RyxJQIGBnsLynRrfU19JKfp",
  "livemode": false,
  "mandate": "mandate_1RyxJRIGBnsLynRrH9DZ74VC",
  "metadata": {},
  "next_action": {
    "type": "verify_with_microdeposits",
    "verify_with_microdeposits": {
      "arrival_date": 1756105200,
      "hosted_verification_url": "https://payments.stripe.com/microdeposit/sacs_test_YWNjdF8xOXNtSVhJR0Juc0x5blJyLHNhX25vbmNlX1N1bXRMVlRET0QxdU0xc0IxUGkwN2d4RzRtWERydks0000WpBOXnVS",
      "microdeposit_type": "amounts"
    }
  },
  "on_behalf_of": null,
  "payment_method": "pm_1RyxJQIGBnsLynRrtHZXUuAf",
  "payment_method_configuration_details": null,
  "payment_method_options": {
    "us_bank_account": {
      "mandate_options": {},
      "verification_method": "microdeposits"
    }
  },
  "payment_method_types": [
    "us_bank_account"
  ],
  "single_use_mandate": null,
  "status": "requires_action",
  "usage": "off_session"
}

This is a us_bank_account but the microdeposit_type is amounts.

winter star
#

I had to confirm with a teammate here as I did not expect that

#

It sounds like you will need to handle both on your page

#

I will share this feedback with the product team to clarify

royal frigate
#

Understood, thank you for letting me know. Just one more question then - can you confirm this is not the legacy ACH payment method and that it is indeed for the current us_bank_account payment method type?

winter star
#

Yeah, that is as you're using us_bank_account

royal frigate
#

Got it, we'll update this to support both. Thank you for your assistance.