Management of card payment credentials under the ruling of PCI/DSS.
API-Reference
//Update API key
Guardian API (1.0)
Download OpenAPI description
Overview
URL
Starfish GmbH & Co. KG
License
Languages
Servers
Guardian service instance
https://{cluster_id}.on-hellgate.cloud
API Keys
Management of API keys for service access.
The capabilities an API keys has access to can be scoped to these areas:
- API Keys
admin:api-keys:createadmin:api-keys:readadmin:api-keys:updateadmin:api-keys:delete
- Webhooks
admin:webhooks:createadmin:webhooks:readadmin:webhooks:delete
- Types
admin:types:createadmin:types:readyadmin:types:delete
- PCI Tokens
pci:tokens:createpci:tokens:readpci:tokens:updatepci:tokens:deletepci:tokens:forward
- Network Tokens
network:tokens:createnetwork:tokens:readnetwork:tokens:deletenetwork:tokens:use
- Generic Tokens
generic:tokens:creategeneric:tokens:readgeneric:tokens:delete
Operations
- Guardian service instancehttps://my-cluster-id.on-hellgate.cloud/api/admin/api-keys/{id}
- curl
- Java
- Node.js
- Ruby
- Go
- Python
curl -i -X GET \
'https://my-cluster-id.on-hellgate.cloud/api/admin/api-keys/{id}' \
-H 'x-api-key: YOUR_API_KEY_HERE'Success response
A list of scopes that the API key will have access to.
Items Enum"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""pci:tokens:create""pci:tokens:read""pci:tokens:update"
Response
application/json
{ "id": "123e4567-e89b-12d3-a456-426614174000", "created_at": "2023-10-01T12:00:00Z", "masked_key_value": "key_123xxxx", "scopes": [ "admin:api-keys:create", "admin:api-keys:update" ] }
Bodyapplication/json
A list of scopes that the API key will have access to.
Items Enum"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""pci:tokens:create""pci:tokens:read""pci:tokens:update"
- Guardian service instancehttps://my-cluster-id.on-hellgate.cloud/api/admin/api-keys/{id}
- curl
- Java
- Node.js
- Ruby
- Go
- Python
curl -i -X PATCH \
'https://my-cluster-id.on-hellgate.cloud/api/admin/api-keys/{id}' \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY_HERE' \
-d '{
"scopes": [
"admin:api-keys:create",
"admin:api-keys:update"
]
}'Success response
A list of scopes that the API key will have access to.
Items Enum"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""pci:tokens:create""pci:tokens:read""pci:tokens:update"
Response
application/json
{ "id": "123e4567-e89b-12d3-a456-426614174000", "created_at": "2023-10-01T12:00:00Z", "masked_key_value": "key_123xxxx", "scopes": [ "admin:api-keys:create", "admin:api-keys:update" ] }
- Guardian service instancehttps://my-cluster-id.on-hellgate.cloud/api/admin/api-keys/{id}
- curl
- Java
- Node.js
- Ruby
- Go
- Python
curl -i -X DELETE \
'https://my-cluster-id.on-hellgate.cloud/api/admin/api-keys/{id}' \
-H 'x-api-key: YOUR_API_KEY_HERE'Webhooks
Management of webhooks for event notifications.
Guardian uses tiny events as notification payload. They give you the context of what happened and you can use this information to fetch more details via our API.
Please find the documentation about the callback on the endpoint that registers the webhook.
Operations