Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support *_verification fields in PUT /customer requests #1247

Closed
JakeUrban opened this issue Jan 7, 2024 · 2 comments · Fixed by #1316
Closed

Support *_verification fields in PUT /customer requests #1247

JakeUrban opened this issue Jan 7, 2024 · 2 comments · Fixed by #1316
Assignees

Comments

@JakeUrban
Copy link
Contributor

What problem does your feature solve?

SEP-12 includes a PUT /customer/verification endpoint that is meant to accept verification of fields previously provided to PUT /customer, like mobile_number or email_address. However, the anchor platform doesn't support this endpoint, and it doesn't support accepting the mobile_number_verification or email_address_verification fields in PUT /customer requests.

What would you like to see?

Instead of supporting PUT /customer/verification, allow the anchor to accept *_verification fields in PUT /customer, where * is a valid SEP-9 field. This will allow anchors implement a 2-step process where they first accept the field that requires verification and then request the verification of that field.

What alternatives are there?

The alternative is to support the flow described in SEP-12, which is to set the field requiring verification to the VERIFICATION_REQUIRED status in GET /customer responses, and accept the verification with the PUT /customer/verification endpoint.

I don't think this is the best approach because we are trying to move away from using GET /customer as a means of determining which fields need to be provided to the anchor, in favor of the client polling the transaction record for which KYC may be required instead.

cc @Ifropc

@Ifropc
Copy link
Contributor

Ifropc commented Jan 26, 2024

Added proposal to simplify verification process using only PUT /customer endpoint: stellar/stellar-protocol#1431

@Ifropc Ifropc self-assigned this Feb 9, 2024
@Ifropc
Copy link
Contributor

Ifropc commented Mar 26, 2024

Tracked internally as ANCHOR-582

@Ifropc Ifropc linked a pull request Apr 5, 2024 that will close this issue
@Ifropc Ifropc closed this as completed Apr 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants