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 update the externalId
property only because each sub-client has a set of linked domestic and international Virtual Account Numbers to send and receive funds.
const bodyJSON = {
variables: {
id: "660fef8e1f3b5452bd6945ec",
input: {
externalId: "my_system_id_29f-ae0978b00d09e",
},
},
query: `
mutation ($id: ID!, $input: UpdateSubClientInput!) {
updateSubClient(id: $id, input: $input) {
success code message
subClient {
id status externalId
}
}
}`,
};
Last updated
Was this helpful?