API design for third party integration for payments

API design for third party integration for payments