curl --request PUT \
--url https://api.royalti.io/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": {}
}Update VertoFX Integration
curl --request PUT \
--url https://api.royalti.io/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": {}
}/integrations/vertofx endpoint updates an existing VertoFX integration configuration.
Method: PUT
Query Parameters:
| Parameter | Type | Description |
|---|---|---|
| id | string | ID of the integration to update |
const response = await fetch('https://api.royalti.io/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);
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
ID of the integration to update