Skip to main content
POST
Tokenize records

Authorizations

Authorization
string
header
required

You can use an OAuth2 JWT bearer token in the Authorization header of your API requests for supported endpoints: Authorization: Bearer <YOUR_JWT_HERE>. These tokens are short-lived (the exact lifetime is returned in expires_in) and can be requested via the vault access token endpoint. They are accepted only on the Payrails Vault host and grant access to the tokenization and detokenization endpoints.

Body

application/json

Records to tokenize.

records
Record to tokenize · object[]
required

Records to tokenize. A request holds at least 1 and at most 50 records; a request carrying more is rejected with 413 before any record is stored.

Required array length: 1 - 50 elements

Response

Tokenization completed. Check per-item errors in the response.

records
Tokenization result · object[]
required

One entry per requested record, in the order of the request. A record that cannot be stored carries an error and does not fail the rest of the request.

Last modified on October 7, 2026