Api for payments

Job ID: 30807613

Budget: ₹600 – ₹1,500 INR

Need someone who can create an api for accepting payments from another website on a website
Explanation we have 2 website A and B
Website A is a website we want to accept payment on
Website B is a website all transactions will actually happens as it have payment gateway

Flow User goes to website a and buy product go to payment page website A redirect this transaction details on website B transaction completed on website B then website B redirect back the user to website A with payment confirmation.