Vault Records and Aliases
Get record and its fields by alias
Retrieve a record and all fields associated with the record by the alias of one of its fields.
get/token/records
Request
- Base URLhttps://api.staging.payrails.io
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
aliasstring required
Alias of a Record Field.
includeVolatileInfoboolean
Boolean indicating if additional information regarding volatile fields should be included in the response.
includeDetokenizationsboolean
Boolean indicating if additional information regarding performed detokenization attempts should be returned.
Response
Record and its fields.
Example response
{
"fields": [
{
"maximumExpirationDate": "2024-12-31T23:59:59Z",
"detokenizations": [
{
"lastAttemptedAt": "2024-01-01T12:00:00Z",
"count": 1,
"type": "detokenization"
}
]
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.