Module: Whatsapp::BusinessPhoneNumber::Account

Defined in:
lib/ruby/whatsapp/business_phone_number/account.rb,
lib/ruby/whatsapp/business_phone_number/account/get.rb,
lib/ruby/whatsapp/business_phone_number/account/update.rb,
lib/ruby/whatsapp/business_phone_number/account/details.rb,
lib/ruby/whatsapp/business_phone_number/account/transport.rb

Overview

Reads and updates the WhatsApp Business Account node itself — the account a business phone number belongs to, as opposed to the number's own onboarding state that the rest of this module drives.

This is the one part of Whatsapp::BusinessPhoneNumber that addresses waba_id rather than phone_id, so it carries its own Transport and cannot share Transport. It is also the only endpoint pair here that touches the account rather than the number: Get reads review, verification, and ownership state; Update renames the account or moves its timezone.

Distinct from SubscribedApp, which addresses the same waba_id but only toggles webhook delivery, and from MessageTemplates, which manages the templates hanging off that account. See docs/business_phone_number/account.md. Source: https://developers.facebook.com/documentation/business-messaging/whatsapp/reference/whatsapp-business-account/whatsapp-business-account-api

Defined Under Namespace

Modules: Transport Classes: Details, Get, Update