Apto Payments interview question

Coding interview developing an endpoint for a user verification mechanism.