Implement payment endpoint