Skip to content

Palisade API (2.0)

The Palisade API enables programmatic interaction with the various features of the Palisade platform

Download OpenAPI description
Languages
Servers
Mock server
https://docs.ripple.com/_mock/products/wallet/api-docs/palisade-api/palisade-api
Sandbox server (uses TESTNET data, private keys and accounts)
https://api.sandbox.palisade.co
Palisade server (uses MAINNET data, private keys and accounts)
https://api.palisade.co
Operations
Operations
Operations
Operations
Operations

Get the Firehose configuration for streaming audit events

Request

Get the Firehose configuration for streaming audit events

Security
TokenAuth
curl -i -X GET \
  https://docs.ripple.com/_mock/products/wallet/api-docs/palisade-api/palisade-api/v2/audit/firehose/configuration \
  -H 'Authorization: YOUR_API_KEY_HERE'

Responses

Bodyapplication/json
streamNamestringrequired

Firehose stream name

Example: "audit-logs-stream"
regionstringrequired

Firehose region

Example: "eu-west-2"
assumeRoleArnstringrequired

ARN of the role for the Palisade auditor to assume for Firehose access. Must have firehose:PutRecordBatch permissions on the stream.

Example: "arn:aws:iam::123456789012:role/my-audit-logs-role"
statusobject(v2FirehoseConfigurationStatus)required
status.​statestring(v2FirehoseConfigurationState)required
Enum"FIREHOSE_CONFIG_STATE_PENDING""FIREHOSE_CONFIG_STATE_ENABLED""FIREHOSE_CONFIG_STATE_DISABLED"
status.​lastErrorstring

Last error message if any

Example: "User: arn:aws:iam::663932549156:user/audit-service is not authorized to perform: sts:AssumeRole"
status.​lastErrorAtstring(date-time)

Timestamp of the last error

Example: "2022-03-29T10:22:22.420Z"
status.​consecutiveFailuresinteger(int32)required

Number of consecutive failures

Example: 3
status.​successfulUploadsinteger(int32)required

Total number of successful uploads

Example: 120
status.​failedUploadsinteger(int32)required

Total number of failed uploads

Example: 30
Response
application/json
{ "streamName": "audit-logs-stream", "region": "eu-west-2", "assumeRoleArn": "arn:aws:iam::123456789012:role/my-audit-logs-role", "status": { "state": "FIREHOSE_CONFIG_STATE_PENDING", "lastError": "User: arn:aws:iam::663932549156:user/audit-service is not authorized to perform: sts:AssumeRole", "lastErrorAt": "2022-03-29T10:22:22.420Z", "consecutiveFailures": 3, "successfulUploads": 120, "failedUploads": 30 } }

Set the Firehose configuration for streaming audit events

Request

Set the Firehose configuration for streaming audit events

Security
TokenAuth
Bodyapplication/jsonrequired
streamNamestringrequired

Firehose stream name

Example: "audit-logs-stream"
regionstringrequired

Firehose region

Example: "eu-west-2"
assumeRoleArnstringrequired

ARN of the role for the Palisade auditor to assume for Firehose access. Must have firehose:PutRecordBatch permissions on the stream.

Example: "arn:aws:iam::123456789012:role/my-audit-logs-role"
enabledboolean

Whether to enable the Firehose stream. Set to false to temporarily disable without deleting the configuration. Defaults to true (enabled/pending).

Example: true
curl -i -X PUT \
  https://docs.ripple.com/_mock/products/wallet/api-docs/palisade-api/palisade-api/v2/audit/firehose/configuration \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -d '{
    "streamName": "audit-logs-stream",
    "region": "eu-west-2",
    "assumeRoleArn": "arn:aws:iam::123456789012:role/my-audit-logs-role",
    "enabled": true
  }'

Responses

Bodyapplication/json
streamNamestringrequired

Firehose stream name

Example: "audit-logs-stream"
regionstringrequired

Firehose region

Example: "eu-west-2"
assumeRoleArnstringrequired

ARN of the role for the Palisade auditor to assume for Firehose access. Must have firehose:PutRecordBatch permissions on the stream.

Example: "arn:aws:iam::123456789012:role/my-audit-logs-role"
statusobject(v2FirehoseConfigurationStatus)required
status.​statestring(v2FirehoseConfigurationState)required
Enum"FIREHOSE_CONFIG_STATE_PENDING""FIREHOSE_CONFIG_STATE_ENABLED""FIREHOSE_CONFIG_STATE_DISABLED"
status.​lastErrorstring

Last error message if any

Example: "User: arn:aws:iam::663932549156:user/audit-service is not authorized to perform: sts:AssumeRole"
status.​lastErrorAtstring(date-time)

Timestamp of the last error

Example: "2022-03-29T10:22:22.420Z"
status.​consecutiveFailuresinteger(int32)required

Number of consecutive failures

Example: 3
status.​successfulUploadsinteger(int32)required

Total number of successful uploads

Example: 120
status.​failedUploadsinteger(int32)required

Total number of failed uploads

Example: 30
Response
application/json
{ "streamName": "audit-logs-stream", "region": "eu-west-2", "assumeRoleArn": "arn:aws:iam::123456789012:role/my-audit-logs-role", "status": { "state": "FIREHOSE_CONFIG_STATE_PENDING", "lastError": "User: arn:aws:iam::663932549156:user/audit-service is not authorized to perform: sts:AssumeRole", "lastErrorAt": "2022-03-29T10:22:22.420Z", "consecutiveFailures": 3, "successfulUploads": 120, "failedUploads": 30 } }
Operations
Operations
Operations
Operations
Operations

Used to view information about the platform

Operations
Operations
Operations
Operations
Operations
Operations
Operations

Used to manage sweep configurations

Operations
Operations
Operations

Used to manage XRP specific transactions

Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations