Purpose
This WS allows to resend sms with OTP-code to the person’s verified phone. Uses on approve preperson request process in case OTP wasn’t delivered in first time.
Specification
Service logic
Process is similar to IL.Resend Authorization method on Person Request but:
it uses person_request_id where type = PREPSERSON_MERGE_REQUEST.
In case person_request_id doesn’t belong to PREPSERSON_MERGE_REQUEST - return 422 (Id doesn’t belong to preperson merge request)
validates scope 'preperson_merge_request:write' if person_request_id has type PREPERSON_MERGE_REQUEST