organizations

Update configuration for current organization

Update per-network fee payout addresses and/or refund account IDs. Set a refund account to null or empty string to fall back to the organization treasury wallet.

put/v1/organizations/current/config

Headers

X-API-Keystring

API key

Request body

Example request

{
  "feeRecipientAddresses": {
    "evm": "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb",
    "solana": "7EcDhSYGxXyscszYEp35KHN8vvw3svAuLKTzXwCFLtV",
    "tron": "TJCnKsPa7y5okkXvQAidZBzqx3QyQ6sxMW",
    "bitcoin": "bc1qar0srrr7xfkvy5l643lydnw9re59gtzzwf5mdq"
  },
  "refundAccounts": {
    "evm": "inw_abc123",
    "solana": "inw_sol123",
    "tron": "inw_tron123",
    "bitcoin": "inw_btc123"
  }
}

Response

Updated organization configuration

idstring required

Config ID

organizationIdstring required

Organization ID

createdAtstring required

Created timestamp

updatedAtstring required

Updated timestamp

Example response

{
  "id": "orgcfg_abc123",
  "organizationId": "org_abc123",
  "feeRecipientAddresses": {
    "evm": {
      "address": "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb",
      "isDefault": true
    },
    "solana": {
      "address": "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb",
      "isDefault": true
    },
    "tron": {
      "address": "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb",
      "isDefault": true
    },
    "bitcoin": {
      "address": "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb",
      "isDefault": true
    }
  },
  "refundAccounts": {
    "evm": {
      "accountId": "inw_abc123",
      "address": "9giUCGg4BSigGcWZmUj2Gr6esj8hVr5MZRAKF3oMTNUo",
      "isDefault": true
    },
    "solana": {
      "accountId": "inw_abc123",
      "address": "9giUCGg4BSigGcWZmUj2Gr6esj8hVr5MZRAKF3oMTNUo",
      "isDefault": true
    },
    "tron": {
      "accountId": "inw_abc123",
      "address": "9giUCGg4BSigGcWZmUj2Gr6esj8hVr5MZRAKF3oMTNUo",
      "isDefault": true
    },
    "bitcoin": {
      "accountId": "inw_abc123",
      "address": "9giUCGg4BSigGcWZmUj2Gr6esj8hVr5MZRAKF3oMTNUo",
      "isDefault": true
    }
  }
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.