setup API for orders & payment controller