githubEdit

Disable, Activate and Update sub-clients

You can disable and activate sub-clients. Deposits sent to a disabled sub-client will no longer be booked against your balance.

Disabling a sub-client

const bodyJSON = {
  variables: {
    input: "606128f24bf29139b2cf74ef",
  },
  query: `
mutation ($input: ID!) {
  disableSubClient(id: $input) {
    success code message 
    subClient {
      id status
    }
  }
}`,
};

Activating a sub-client

const bodyJSON = {
  variables: {
    input: "606128f24bf29139b2cf74ef",
  },
  query: `
mutation ($input: ID!) {
  activateSubClient(id: $input) {
    success code message 
    subClient {
      id status
    }
  }
}`,
};

Updating sub-clients

At this point, you can only update the externalId , address and postalAddress properties because each sub-client has a set of linked domestic and international Virtual Account Numbers to send and receive funds.

circle-info

Please note, that the updated address will be re-verified, so make sure to include all its components, even if some fields, like the country, remain unchanged.

Updating sub-client externalId

Updating sub-client address

Last updated

Was this helpful?