Update Network Partner Details

put/api/stablecoin/v1/admin/network-partner/{networkPartnerId}

Updates the details of an existing network partner.

Path Parameters

  • networkPartnerIdstringRequired
    Unique identifier of the network partner to be updated
    Example: ca1bf54a-15e7-453d-818b-7664abd8b98a

Request Body

entity string
Type of network partner entity
Allowed values: EXCHANGE MARKET_MAKER
Example: EXCHANGE
description string
Updated description of the network partner
Min length: >= 1 characters
Example: Test Network Partner
comment string
Additional notes about the update
Min length: >= 1 characters
Example: Initial setup
estimatedAssetHolding number
Updated estimated value of assets held by the partner
Example: 100000
networkPartnerName string
Updated display name for the network partner
Min length: >= 1 characters
Example: test network
networkPartnerLogoUrl string
Updated URL to partner's logo image
Min length: >= 1 characters
Example: http://logo.com
networkPartnerWebsiteUrl string
Updated URL to partner's website
Min length: >= 1 characters
Example: http://website.com
isNetworkPartnerFeatured boolean
Updated flag indicating if partner should be featured
Example: true

200 Response

id string <uuid>required
Unique identifier for the network partner
Example: ca1bf54a-15e7-453d-818b-7664abd8b98a
enterpriseId string required
Enterprise ID associated with the network partner
Min length: >= 1 characters
Example: 6437d9ae435d8b0007635c3f0db52154
Match pattern: ^[0-9a-f]{32}$
walletId string required
Wallet ID used for transactions
Min length: >= 1 characters
Example: 6437d9f07d6a87000613e6c06e4218d3
Match pattern: ^[0-9a-f]{32}$
address string required
Blockchain address of the network partner
Min length: >= 1 characters
Example: 0x80fce09234d855b7508c024a4f14cb01eaaedb6d
Match pattern: ^[0-9a-f]{32}$
entity string required
Type of entity the network partner represents
Allowed values: EXCHANGE MARKET_MAKER
Example: EXCHANGE
organizationId string
Organization identifier
Min length: >= 1 characters
description string
Additional details about the network partner
Example: testing
networkPartnerName string
Display name of the network partner
networkPartnerLogoUrl string
URL to the network partner's logo
networkPartnerWebsiteUrl string
URL to the network partner's website
isNetworkPartnerFeatured boolean required
Indicates if the network partner is featured
Example: false
hasAgreedToTermsAndConditions boolean required
Indicates if the partner has agreed to terms and conditions
Example: false
estimatedAssetHolding number required
Estimated asset holding value
Example: 1000
status string required
Current status of the network partner
Allowed values: ACTIVE INACTIVE BLOCKED
Example: ACTIVE
updatedBy string required
ID of the user who last updated the record
Min length: >= 1 characters
Example: 628ca09d1b78a6000750274f0775571a
Match pattern: ^[0-9a-f]{32}$
comment string
Comments or notes
activatedAt string <date-time>
Timestamp when the partner was activated
createdAt string <date-time>required
Timestamp when the record was created
updatedAt string <date-time>required
Timestamp when the record was last updated
allTimeRevenueDetails object
Revenue details aggregated over all time
assetId string
auc string
createdAt string <date-time>required
enterpriseId string
fees string
rewardEarned string
rewardShare string
monthlyRevenueDetails array[object]
Monthly breakdown of revenue details
auc string required
fees string required
month number required
rewardEarned string required
rewardShare string required
year number required

400 Response

500 Response