#cbarreda-connect-mcc
1 messages ยท Page 1 of 1 (latest)
Hi there ๐
- 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 - Did you take the account through the onboarding flow?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Toby is there a params.AddMMC method instead of params.AddMetadata?
Ah, didn't realize you were using Go, bear with me a moment while I double check the syntax for that library
In regards to onboarding: https://editmywords.com/
User: stripe1@test.com password:pass
Once logged in: Financials->Create Express Account.
Test site. Wipe it out on regular basis.
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]โ),
},
}```
Ok, I'll try that. Would be great if the automatic thing worked but if I can update it that solves my problem.
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.
Can I pass the MCC code?
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!
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 ๐
Thanks Toby. You guys are great! Have a great day.