---
title: "account/subaccount/set-permissions"
method: POST
path: "/account/subaccount/set-permissions"
tags: ["Sub-Account Endpoints"]
---

# account/subaccount/set-permissions

`POST /account/subaccount/set-permissions`

## Request

- Base URL: `https://earthnode-dev.vopay.com/api/v2`
- URL: `https://earthnode-dev.vopay.com/api/v2/account/subaccount/set-permissions`
- Auth: none declared

This endpoint will allow the user to modify the permissions and the maximum amounts to their sub-accounts in the API.  

 The main account will be able to only modify the permission that he has, For Example, if the user does not have ETCCollect permission, the account won't be able to assign that permission to their sub-account.

## Request body `application/x-www-form-urlencoded`

- object
  - `AccountID` string, required: Your account ID
  - `Key` string, required: API key for the account
  - `Signature` string, required: Hashed signature for the request
  - `ApplyToAll` boolean: This flag will allow the Main account to modify the permissions of all their sub-accounts at once, no matter if the sub account is active or inactive. This field only accepts true as a value
  - `SubaccountID` string: This field is to apply the permissions to only one sub-account. The option ApplyToAll will not work.
  - `EFTCollectEnabled` boolean: Permission related to EFT Fund, True if the user wants to enable this feature
  - `EFTSendEnabled` boolean: Permission related to EFT Withdraw, True if the user wants to enable this feature
  - `USDEFTCollectEnabled` boolean: Permission related to EFT Fund using USD currency with a Canadian bank account, True if the user wants to enable this feature
  - `USDEFTSendEnabled` boolean: Permission related to EFT Withdraw using USD currency with a Canadian bank account, True if the user wants to enable this feature
  - `RTRWithdrawEnabled` boolean: Permission related to VoPay Instant Withdraw, True if the user wants to enable this feature
  - `InteracMoneyRequestEnabled` boolean: Permission related to Interac Money request, True if the user wants to enable this feature
  - `InteracBulkPayoutEnabled` boolean: Permission related to Interac bulk payout, True if the user wants to enable this feature
  - `GCMEnabled` boolean: Permission related to Global cash management, True if the user wants to enable this feature
  - `VisaDirectEnabled` boolean: Permission related to Visa Direct, True if the user wants to enable this feature
  - `MaxFundEFTAmount` number: Maximum amount that the user can transfer using this endpoint (EFT fund)
  - `MaxWithdrawEFTAmount` number: Maximum amount that the user can transfer using this endpoint (EFT withdraw)
  - `MaxRTRWithdrawAmount` number: Maximum amount that the user can transfer using this endpoint (VoPay Instant withdraw)
  - `MaxInteracMoneyAmount` number: Maximum amount that the user can transfer using this endpoint (Interac Money request)
  - `MaxInteracBulkPayoutAmount` number: Maximum amount that the user can transfer using this endpoint (Interac bulk payout)
  - `MaxGCMAmount` number: Maximum amount that the user can transfer using this endpoint (GMC)
  - `MaxVisaDirectAmount` number: Maximum amount that the user can transfer using this endpoint (Visa Direct)
  - `PortalTransactionCreation` boolean: True if the user wants to enable this feature. This flag will change the user permission to the admin portal. When disabled, the user will have 'Read Only' permission and when enabled, the user will be able to create transactions using the admin portal.
  - `AutoBalanceTransferEnabled` boolean: True if the user wants to enable this feature. This flag allow the user to set auto transfer balance
  - `PayLinkEnabled` boolean: True if the user wants to enable this feature. This flag allow the user to activate PayLink functionality

## Response `200`

- object
  - `Success` boolean, required: True if the request was successful, false if it failed
  - `ErrorMessage` string, required: Contains a description of the error if the request failed

---

[API](https://skmtc.dev/vopay/apis/accounts.md) - [All operations](https://skmtc.dev/vopay/apis/accounts/llms.txt) - [OpenAPI document](https://skmtc.dev/vopay/apis/accounts/revisions/71f251deb318?raw)
