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

Add STPAPIClient method to convert ssn_last_4 to a Token #1432

Merged
merged 1 commit into from
Oct 31, 2019

Conversation

yuki-stripe
Copy link
Collaborator

Summary

Add STPAPIClient method to convert ssn_last_4 to a Token. This parameter is undocumented, but supported by stripe-js (also due to the issue in the ticket).

Motivation

https://jira.corp.stripe.com/browse/IOS-1445

Testing

See the test. It created https://admin.corp.stripe.com/object/pii_1FZR1mBbvEcIpqUbmYvOI5c1
Also checked if it's possible to create a Token with both ssn_last_4 and personal_id_number - it's not.

Copy link
Contributor

@davidme-stripe davidme-stripe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@yuki-stripe yuki-stripe merged commit 88b3610 into master Oct 31, 2019
@yuki-stripe yuki-stripe deleted the yuki-ssn_last_4 branch November 5, 2019 23:35
ccen-stripe pushed a commit that referenced this pull request Sep 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants