Regarding in app purchase

hi is there any api or feature from which u can do in app purchases in an app