Management of card payment credentials under the ruling of PCI/DSS.
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
Bodyapplication/json
The expiry time is used to specify after how many seconds a token should be automatically deleted after creation.
The payload is a key-value map, that can contain any information the user wants to store in the token.
- Maximum 20 key-value pairs.
- Maximum 20 characters per key.
- Maximum 80 characters per value.
Metadata consisting of entries, each of which each includes a key and an associated value:
- Maximum 20 key-value pairs.
- Maximum 20 characters per key.
- Maximum 80 characters per value.
Example: {"my_key_one":"my_value_one","my_key_two":"my_value_two"}
- Guardian service instancehttps://my-cluster-id.on-hellgate.cloud/api/generic/tokens
- curl
- Java
- Node.js
- Ruby
- Go
- Python
curl -i -X POST \
https://my-cluster-id.on-hellgate.cloud/api/generic/tokens \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY_HERE' \
-d '{
"payload": {
"iban": "DE89370400440532013000",
"bic": "COBADEFFXXX",
"account_holder_name": "John Doe"
}
}'Response
application/json
{ "id": "8744c9ea-a02b-4ae6-875c-b64fc333e3ef", "created_at": "2023-10-01T12:34:56Z" }
- Guardian service instancehttps://my-cluster-id.on-hellgate.cloud/api/generic/tokens
- curl
- Java
- Node.js
- Ruby
- Go
- Python
curl -i -X GET \
'https://my-cluster-id.on-hellgate.cloud/api/generic/tokens?schema_id=497f6eca-6276-4993-bfeb-53cbbbba6f08&limit=20' \
-H 'x-api-key: YOUR_API_KEY_HERE'Response
application/json
{ "data": [ { … } ], "links": { "next": "https://my-cluster-id.on-hellgate.cloud/generic/tokens?after=8744c9ea-a02b-4ae6-875c-b64fc333e3ef&limit=20" } }
- Guardian service instancehttps://my-cluster-id.on-hellgate.cloud/api/generic/tokens/{id}
- curl
- Java
- Node.js
- Ruby
- Go
- Python
curl -i -X GET \
'https://my-cluster-id.on-hellgate.cloud/api/generic/tokens/{id}' \
-H 'x-api-key: YOUR_API_KEY_HERE'Response
application/json
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "created_at": "2019-08-24T14:15:22Z", "expires_at": "string", "metadata": { "my_key_one": "my_value_one", "my_key_two": "my_value_two" } }
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
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