client/extensions/woocommerce/state/sites/settings/stripe-connect-account/actions.js
function fetchSuccess( siteId, fetchAction, data ) {
	const { account_id, display_name, email, business_logo, legal_entity, payouts_enabled } = data;
	return {
		type: WOOCOMMERCE_SETTINGS_STRIPE_CONNECT_ACCOUNT_DETAILS_UPDATE,
		connectedUserID: account_id,
		displayName: display_name,
		email,
		firstName: legal_entity.first_name,
		isActivated: payouts_enabled,
		logo: business_logo,
		lastName: legal_entity.last_name,
		siteId,
	};
}
function fetchSuccess( siteId, fetchAction, data ) {
	const { account_id, display_name, email, business_logo, legal_entity, payouts_enabled } = data;
	return {
		type: WOOCOMMERCE_SETTINGS_STRIPE_CONNECT_ACCOUNT_DETAILS_UPDATE,
		connectedUserID: account_id,
		displayName: display_name,
		email,
		firstName: legal_entity.first_name,
		isActivated: payouts_enabled,
		logo: business_logo,
		lastName: legal_entity.last_name,
		siteId,
	};
}
Action Creator: Stripe Connect Account details were fetched successfully

@param {Number} siteId The id of the site for which details were fetched.
@param {Object} fetchAction The action used to fetch the account details.
@param {Object} data The entire data object that was returned from the API.
@return {Object} Action object