Instance Method

getMerchantAccount()

Retrieves the currently authenticated merchant’s account details.

Declaration

func getMerchantAccount() async throws -> AccountBase

Return Value

An AccountBase object containing merchant profile information.

Discussion

This method fetches core account information associated with the currently logged-in merchant. It should be called after a successful login to confirm identity or to display account-specific data.