TMF666 v5 Account Management API (Extensible)

For the TMF666 API, extensibility is enabled through Apex lifecycle hooks and customizable GraphQL queries and mutations. These extension points let customers validate and transform requests, customize Billing Account persistence, and enrich API processing without changing the TMF666 contract.

You can use the extension points to:

  • Extend Billing Accounts with additional fields.
  • Map fields from Billing Account and related Salesforce records.
  • Customize GET fields, filters, sorting, and nested GraphQL selections.
  • Apply custom request validations.
  • Customize POST, PATCH, and DELETE mutations.
  • Refine GET processing and run post-operation logic.
  • Enforce customer-specific rules before a Billing Account is deactivated.

TMF666 v5 currently supports the billingAccount resource.

Supported Interfaces and Hooks 

Interface NameHooks Used by the OperationPrimary Customization
IAccountManagementGETtransformRequest
configureDefaultValidations
applyCustomValidations
customiseGraphQLQuery
handlePostOperation
Customize Billing Account queries and post-processing
IAccountManagementPOSTtransformRequest
configureDefaultValidations
applyCustomValidations
customiseMutationPayload
handlePostOperation
Validate and customize Billing Account creation
IAccountManagementPATCHtransformRequest
configureDefaultValidations
applyCustomValidations
customiseMutationPayload
handlePostOperation
Validate and customize partial Billing Account updates
IAccountManagementDELETEtransformRequest
configureDefaultValidations
applyCustomValidations
customiseMutationPayload
handlePostOperation
Validate and customize logical Billing Account deletion

IAccountManagementGET inherits from ICommsGET and the common ICommsExtensible contract.