New Payment
In this section, we will learn how new payment processing works on Fynd Commerce and how to create initiatePaymentSession and getPaymentStatus APIs for forward flow.
📄️ Create API to Initiate Payment Session
Create the initiate payment session API endpoint for your Fynd Commerce payment extension. Implement server handler when Fynd Platform starts a new payment with your payment gateway.
📄️ Initiate Payment Session
Initiate Payment Session API specification for Fynd Commerce payment extensions. Request and response schema when Fynd Platform POSTs to create a new payment session with your gateway.
📄️ Create API to Get Payment Status
Create the get payment status API endpoint for your Fynd Commerce payment extension. Return current payment session state for Fynd Platform verification and order completion.
📄️ Get Payment Status
Get Payment Status API specification for Fynd Commerce payment extensions. Request and response schema when Fynd Platform queries payment session status from your extension.