The entity who's credentials you are using to access the club gets charged for your visit. For example:
United Airlines MP *G member
Departing BKK on Thai Airlines J ticket
Accessing the BR or SQ Club
If they swipe your *G card United is charged
If they scan your boarding pass Thai is charged
In the situation above I usually present both and let them choose.
SL