Adds risk verification details for connected accountsBreaking changes
What’s new
Upgrading to this version helps you better understand the causes of supportability verification issues for your connected accounts. You can see the verification error in the requirements.errors.code enum.
The new error includes text that describes the requirement for the following risk requirements:
supportability_rejection_ appeal business_model_ verification restricted_or_ prohibited_ industry_ diligence other_supportability_ inquiry
For example, if a verification fails because your connected account is selling alcohol, this message is shown in the reason field: “We can’t accept payments for age-restricted goods such as alcohol under the Stripe Services Agreement, as mentioned in the prohibited and restricted businesses list.”
{ "id": "{{CONNECTED_ACCOUNT_ID}}", // ... "requirements": { "disabled_reason": "other", "past_due": ["interv_abc123.restricted_or_prohibited_industry_diligence.form"], "pending_verification": [], "errors": [ { "code": "verification_supportability", "reason": "We can't accept payments for age-resticted goods such as alcohol under the Stripe Services Agreement, as mentioned in the restricted businesses list.", "requirement": "interv_abc123.restricted_or_prohibited_industry_diligence.form" } ], "alternatives": [] // ... } }
Learn more about handling risk verifications.
Why is this a breaking change?
This is a breaking change because it adds the new verification_ value to the requirements error code enumeration.
Impact
You can use the details to send notifications to connected accounts and guide them to a form where they can address the requirements.