initial support for Payments API... still incomplete except for the most basic use case