API Keys
Create API key
Creates a new API key with the specified scopes and expiry defined via expires_in (seconds).
POST
Create API key
Authorizations
Body
application/json
A list of scopes that the API key will have access to.
Minimum array length:
1Available options:
pci:tokens:create, pci:tokens:read, pci:tokens:update, pci:tokens:delete, pci:tokens:forward, generic:tokens:create, generic:tokens:read, generic:tokens:delete, network:tokens:create, network:tokens:read, network:tokens:delete, network:tokens:use, network:tokens:forward, wallet:tokens:create, wallet:tokens:read, wallet:tokens:delete, wallet:tokens:forward, wallet:apple-pay:sessions:create, wallet:apple-pay:settings:read, wallet:apple-pay:settings:update, wallet:apple-pay:trust-anchors:read, wallet:apple-pay:trust-anchors:update, wallet:apple-pay:certificates:create, wallet:apple-pay:certificates:read, wallet:apple-pay:certificates:update, wallet:apple-pay:certificates:delete, wallet:apple-pay:domains:create, wallet:apple-pay:domains:read, wallet:apple-pay:domains:update, wallet:apple-pay:domains:delete, metadata:inquiries:create, admin:api-keys:create, admin:api-keys:read, admin:api-keys:update, admin:api-keys:delete, admin:webhooks:create, admin:webhooks:read, admin:webhooks:delete, admin:types:create, admin:types:read, admin:types:delete, admin:imports:create, admin:imports:read, admin:imports:cancel How many seconds after creation the API key expires automatically.
Required range:
1 <= x <= 7776000Response
Success response
The generated API key value. It will only be returned once with this response.
A list of scopes that the API key will have access to.
Minimum array length:
1Available options:
pci:tokens:create, pci:tokens:read, pci:tokens:update, pci:tokens:delete, pci:tokens:forward, generic:tokens:create, generic:tokens:read, generic:tokens:delete, network:tokens:create, network:tokens:read, network:tokens:delete, network:tokens:use, network:tokens:forward, wallet:tokens:create, wallet:tokens:read, wallet:tokens:delete, wallet:tokens:forward, wallet:apple-pay:sessions:create, wallet:apple-pay:settings:read, wallet:apple-pay:settings:update, wallet:apple-pay:trust-anchors:read, wallet:apple-pay:trust-anchors:update, wallet:apple-pay:certificates:create, wallet:apple-pay:certificates:read, wallet:apple-pay:certificates:update, wallet:apple-pay:certificates:delete, wallet:apple-pay:domains:create, wallet:apple-pay:domains:read, wallet:apple-pay:domains:update, wallet:apple-pay:domains:delete, metadata:inquiries:create, admin:api-keys:create, admin:api-keys:read, admin:api-keys:update, admin:api-keys:delete, admin:webhooks:create, admin:webhooks:read, admin:webhooks:delete, admin:types:create, admin:types:read, admin:types:delete, admin:imports:create, admin:imports:read, admin:imports:cancel Create API key