PUT
/
api
/
v2.1
/
counter-party
/
counter-Party
/
{counterPartyId}
Update a counter party
curl --request PUT \
  --url https://sandbox.finhub.cloud/api/v2.1/counter-party/counter-Party/{counterPartyId} \
  --header 'Content-Type: application/json' \
  --header 'X-Forwarded-For: <x-forwarded-for>' \
  --data '{
  "name": "<string>",
  "email": "<string>",
  "phone": "<string>",
  "organizationId": "<string>",
  "accountNumber": "<string>",
  "bankName": "<string>",
  "bankCode": "<string>",
  "swiftCode": "<string>",
  "address": "<string>"
}'

Headers

X-Forwarded-For
string
required

Forwarded client IP address

User-Agent
string

Client user agent information

X-Tenant-ID
string

Tenant identifier for multi-tenant operations

Path Parameters

counterPartyId
string
required

Body

application/json

Response

200

Counter party updated successfully