Host Object
This represents an Host account
Fields
#
id
The public id identifying the account (ie: 5v08jk63-w4g9nbpz-j7qmyder-p7ozax5g)
type
The type of the account (BOT/COLLECTIVE/EVENT/ORGANIZATION/INDIVIDUAL/VENDOR)
description
longDescription
tags
currency
expensePolicy
isIncognito
Defines if the contributors wants to be incognito (name not displayed)
imageUrl
backgroundImageUrl
emails
Returns the emails of the account. Individuals only have one, but organizations can have multiple emails.
supportedExpenseTypes
The list of expense types supported by this account
transferwise
payoutMethods
The list of payout methods that this collective can use to get paid. In most cases, admin only and scope: "expenses".
paymentMethods
The list of payment methods that this collective can use to pay for Orders. Admin or Host only. Scope: "orders".
paymentMethodsWithPendingConfirmation
The list of payment methods for this account that are pending a client confirmation (3D Secure / SCA)
connectedAccounts
The list of connected accounts (Stripe, Twitter, etc ...). Admin only. Scope: "connectedAccounts".
oAuthApplications
The list of applications created by this account. Admin only. Scope: "applications".
location
The address associated to this account. This field is always public for collectives and events.
stats
updates
Updates published by the account. To see unpublished updates, you need to be an admin and have the scope "updates".
features
Describes the features enabled and available for this account
virtualCards
Virtual Cards attached to the account. Admin only. Scope: "virtualCards".
virtualCardMerchants
Virtual Cards Merchants used by the account. Admin only. Scope: "virtualCards".
policies
Policies for the account. To see non-public policies you need to be admin and have the scope: "account".
activitySubscriptions
List of activities that the logged-in user is subscribed for this collective
feed
contributors
All the persons and entities that contribute to this account
platformContributionAvailable
Returns true if a custom contribution to Open Collective can be submitted for contributions made to this account
contributionPolicy
accountingCategories
List of accounting categories for this host
hostFeePercent
totalHostedAccounts
isOpenToApplications
termsUrl
supportedPaymentMethods
The list of payment methods (Stripe, Paypal, manual bank transfer, etc ...) the Host can accept for its Collectives
bankAccount
paypalPreApproval
Paypal preapproval info. Returns null if PayPal account is not connected.
paypalClientId
If the host supports PayPal, this will contain the client ID to use in the frontend
supportedPayoutMethods
The list of payout methods this Host accepts for its expenses
pendingApplications
Pending applications for this host
potentialVendors
Returns a list of organizations that only transacted with this host and all its admins are also admins of this host.
Interfaces
#
Also implements Account , AccountWithContributions .
Usages
#
References
#
- Field host from Expense
- Field account from AccountingCategory
- Field limitedToHosts from PaymentMethod
GuestInfoInput
HostApplication