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
Operations
Operations
Operations
Operations

Request

List counterparties

Security
TokenAuth
Query
pageSizeinteger(int32)

The number of results to return per page (default 50, max 1000)

pageTokenstring

The token to retrieve the next page of results

curl -i -X GET \
  'https://docs.ripple.com/_mock/products/wallet/api-docs/palisade-api/palisade-api/v2/counterparties?pageSize=0&pageToken=string' \
  -H 'Authorization: YOUR_API_KEY_HERE'

Responses

A successful response.

Bodyapplication/json
filterobject(v2FilterResponse)
counterpartiesArray of objects(v2Counterparty)
Response
application/json
{ "filter": { "previousPageToken": "cGFnZV9zaXplPTEwJnBhZ2VfdG9rZW49MjA=", "nextPageToken": "cGFnZV9zaXplPTEwJnBhZ2VfdG9rZW49MjA=", "total": 100 }, "counterparties": [ {} ] }

Request

Create a new counterparty

Security
TokenAuth
Bodyapplication/jsonrequired
namestringrequired

The counterparty name

Example: "Palisade"
descriptionstring

The counterparty description

Example: "A counterparty used by the treasury department"
detailsobject(v2CounterpartyDetails)required
details.​typestring(v2CounterpartyType)required
Enum"ORGANIZATION""INDIVIDUAL""DAPP"
details.​individualobject(v2Individual)
details.​organizationobject(counterpartyv2Organization)
details.​dAppobject(v2DApp)
curl -i -X POST \
  https://docs.ripple.com/_mock/products/wallet/api-docs/palisade-api/palisade-api/v2/counterparties \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "Palisade",
    "description": "A counterparty used by the treasury department",
    "details": {
      "type": "ORGANIZATION",
      "individual": {
        "firstName": "Joe",
        "lastName": "Bloggs",
        "address": {
          "address1": "Flat B",
          "address2": "10 Mayo Road",
          "city": "London",
          "state": "Greater London",
          "postCode": "W1 1AA",
          "country": "United Kingdom"
        }
      },
      "organization": {
        "legalName": "Palisade Financial",
        "address": {
          "address1": "Flat B",
          "address2": "10 Mayo Road",
          "city": "London",
          "state": "Greater London",
          "postCode": "W1 1AA",
          "country": "United Kingdom"
        }
      },
      "dApp": {}
    }
  }'

Responses

Bodyapplication/json
idstringrequired

The counterparty ID

Example: "ce4918bf-a199-4ce2-85a3-d0d296855384"
organizationIdstringrequired

The organization ID

Example: "ce4918bf-a199-4ce2-85a3-d0d296855384"
createdBystringrequired

The ID of the user who created this counterparty

Example: "ce4918bf-a199-4ce2-85a3-d0d296855384"
createdAtstring(date-time)required

The date and time the counterparty was created

Example: "2022-03-29T10:22:22.420Z"
updatedBystringrequired

The ID of the user who updated this counterparty

Example: "ce4918bf-a199-4ce2-85a3-d0d296855384"
updatedAtstring(date-time)required

The date and time the counterparty was updated

Example: "2022-03-29T10:22:22.420Z"
namestringrequired

The counterparty name

Example: "Palisade"
descriptionstring

The counterparty description

Example: "A counterparty used by the treasury department"
detailsobject(v2CounterpartyDetails)required
details.​typestring(v2CounterpartyType)required
Enum"ORGANIZATION""INDIVIDUAL""DAPP"
details.​individualobject(v2Individual)
details.​organizationobject(counterpartyv2Organization)
details.​dAppobject(v2DApp)
addressCountinteger(int32)required

The number of addresses associated with the counterparty

Example: 5
Response
application/json
{ "id": "ce4918bf-a199-4ce2-85a3-d0d296855384", "organizationId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "createdBy": "ce4918bf-a199-4ce2-85a3-d0d296855384", "createdAt": "2022-03-29T10:22:22.420Z", "updatedBy": "ce4918bf-a199-4ce2-85a3-d0d296855384", "updatedAt": "2022-03-29T10:22:22.420Z", "name": "Palisade", "description": "A counterparty used by the treasury department", "details": { "type": "ORGANIZATION", "individual": {}, "organization": {}, "dApp": {} }, "addressCount": 5 }

Request

Get a counterparty

Security
TokenAuth
Path
idstringrequired

The counterparty ID

curl -i -X GET \
  'https://docs.ripple.com/_mock/products/wallet/api-docs/palisade-api/palisade-api/v2/counterparties/{id}' \
  -H 'Authorization: YOUR_API_KEY_HERE'

Responses

Bodyapplication/json
idstringrequired

The counterparty ID

Example: "ce4918bf-a199-4ce2-85a3-d0d296855384"
organizationIdstringrequired

The organization ID

Example: "ce4918bf-a199-4ce2-85a3-d0d296855384"
createdBystringrequired

The ID of the user who created this counterparty

Example: "ce4918bf-a199-4ce2-85a3-d0d296855384"
createdAtstring(date-time)required

The date and time the counterparty was created

Example: "2022-03-29T10:22:22.420Z"
updatedBystringrequired

The ID of the user who updated this counterparty

Example: "ce4918bf-a199-4ce2-85a3-d0d296855384"
updatedAtstring(date-time)required

The date and time the counterparty was updated

Example: "2022-03-29T10:22:22.420Z"
namestringrequired

The counterparty name

Example: "Palisade"
descriptionstring

The counterparty description

Example: "A counterparty used by the treasury department"
detailsobject(v2CounterpartyDetails)required
details.​typestring(v2CounterpartyType)required
Enum"ORGANIZATION""INDIVIDUAL""DAPP"
details.​individualobject(v2Individual)
details.​organizationobject(counterpartyv2Organization)
details.​dAppobject(v2DApp)
addressCountinteger(int32)required

The number of addresses associated with the counterparty

Example: 5
Response
application/json
{ "id": "ce4918bf-a199-4ce2-85a3-d0d296855384", "organizationId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "createdBy": "ce4918bf-a199-4ce2-85a3-d0d296855384", "createdAt": "2022-03-29T10:22:22.420Z", "updatedBy": "ce4918bf-a199-4ce2-85a3-d0d296855384", "updatedAt": "2022-03-29T10:22:22.420Z", "name": "Palisade", "description": "A counterparty used by the treasury department", "details": { "type": "ORGANIZATION", "individual": {}, "organization": {}, "dApp": {} }, "addressCount": 5 }

Request

Delete a counterparty

Security
TokenAuth
Path
idstringrequired

The counterparty ID

curl -i -X DELETE \
  'https://docs.ripple.com/_mock/products/wallet/api-docs/palisade-api/palisade-api/v2/counterparties/{id}' \
  -H 'Authorization: YOUR_API_KEY_HERE'

Responses

A successful response.

Bodyapplication/json
object(v2DeleteCounterpartyResponse)
Response
application/json
{}

Request

Update a counterparty

Security
TokenAuth
Path
idstringrequired

The counterparty ID

Bodyapplication/jsonrequired
namestringrequired

The counterparty name

Example: "Palisade"
descriptionstring

The counterparty description

Example: "A counterparty used by the treasury department"
curl -i -X PUT \
  'https://docs.ripple.com/_mock/products/wallet/api-docs/palisade-api/palisade-api/v2/counterparties/{id}' \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "Palisade",
    "description": "A counterparty used by the treasury department"
  }'

Responses

Bodyapplication/json
idstringrequired

The counterparty ID

Example: "ce4918bf-a199-4ce2-85a3-d0d296855384"
organizationIdstringrequired

The organization ID

Example: "ce4918bf-a199-4ce2-85a3-d0d296855384"
createdBystringrequired

The ID of the user who created this counterparty

Example: "ce4918bf-a199-4ce2-85a3-d0d296855384"
createdAtstring(date-time)required

The date and time the counterparty was created

Example: "2022-03-29T10:22:22.420Z"
updatedBystringrequired

The ID of the user who updated this counterparty

Example: "ce4918bf-a199-4ce2-85a3-d0d296855384"
updatedAtstring(date-time)required

The date and time the counterparty was updated

Example: "2022-03-29T10:22:22.420Z"
namestringrequired

The counterparty name

Example: "Palisade"
descriptionstring

The counterparty description

Example: "A counterparty used by the treasury department"
detailsobject(v2CounterpartyDetails)required
details.​typestring(v2CounterpartyType)required
Enum"ORGANIZATION""INDIVIDUAL""DAPP"
details.​individualobject(v2Individual)
details.​organizationobject(counterpartyv2Organization)
details.​dAppobject(v2DApp)
addressCountinteger(int32)required

The number of addresses associated with the counterparty

Example: 5
Response
application/json
{ "id": "ce4918bf-a199-4ce2-85a3-d0d296855384", "organizationId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "createdBy": "ce4918bf-a199-4ce2-85a3-d0d296855384", "createdAt": "2022-03-29T10:22:22.420Z", "updatedBy": "ce4918bf-a199-4ce2-85a3-d0d296855384", "updatedAt": "2022-03-29T10:22:22.420Z", "name": "Palisade", "description": "A counterparty used by the treasury department", "details": { "type": "ORGANIZATION", "individual": {}, "organization": {}, "dApp": {} }, "addressCount": 5 }
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