payment API, #23