Skip to main content

Installation & Activation Readiness

To implement the activation flow of your Payment extension on Fynd Commerce, you will need to develop the following APIs:

1. Verify Credentials

The getActivationReadiness API verifies the aggregator’s credentials and ensures that the aggregator is ready for payment processing confirming that all necessary configurations and integrations are in place for the seller to process payments.

  • Endpoint: GET/api/v1/secrets/{app_id}

Request Parameters

ParameterTypeDescriptionRequired
app_idstringUnique application ID of the sales channelYes

Response Structure

ParameterTypeDescriptionRequired
application_idstringThe Application ID of the sales channelYes
successbooleanIndicates whether the API call was successfulYes
is_activebooleanIndicates whether the payment extension is activatedYes
dataarray(Currently unused) Empty array; to be removed in future releasesYes

Response

In the below given example response, when the getActivationReadiness API is called, it returns a response indicating whether the extension is properly configured and ready for activation. A success status confirms that the validation process was completed without issues, and the is_active flag indicates if the payment extension is active and ready for transactions.

{
"application_id": "0000001",
"success": true,
"is_active": true,
"data": []
}

2. Retrieve Form

The getCredentialFields API is called to retrieve the form fields the seller needs to input their payment gateway credentials.

  • Endpoint: GET/credentials/:app_id

3. Store Credentials

The setCredentials API stores the seller’s credentials in the extension's database. Once stored, the extension is available for the seller to configure and activate.

  • Endpoint: POST/credentials/:app_id

Was this section helpful?