Management of card payment credentials under the ruling of PCI/DSS.
Guardian API (EAP)
https://{cluster_id}.on-hellgate.cloud/
Specifies how many seconds after creation the API key will expire automatically.
A list of scopes that the API key will have access to.
- Managed instance of Guardian CPA
https://my-cluster-id.on-hellgate.cloud/api/admin/api-keys
- curl
- Java
- Node.js
- Ruby
- Go
- Python
curl -i -X POST \
https://my-cluster-id.on-hellgate.cloud/api/admin/api-keys \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY_HERE' \
-H 'x-idempotency-key: order_12345_retry_001' \
-d '{
"expiration_time": 3600,
"scopes": [
"admin:api-keys:create",
"admin:api-keys:update"
]
}'
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.
{ "id": "123e4567-e89b-12d3-a456-426614174000", "created_at": "2023-10-01T10:00:00Z", "expires_at": "2023-10-01T11:00:00Z", "key_value": "key_1234567890ABCDEF", "scopes": [ "admin:api-keys:create", "admin:api-keys:update" ] }
- Managed instance of Guardian CPA
https://my-cluster-id.on-hellgate.cloud/api/admin/api-keys
- curl
- Java
- Node.js
- Ruby
- Go
- Python
curl -i -X GET \
'https://my-cluster-id.on-hellgate.cloud/api/admin/api-keys?after=497f6eca-6276-4993-bfeb-53cbbbba6f08&limit=20' \
-H 'x-api-key: YOUR_API_KEY_HERE'
{ "data": [ { … } ], "links": { "next": "https://my-cluster-id.on-hellgate.cloud/admin/api-keys?after=123e4567-e89b-12d3-a456-426614174000&limit=20" } }
- Managed instance of Guardian CPA
https://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.
{ "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" ] }
A list of scopes that the API key will have access to.
- Managed instance of Guardian CPA
https://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.
{ "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" ] }
- Managed instance of Guardian CPA
https://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'
The list of events to subscribe to.
- Managed instance of Guardian CPA
https://my-cluster-id.on-hellgate.cloud/api/admin/webhooks
- curl
- Java
- Node.js
- Ruby
- Go
- Python
curl -i -X POST \
https://my-cluster-id.on-hellgate.cloud/api/admin/webhooks \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY_HERE' \
-d '{
"events": [
"network.token.updated"
],
"url": "http://example.com"
}'
{ "id": "5d6b2c9a-9b0b-4b0c-8c7d-9e9d5d7e9d5d", "created_at": "2023-10-05T14:48:00.000Z", "url": "https://my-webhook-endpoint.com/webhooks", "events": [ "network.token.updated", "pci.token.security-code.expired" ], "masekd_hmac_key": "123xxxx" }
- Managed instance of Guardian CPA
https://my-cluster-id.on-hellgate.cloud/api/admin/webhooks
- curl
- Java
- Node.js
- Ruby
- Go
- Python
curl -i -X GET \
'https://my-cluster-id.on-hellgate.cloud/api/admin/webhooks?limit=20' \
-H 'x-api-key: YOUR_API_KEY_HERE'
{ "data": [ { … } ], "links": { "next": "https://my-cluster-id.on-hellgate.cloud/admin/webhooks?after=123e4567-e89b-12d3-a456-426614174000&limit=20" } }
- Managed instance of Guardian CPA
https://my-cluster-id.on-hellgate.cloud/api/admin/webhooks/{id}
- curl
- Java
- Node.js
- Ruby
- Go
- Python
curl -i -X GET \
'https://my-cluster-id.on-hellgate.cloud/api/admin/webhooks/{id}' \
-H 'x-api-key: YOUR_API_KEY_HERE'
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "created_at": "2019-08-24T14:15:22Z", "events": [ "network.token.updated" ], "masekd_hmac_key": "123xxxx", "url": "http://example.com" }
- Managed instance of Guardian CPA
https://my-cluster-id.on-hellgate.cloud/api/admin/webhooks/{id}
- curl
- Java
- Node.js
- Ruby
- Go
- Python
curl -i -X DELETE \
'https://my-cluster-id.on-hellgate.cloud/api/admin/webhooks/{id}' \
-H 'x-api-key: YOUR_API_KEY_HERE'