Send a sign-in code to a forgotten account
Starts recovering an account by its KYC document numbers: pass 1 to 5 filters, each a linked attribute from GET /auth/attributes?kind=linked and the customer’s document number for it. A customer matches when it has every value. When exactly one customer matches, a one-time password goes by SMS to the sign-in phone of its primary user, or to their sign-in email when they have no phone; when the primary user is inactive or has neither, to the customer’s earliest active user that has one. No match, several matches and a matched customer with no such user get the same response, which never shows the customer or its contact: pass its otp_token, with the code the shopper received, to POST /auth/forgot-username/verify-otp. Each request makes the session’s earlier codes from this endpoint unusable. Requires an anonymous access token. The code is never returned, even in debug mode.