Creates a single-use token that represents the details of personally identifiable information (PII). You can use this token in place of an id_number or id_number_secondary in Account or Person Update API methods. You can only use a PII token once.
Parameters
- piiDictionaryRequired
The PII this token represents.
- pii.
id_ numberstring The
id_
for the PII, in string form.number
Returns
Returns the created PII token if it’s successful. Otherwise, this call throws an error.
Response
{ "id": "pii_18PwbX2eZvKYlo2CzRXgwN3J", "object": "token", "client_ip": "124.123.76.134", "created": 1466783547, "livemode": false, "redaction": null, "type": "pii", "used": false}