generated payment model