メルペイのID基盤 — eKYC・本人確認の技術

メルペイは、メルカリ内の決済・送金・後払い・銀行連携などを支える金融サービスです。金融サービスは一般のECとは異なり、本人確認や厳格な法令遵守が前提になります。本記事では、メルペイのID基盤とeKYC(電子本人確認)まわりの技術を概観します。
Merpay is a financial service supporting payments, remittance, deferred payment ("Merpay Smart Pay"), and bank account integration within Mercari. Unlike general e-commerce, financial services are premised on identity verification and strict compliance with laws and ordinances. This article gives an overview of Merpay's identity infrastructure and eKYC (electronic Know Your Customer) technology.
法的背景:犯収法
日本では、犯罪による収益の移転防止に関する法律(通称「犯収法」)により、資金移動や銀行口座連携などの特定取引には、本人確認が義務付けられています。メルペイは資金移動業者としての登録を受けており、これらの要件を満たす必要があります。
In Japan, the Act on Prevention of Transfer of Criminal Proceeds (commonly called "hanshū-hō") obligates identity verification for specified transactions such as fund transfers and bank account linkage. As a registered fund-transfer operator, Merpay must satisfy these requirements.
eKYCとは何か
eKYC(electronic Know Your Customer)は、従来の郵送や窓口による本人確認を、スマートフォン上で完結させる仕組みです。日本の犯収法施行規則では、認められている方式が複数定義されており、メルペイをはじめとする多くの事業者は、写真付き本人確認書類と本人顔画像を組み合わせる「ホ方式」を基本にしていると言われています。
eKYC (electronic Know Your Customer) is a mechanism that completes the previously postal- or counter-based identity verification process on a smartphone. Japan's Anti–Criminal Proceeds Act enforcement rules define several permitted methods; many operators including Merpay are reportedly based on the so-called "Method Ho," which combines a photo-bearing identity document with a live face image of the user.
書類スキャンと偽造検出
利用者は運転免許証やマイナンバーカードなどを撮影し、厚みが分かるよう斜めからの撮影も求められます。サーバー側では、OCRによる券面情報の読み取り、文字フォントの整合性確認、ホログラムや券面模様の特徴検出などを組み合わせて偽造を検出します。
Users photograph their driver's license, My Number card, or similar document, and are also required to take an angled shot showing thickness. On the server side, forgery is detected by combining OCR-based extraction of card information, font consistency checks, and feature detection of holograms and card patterns.
顔認証とライブネス判定
書類の顔写真と、その場で撮影した利用者の顔画像を照合し、同一人物か判定します。さらに、写真や動画の再生を使ったなりすましを防ぐため、視線の動きや瞬き、顔の向き変更などを要求するライブネス判定が組み合わされます。これらは専用のSDKやベンダーサービスを利用しつつ、最終判断は内部の審査フローで行われる構成が一般的と考えられています。
The face photo on the document is matched against a live image of the user taken on the spot to determine whether they are the same person. Furthermore, liveness detection is combined to prevent spoofing using printed photos or video playback, requesting actions like gaze movement, blinking, and changes in face orientation. While dedicated SDKs and vendor services are typically used, final decisions are commonly thought to be made through an internal review flow.
ID基盤の全体像
メルペイのID基盤は、メルカリ全体の認証(ログイン、2段階認証)と、メルペイ固有の認可(資金移動資格、与信ステータス)の両方を扱います。OAuth 2.0/OIDCをベースに内部サービスへトークンを配布し、各サービスは必要な資格(KYC完了、年齢確認など)をクレームとして受け取り、許可判定を行う構成が一般的と言われています。
Merpay's ID infrastructure handles both Mercari-wide authentication (login, two-factor authentication) and Merpay-specific authorization (fund-transfer eligibility, credit status). It is reportedly common to distribute tokens to internal services based on OAuth 2.0 / OIDC, with each service receiving necessary statuses (KYC complete, age verified, etc.) as claims and making authorization decisions on that basis.
銀行口座連携とアグリゲーション
メルペイ残高へのチャージや出金には、銀行口座連携が必要になります。これには、全国銀行協会の全銀EDIシステムや、各銀行が公開するAPI、Open Banking相当の仕組みが使われていると見られています。さらに、メルペイは「あと払い」のために利用者の履歴を元にした与信判断を行っており、内部の行動データと外部スコアリングを組み合わせる構成と思われます。
Charging the Merpay balance and withdrawing funds require bank account linkage. This is seen to use the Japanese Bankers Association's Zengin EDI system, APIs exposed by individual banks, and Open Banking–equivalent mechanisms. Furthermore, Merpay performs credit assessment for its "Smart Pay" deferred-payment feature based on user history, in what is thought to be a configuration combining internal behavioral data with external scoring.
セキュリティ・改ざん防止
本人確認データや取引履歴は長期保管が義務であり、改ざん防止・追跡が強く求められます。WORMストレージ(Write Once Read Many)や、ハッシュチェーンによる改ざん検知、KMSを用いた暗号鍵管理など、一般的な金融インフラの手法が組み合わされますと考えられます。加えて、内部監査や外部第三者監査にも耐えられる証跡の保持が必須です。
Identity verification data and transaction history must be retained long-term, and tamper prevention and traceability are strongly required. WORM storage (Write Once Read Many), tamper detection via hash chains, and encryption-key management using KMS are thought to be combined as common financial-infrastructure practices. In addition, retaining audit trails that can withstand internal and external third-party audits is essential.
委託とベンダー管理
eKYCの要素技術(OCR、顔照合、ライブネス判定)には専門ベンダーが多く存在し、内製と委託を組み合わせる構成が一般的です。一方、委託先にも個人情報保護法上の安全管理措置が適用されるため、契約・監査・ログ共有などのガバナンスが重要になります。
There are many specialized vendors for eKYC component technologies (OCR, face matching, liveness detection), and combining in-house development with outsourcing is common. At the same time, outsourcing partners are also subject to safety-management measures under the Act on the Protection of Personal Information, so governance over contracts, audits, and log sharing becomes important.
おわりに
メルペイのID基盤は、利便性(スマホ上での完結)と、法令遵守・セキュリティという相反しがちな要素を両立するための総合基盤です。eKYCは一つの技術ではなく、書類認識、顔照合、ライブネス判定、改ざん防止、認可フローまでを含んだスタック全体の設計問題と捉えるべきと言えるでしょう。
Merpay's ID infrastructure is integrated infrastructure for balancing the often-conflicting elements of convenience (everything completed on a smartphone), legal compliance, and security. eKYC should be viewed not as a single technology but as a stack-wide design problem encompassing document recognition, face matching, liveness detection, tamper prevention, and the authorization flow.