API for service page payent form

What API i should yous to get form payment in service, i need to get value forms and change the basic price depending on the selection of values ​​in the form, also its was be a checkbox

result what i wont :