All Products
Search
Document Center

Expenses and Costs:ConfirmRelation

Last Updated:Oct 10, 2026

Confirms an invitation initiated by the main account for a linked account.

Operation description

  1. Currently, only financial management linking is supported. The linked account needs to confirm the invitation only when the real-name verification information of the main account and the linked account is inconsistent.

  2. The permissions to be confirmed must be exactly the same as the permissions specified in the invitation initiated by the main account for the confirmation to succeed.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

RelationType

string

No

The relationship type. Valid values: enterprise_group.

enterprise_group

ParentUserId

integer

No

The Alibaba Cloud UID of the main account.

1738376485192612

ConfirmCode

string

Yes

The confirmation action. Valid values:

  • child_agree: The linked account agrees.

  • child_disagree: The linked account rejects.

  • 主账号取消确认: The main account cancels the confirmation.

child_agree

ChildUserId

integer

No

The Alibaba Cloud UID of the linked account.

1512996702208737

RequestId

string

Yes

The unique identifier of the request.

request_id

PermissionCodes

array

Yes

The permissions granted to the linked account. Valid values:

  • SYNCHRONIZE_FINANCE_IDENTITY: Allows synchronizing the credit-based payment identity to the linked account.

  • SYNCHRONIZE_FINANCE_DISCOUNT_POLICY_TO_TARGET: Allows synchronizing discounts to the linked account.

  • FORBID_WITHDRAW_CASH: Prohibits the linked account from withdrawing cash from the balance.

  • FORBID_MANAGE_INVOICE: Prohibits the linked account from managing invoices.

  • CHECK_FINANCE_INFO: Allows requesting to view the account linking information.

  • MANAGE_TARGET_INVOICE: Allows managing invoices of the target account.

  • CHECK_TARGET_CONSUMPTION: Allows viewing the consumption information of the linked account.

SYNCHRONIZE_FINANCE_IDENTITY

string

No

The permission code. For more information about the valid values, see the description of the PermissionCodes parameter.

SYNCHRONIZE_FINANCE_IDENTITY

RelationId

integer

No

The relationship ID. You can obtain the value from the relationId field in the response of the QueryRelationList operation.

51463

Response elements

Element

Type

Description

Example

object

Code

string

The backend business status code.

200

Message

string

The returned message.

The returned message

RequestId

string

The unique identifier of the request.

request_id

Success

boolean

Indicates whether the request is successful.

true

Data

object

The returned data.

HostId

string

The host ID.

HostId

Examples

Success response

JSON format

{
  "Code": "200",
  "Message": "返回信息",
  "RequestId": "request_id",
  "Success": true,
  "Data": {
    "HostId": "HostId"
  }
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.