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/workflows/sweep/instances/{id}
- Sandbox server (uses TESTNET data, private keys and accounts)
https://api.sandbox.palisade.co/v2/workflows/sweep/instances/{id}
- Palisade server (uses MAINNET data, private keys and accounts)
https://api.palisade.co/v2/workflows/sweep/instances/{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/workflows/sweep/instances/{id}' \
-H 'Authorization: YOUR_API_KEY_HERE'The sweep configuration ID
The date and time the sweep instance was started
The date and time the sweep instance was completed
The total number of wallets swept in the sweep instance
The number of wallets successfully swept in the sweep instance
The number of wallets that failed to sweep in the sweep instance
A map of blockchain asset to total amount swept in the sweep instance
Error message in case the sweep failed
{ "id": "ce4918bf-a199-4ce2-85a3-d0d296855384", "sweepConfigurationId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "startedAt": "2022-03-29T10:22:22.420Z", "completedAt": "2022-03-29T10:22:22.420Z", "totalWalletsSwept": "5", "totalSuccessfulWallets": "5", "totalFailedWallets": "2", "totalAmountSwept": { "BTC": "100.00", "ETH": "50.00" }, "incomingFee": "1.00", "status": "STATUS_COMPLETED", "errorMessage": "Insufficient funds for transaction", "outgoingFee": "0.01" }
- Mock server
https://docs.ripple.com/_mock/products/palisade/api-docs/palisade-api/palisade-api-1/v2/workflows/sweep/{sweepConfigurationId}/instances
- Sandbox server (uses TESTNET data, private keys and accounts)
https://api.sandbox.palisade.co/v2/workflows/sweep/{sweepConfigurationId}/instances
- Palisade server (uses MAINNET data, private keys and accounts)
https://api.palisade.co/v2/workflows/sweep/{sweepConfigurationId}/instances
- 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/workflows/sweep/{sweepConfigurationId}/instances?pageSize=0&pageToken=string' \
-H 'Authorization: YOUR_API_KEY_HERE'{ "filter": { "previousPageToken": "cGFnZV9zaXplPTEwJnBhZ2VfdG9rZW49MjA=", "nextPageToken": "cGFnZV9zaXplPTEwJnBhZ2VfdG9rZW49MjA=", "total": 100 }, "sweepInstances": [ { … } ] }