The Palisade API enables programmatic interaction with the various features of the Palisade platform
https://docs.ripple.com/_mock/products/palisade/api-docs/palisade-api/palisade-api-1/
https://api.sandbox.palisade.co/
https://api.palisade.co/
- Mock server
https://docs.ripple.com/_mock/products/palisade/api-docs/palisade-api/palisade-api-1/v2/policy-rules/limits
- Sandbox server (uses TESTNET data, private keys and accounts)
https://api.sandbox.palisade.co/v2/policy-rules/limits
- Palisade server (uses MAINNET data, private keys and accounts)
https://api.palisade.co/v2/policy-rules/limits
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.ripple.com/_mock/products/palisade/api-docs/palisade-api/palisade-api-1/v2/policy-rules/limits?pageSize=0&pageToken=string' \
-H 'Authorization: YOUR_API_KEY_HERE'{ "filter": { "previousPageToken": "cGFnZV9zaXplPTEwJnBhZ2VfdG9rZW49MjA=", "nextPageToken": "cGFnZV9zaXplPTEwJnBhZ2VfdG9rZW49MjA=", "total": 100 }, "walletLimits": [ { … } ] }
- Mock server
https://docs.ripple.com/_mock/products/palisade/api-docs/palisade-api/palisade-api-1/v2/vaults/{vaultId}/wallets/{walletId}/policy-rules/limits
- Sandbox server (uses TESTNET data, private keys and accounts)
https://api.sandbox.palisade.co/v2/vaults/{vaultId}/wallets/{walletId}/policy-rules/limits
- Palisade server (uses MAINNET data, private keys and accounts)
https://api.palisade.co/v2/vaults/{vaultId}/wallets/{walletId}/policy-rules/limits
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.ripple.com/_mock/products/palisade/api-docs/palisade-api/palisade-api-1/v2/vaults/{vaultId}/wallets/{walletId}/policy-rules/limits?pageSize=0&pageToken=string&blockchain=AVALANCHE' \
-H 'Authorization: YOUR_API_KEY_HERE'{ "filter": { "previousPageToken": "cGFnZV9zaXplPTEwJnBhZ2VfdG9rZW49MjA=", "nextPageToken": "cGFnZV9zaXplPTEwJnBhZ2VfdG9rZW49MjA=", "total": 100 }, "walletLimits": [ { … } ] }
- Mock server
https://docs.ripple.com/_mock/products/palisade/api-docs/palisade-api/palisade-api-1/v2/vaults/{vaultId}/wallets/{walletId}/policy-rules/limits
- Sandbox server (uses TESTNET data, private keys and accounts)
https://api.sandbox.palisade.co/v2/vaults/{vaultId}/wallets/{walletId}/policy-rules/limits
- Palisade server (uses MAINNET data, private keys and accounts)
https://api.palisade.co/v2/vaults/{vaultId}/wallets/{walletId}/policy-rules/limits
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
'https://docs.ripple.com/_mock/products/palisade/api-docs/palisade-api/palisade-api-1/v2/vaults/{vaultId}/wallets/{walletId}/policy-rules/limits' \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"limitQty": "200.00",
"duration": "200s",
"limitType": "PER_TX",
"contract": "0xdAC17F958D2ee523a2206206994597C13D831ec7",
"symbol": "USD",
"matchers": [
{
"type": "USER",
"value": "string",
"values": [
"string"
]
}
],
"blockchain": "AVALANCHE"
}'The date and time the wallet limit policy was created
The date and time the wallet limit policy was updated
Asset is any blockchain asset e.g. USDC, XRP etc.
ID is unique across all blockchains and created by combining the blockchain ID, contract address, and symbol
The token contract address. This field will be empty if the asset is the native coin of the blockchain
The date and time the asset was created
The date and time the asset was last updated
CoinGecko identifier for price data (optional for testnet assets)
- ASSET_SOURCE_LEGACY: Legacy entries
- ASSET_SOURCE_AUTO: Auto-generated
- ASSET_SOURCE_COINGECKO: From CoinGecko sync
- ASSET_SOURCE_PALISADE: Admin entries
- ASSET_SOURCE_CUSTOMER: Customer entries
Any contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message.
Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type.
Example 1: Pack and unpack a message in C++.
Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... }
Example 2: Pack and unpack a message in Java.
Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } // or ... if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); }
Example 3: Pack and unpack a message in Python.
foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ...
Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...} any, err := anypb.New(foo) if err != nil { ... } ... foo := &pb.Foo{} if err := any.UnmarshalTo(foo); err != nil { ... }
The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z".
JSON ==== The JSON representation of an Any value uses the regular representation of the deserialized, embedded message, with an additional field @type which contains the type URL. Example:
package google.profile; message Person { string first_name = 1; string last_name = 2; }
{ "@type": "type.googleapis.com/google.profile.Person", "firstName":
If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field value which holds the custom JSON in addition to the @type field. Example (for message [google.protobuf.Duration][]):
{ "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" }
When this asset was last synchronized
{ "id": "ce4918bf-a199-4ce2-85a3-d0d296855384", "createdBy": "ce4918bf-a199-4ce2-85a3-d0d296855384", "organizationId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "walletId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "vaultId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "limitQty": "200.00", "duration": "200s", "limitType": "PER_TX", "createdAt": "2022-03-29T10:22:22.420Z", "updatedAt": "2022-03-29T10:22:22.420Z", "asset": { "id": "5:0xbehbehfb:USDC", "standard": "NATIVE", "symbol": "LINK", "name": "Chainlink", "blockchain": "AVALANCHE", "decimals": 18, "vetted": true, "enabled": true, "contract": "0x0b9d5D9136855f6FEc3c0993feE6E9CE8a297846e", "createdAt": "2022-03-29T10:22:22.420Z", "updatedAt": "2022-03-29T10:22:22.420Z", "organizationId": "string", "coingeckoId": "ethereum", "source": "ASSET_SOURCE_LEGACY", "sourceMetadata": { … }, "lastSyncedAt": "2024-08-08T10:22:22.420Z", "syncVersion": 1, "contractAddressChecksummed": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48" }, "matchers": [ { … } ], "status": "LIMIT_CREATED", "active": true, "blockchain": "AVALANCHE" }
- Mock server
https://docs.ripple.com/_mock/products/palisade/api-docs/palisade-api/palisade-api-1/v2/vaults/{vaultId}/wallets/{walletId}/policy-rules/limits/{id}
- Sandbox server (uses TESTNET data, private keys and accounts)
https://api.sandbox.palisade.co/v2/vaults/{vaultId}/wallets/{walletId}/policy-rules/limits/{id}
- Palisade server (uses MAINNET data, private keys and accounts)
https://api.palisade.co/v2/vaults/{vaultId}/wallets/{walletId}/policy-rules/limits/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.ripple.com/_mock/products/palisade/api-docs/palisade-api/palisade-api-1/v2/vaults/{vaultId}/wallets/{walletId}/policy-rules/limits/{id}' \
-H 'Authorization: YOUR_API_KEY_HERE'The date and time the wallet limit policy was created
The date and time the wallet limit policy was updated
Asset is any blockchain asset e.g. USDC, XRP etc.
ID is unique across all blockchains and created by combining the blockchain ID, contract address, and symbol
The token contract address. This field will be empty if the asset is the native coin of the blockchain
The date and time the asset was created
The date and time the asset was last updated
CoinGecko identifier for price data (optional for testnet assets)
- ASSET_SOURCE_LEGACY: Legacy entries
- ASSET_SOURCE_AUTO: Auto-generated
- ASSET_SOURCE_COINGECKO: From CoinGecko sync
- ASSET_SOURCE_PALISADE: Admin entries
- ASSET_SOURCE_CUSTOMER: Customer entries
Any contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message.
Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type.
Example 1: Pack and unpack a message in C++.
Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... }
Example 2: Pack and unpack a message in Java.
Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } // or ... if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); }
Example 3: Pack and unpack a message in Python.
foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ...
Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...} any, err := anypb.New(foo) if err != nil { ... } ... foo := &pb.Foo{} if err := any.UnmarshalTo(foo); err != nil { ... }
The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z".
JSON ==== The JSON representation of an Any value uses the regular representation of the deserialized, embedded message, with an additional field @type which contains the type URL. Example:
package google.profile; message Person { string first_name = 1; string last_name = 2; }
{ "@type": "type.googleapis.com/google.profile.Person", "firstName":
If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field value which holds the custom JSON in addition to the @type field. Example (for message [google.protobuf.Duration][]):
{ "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" }
When this asset was last synchronized
{ "id": "ce4918bf-a199-4ce2-85a3-d0d296855384", "createdBy": "ce4918bf-a199-4ce2-85a3-d0d296855384", "organizationId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "walletId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "vaultId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "limitQty": "200.00", "duration": "200s", "limitType": "PER_TX", "createdAt": "2022-03-29T10:22:22.420Z", "updatedAt": "2022-03-29T10:22:22.420Z", "asset": { "id": "5:0xbehbehfb:USDC", "standard": "NATIVE", "symbol": "LINK", "name": "Chainlink", "blockchain": "AVALANCHE", "decimals": 18, "vetted": true, "enabled": true, "contract": "0x0b9d5D9136855f6FEc3c0993feE6E9CE8a297846e", "createdAt": "2022-03-29T10:22:22.420Z", "updatedAt": "2022-03-29T10:22:22.420Z", "organizationId": "string", "coingeckoId": "ethereum", "source": "ASSET_SOURCE_LEGACY", "sourceMetadata": { … }, "lastSyncedAt": "2024-08-08T10:22:22.420Z", "syncVersion": 1, "contractAddressChecksummed": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48" }, "matchers": [ { … } ], "status": "LIMIT_CREATED", "active": true, "blockchain": "AVALANCHE" }
- Mock server
https://docs.ripple.com/_mock/products/palisade/api-docs/palisade-api/palisade-api-1/v2/vaults/{vaultId}/wallets/{walletId}/policy-rules/limits/{id}
- Sandbox server (uses TESTNET data, private keys and accounts)
https://api.sandbox.palisade.co/v2/vaults/{vaultId}/wallets/{walletId}/policy-rules/limits/{id}
- Palisade server (uses MAINNET data, private keys and accounts)
https://api.palisade.co/v2/vaults/{vaultId}/wallets/{walletId}/policy-rules/limits/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'https://docs.ripple.com/_mock/products/palisade/api-docs/palisade-api/palisade-api-1/v2/vaults/{vaultId}/wallets/{walletId}/policy-rules/limits/{id}' \
-H 'Authorization: YOUR_API_KEY_HERE'{}
- Mock server
https://docs.ripple.com/_mock/products/palisade/api-docs/palisade-api/palisade-api-1/v2/vaults/{vaultId}/wallets/{walletId}/policy-rules/permitted-destinations
- Sandbox server (uses TESTNET data, private keys and accounts)
https://api.sandbox.palisade.co/v2/vaults/{vaultId}/wallets/{walletId}/policy-rules/permitted-destinations
- Palisade server (uses MAINNET data, private keys and accounts)
https://api.palisade.co/v2/vaults/{vaultId}/wallets/{walletId}/policy-rules/permitted-destinations
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.ripple.com/_mock/products/palisade/api-docs/palisade-api/palisade-api-1/v2/vaults/{vaultId}/wallets/{walletId}/policy-rules/permitted-destinations?pageSize=0&pageToken=string' \
-H 'Authorization: YOUR_API_KEY_HERE'{ "filter": { "previousPageToken": "cGFnZV9zaXplPTEwJnBhZ2VfdG9rZW49MjA=", "nextPageToken": "cGFnZV9zaXplPTEwJnBhZ2VfdG9rZW49MjA=", "total": 100 }, "destinations": [ { … } ] }