Localizing Stripe Verification Errors Without Misrouting Documents

· 2 min read

Read the code and affected field together

Stripe’s identity verification guidance describes an error entry with a code and a description when verification fails. It distinguishes the nonlocalized description from the code a platform can use for localization. Keep the affected requirement alongside both values. The wording alone may explain why a file failed, while the field shows whether the next step belongs to a person or the company.

Preserve what the processor actually returned

A platform that supports several languages can map a known code to a localized message without changing the value stored for case tracking. Use the current object and requirement to decide what action to present. If a code is unfamiliar, retain the raw information for support and use a message that accurately describes the known issue rather than inventing a document or rejection reason.

Information Where to use it
Verification error code Stable mapping and support history
Processor description Source text for interpreting a specific event
Requirement or object Route the merchant to the correct person or company task
Current state Check whether a replacement file is still needed

Test the message with an actual case pattern

Suppose the same unreadable-document code appears for a personal ID and a company document on different accounts. A reusable translation can explain readability, but the attachment instruction should come from the field on each account. Keep the affected object visible to support and recheck after submission. This design helps users avoid uploading the wrong document in response to a message that sounds the same.

Use the localized text to communicate what to do, while keeping original processor error information in the case record. This makes it easier to investigate requirements that change across an account review.

Official sources

  1. Handle verification with the API