Organizations
An organization is an onboarded customer of your bank — typically a legal entity that previously went through the invitation flow. The mutations below manage the relationship between an organization and a branch office.
All mutations on this page require a JWT — get one from the homepage first.
Set or change branch office
Associates a branch office with an organization. If the organization has no extended-information record yet, one is created. The payload wraps the organization in an inner organizationPayload.
mutation updateOrganizationBranchOffice($input: UpdateOrganizationBranchOfficeInput!) {
updateOrganizationBranchOffice(input: $input) {
organizationPayload {
organization {
id
name
}
}
}
}
Remove branch office relation
Detaches the organization from its branch office (sets the relation to null). The input is doubly nested: the outer RemoveOrganizationBranchOfficeRelationInput wraps a single input: RemoveOrganizationBranchOfficeInput field. The payload also has an inner wrapper.
mutation removeOrganizationBranchOfficeRelation($input: RemoveOrganizationBranchOfficeRelationInput!) {
removeOrganizationBranchOfficeRelation(input: $input) {
organizationPayload {
organization {
id
name
}
}
}
}