Configuring payment gateway

Developer Portal supports direct monetization of APIs by allowing you to configure your payment gateway account.

Before you begin

  • Ensure that you have an active Stripe account.
  • Note down the following values from your Stripe account.
    • Publishable key
    • Secret key
    For information about retrieving the above values, see https://stripe.com/docs/keys.

About this task

As an administrator, you can enable the payment gateway feature in Developer Portal and add your account details. You can add your account enables API consumers to provide the details of their credit card from which they can make the payment for plan subscriptions that they use.

Developer Portal supports the Stripe payment gateway.

This section provides details about how to configure the payment gateway to collect credit card information by using the Stripe payment gateway.

Procedure

  1. Expand the menu options, select Administration, and select Payment gateway.
  2. Turn on the Enable payment gateway slider.
  3. Provide the Publishable key and Secret key in the respective fields.
  4. Click Test to validate the provided values.
  5. Click Save.

What to do next

When you enable Payment gateway integration, API consumers must provide their payment details for subscribing to any plan. Consumers can add their credit card details from the Payment details section from their user profile page.