curl --request POST \
--url http://localhost:3000/v2/TokenCreateBulk \
--header 'Content-Type: application/json' \
--header 'X-Bunker-Token: <api-key>' \
--data '
{
"records": [
{
"tokentype": "creditcard",
"record": "<string>"
}
],
"unique": true,
"slidingtime": "<string>",
"finaltime": "<string>",
"request_metadata": {}
}
'{
"status": "ok",
"created": [
{
"tokenbase": "<string>",
"tokenuuid": "<string>",
"record": "<string>"
}
],
"summary": {
"created": 123
}
}Creates multiple tokens for sensitive data
curl --request POST \
--url http://localhost:3000/v2/TokenCreateBulk \
--header 'Content-Type: application/json' \
--header 'X-Bunker-Token: <api-key>' \
--data '
{
"records": [
{
"tokentype": "creditcard",
"record": "<string>"
}
],
"unique": true,
"slidingtime": "<string>",
"finaltime": "<string>",
"request_metadata": {}
}
'{
"status": "ok",
"created": [
{
"tokenbase": "<string>",
"tokenuuid": "<string>",
"record": "<string>"
}
],
"summary": {
"created": 123
}
}API token for authentication