ЕСОЗ - публічна документація

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

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

Apiary

Service logic

  1. Process is similar to IL.Resend Authorization method on Person Request but:

    1. it uses person_request_id where type = PREPSERSON_MERGE_REQUEST.

      1. In case person_request_id doesn’t belong to PREPSERSON_MERGE_REQUEST - return 422 (Id doesn’t belong to preperson merge request)

    2. validates scope 'preperson_merge_request:write' if person_request_id has type PREPERSON_MERGE_REQUEST

  • No labels