#cbarreda-connect-mcc

1 messages ยท Page 1 of 1 (latest)

olive badger
#

Hi there ๐Ÿ‘‹

  1. You'd use the update API, the example does only show the metadata being updated but you'd simply change that to the desired parameter (in this case business_profile.mcc)
    https://stripe.com/docs/api/accounts/update#update_account-business_profile-mcc
  2. Did you take the account through the onboarding flow?
raven fiber
#

Toby is there a params.AddMMC method instead of params.AddMetadata?

olive badger
#

Ah, didn't realize you were using Go, bear with me a moment while I double check the syntax for that library

raven fiber
olive badger
#

You'll need to add the MCC into the AccountParams, I believe that would look like this:

    BusinessProfile: &stripe.AccountBusinessProfileParams{
        MCC: stripe.String(โ€œ[MCC_CODE]โ€),
    },
}```
raven fiber
#

Ok, I'll try that. Would be great if the automatic thing worked but if I can update it that solves my problem.

olive badger
#

The automatic flow scans the provided information, particularly the website that is provided via the business_profile.url, to try determining the appropriate MCC. So if you're passing the flow test data then it will struggle to make a reasonable choice.

raven fiber
#

Can I pass the MCC code?

raven fiber
#

Toby:
1.- Your code worked. Thanks! A much better example than the one posted at
https://stripe.com/docs/api/accounts/update
Since that one is metadata specific.
2.- This is a great resource. Spent over a week with regular support and didn't make much ground. Thanks!

olive badger
#

I'm thrilled to hear that worked for you!

#

You know where to find us next time you run into a roadblock with building your integration ๐Ÿ˜„

raven fiber
#

Thanks Toby. You guys are great! Have a great day.