Skip to main content
PUT
/
integrations
/
vertofx
Update VertoFx Integration
curl --request PUT \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/integrations/vertofx \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "enabled": true,
  "apiKey": "<string>",
  "clientId": "<string>",
  "metadata": {},
  "memo": "<string>"
}'
{
  "success": true,
  "message": "<string>",
  "data": {}
}
This endpoint requires authentication. Include your Bearer token in the Authorization header.

Code Examples

const response = await fetch('https://server26-dot-royalti-project.uc.r.appspot.com/integrations/vertofx', {
  method: 'PUT',
  headers: {
    'Authorization': `Bearer ${token}`,
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    "enabled": true,
    "apiKey": "sample-apiKey",
    "clientId": "sample-clientId",
    "metadata": {},
    "memo": "sample-memo"
  })
});

const data = await response.json();
console.log(data);

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"

Query Parameters

id
string
required

ID of the integration to update

Body

application/json
enabled
boolean

Enable or disable the integration

apiKey
string

API key for the VertoFX integration

clientId
string

Client ID for the VertoFX integration

metadata
object

Optional metadata

memo
string

Optional memo

Response

Integration updated

success
boolean
Example:

true

message
string
data
object