Get or Create Customer by Passport MRZ

Looks up a customer by the passport number encoded in an 88-character passport machine-readable zone (MRZ, ICAO TD3 two-line format). Returns the existing customer if one matches the passport number, otherwise creates a customer from the MRZ data (name, birthday, passport number, plus parsed details in meta). Requires the p/c-customer permission. The passport-number check digit is verified; an invalid MRZ fails with 400 BAD_REQUEST.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required
length between 88 and 88

The two MRZ lines concatenated, exactly 88 characters.

Headers
string
required

The merchant install this request acts on (install.store_id from the app.installed webhook).

Response

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json