Link Verto Beneficiary to User
Description:
The /integrations/vertofx/beneficiaries/link
endpoint links a VertoFX beneficiary to a Royalti user.
Method: POST
Request Payload:
Parameter | Type | Description |
---|---|---|
beneficiaryId | string | ID of the VertoFX beneficiary |
userId | string | ID of the Royalti user |
curl --request POST \
--url https://server26-dot-royalti-project.uc.r.appspot.com/integrations/vertofx/beneficiaries/link \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"beneficiaryId": "<string>",
"userId": "<string>"
}'
{
"status": "success",
"message": "Beneficiary linked successfully"
}
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
Success
The response is of type object
.
curl --request POST \
--url https://server26-dot-royalti-project.uc.r.appspot.com/integrations/vertofx/beneficiaries/link \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"beneficiaryId": "<string>",
"userId": "<string>"
}'
{
"status": "success",
"message": "Beneficiary linked successfully"
}