Fungies.io Help Center
  • 🙌Getting Started
  • Customize your online store
    • General Settings
    • Header
    • Footer
    • Add New Page
    • Add Page Section
    • Text Section
    • Image Section
    • Video Section
    • Gallery Section
    • Points Section
    • Slider Section
    • Recent Products Section
    • Custom Style
  • Add Subscription Product
  • Add Digital Downloads
  • Add Game Keys
  • Add Mobile Game Assets
  • Variants of the product
  • 🛠️Workspace Settings
    • Connect your Stripe account
    • Sandbox Mode
    • Team Management
  • 🧮Store Settings
    • Publish your store
    • Previewing The Store
    • Edit Explore / Search Page (Built-in)
    • Edit Product Page (Built-in)
      • Customize Review Categories
    • Set up Custom Domain
      • Migrating your domain to Cloudflare
  • Tax-inclusive Pricing
  • 🤑Getting Paid
    • Test Payments
    • Checkout Choice
      • Hosted Checkout
      • Overlay Checkout
      • Embedded Checkout
    • Global Availability
    • Customer Payment Methods
      • PayPal Settings
    • Billing Details
    • Payouts
    • Editing Statement Descriptor
    • Transactions Reports
    • Example React checkout
  • 👨‍💻FOR SAAS DEVELOPERS
    • Hosted Checkout (more payment methods)
    • Editing and Pausing Subscriptions
      • Downgrading / Upgrading Subscriptions
    • Creating Plans
    • Free Trials and Custom Intervals
    • Redirecting After Purchase
    • Using Webhooks
    • Types of Webhooks
      • Payment Success
      • Payment Refunded
      • Payment Failed
      • Subscription Created
      • Subscription Interval
      • Subscription Updated
      • Subscription Cancelled
    • Getting Started with the API
    • Orders APIs
      • Managing Orders through API
      • Orders List
      • Cancel Order
      • Update Order
    • Managing Subscriptions through API
    • Managing and Creating Users through API
    • Customizing Subscription Confirmation Page
    • Using CustomFields to parse data from your Software / App
      • Parse e-mails from your Software directly to checkout URL
  • Additional charges on top of Subscriptions
  • Upgrading or Downgrading Plans with API
  • Using Fungies.js npm package
    • Next.js 15 integration guide
  • 🎮For Game Developers
    • Orders
    • Platform Fees
    • Users list
    • Integrating with Game's Back-end
    • Customizing Purchase Confirmation Page
    • Webhooks
  • 💲Selling
    • Payment history
    • Selling FREE products
    • Managing Game Keys
    • Managing Game Assets
    • Pricing
    • Fulfillment of Orders
    • Prohibited Business and Products
    • Invoices and Receipts
    • Google Merchant Center XML Feed
    • SEO Sitemap
  • 🚀Marketing
    • Integrations
      • Google Tag Manager
      • Google Merchant Center
      • Trustpilot
      • Google Analytics (via Google Tag Manager)
    • SEO
    • Discount Codes
    • Pricing Localization
    • Language Localization
    • E-mail Marketing
  • 💰Billing
    • Plans and Usage
    • Invoices
    • Payment Methods
  • 🤩For End-Users
    • How to manage your Subscription?
    • How to buy a Game Key?
    • How to buy a Mobile Game Asset?
    • Getting your product
    • Steam key activation
    • Searching for games
    • Product details page
    • Order details
    • Refunds and chargebacks
  • 🗃️Other
    • FAQ
    • Roadmap
    • Product Changelog
  • 📃Legal
    • General Terms of Use
    • SaaS Terms of Use
    • Privacy Policy
    • Cookies and Tracking
Powered by GitBook
On this page
  • Generating the API Keys
  • Steps to Generate the API Keys
  • When making an API Request
  • Authentication
  1. FOR SAAS DEVELOPERS

Getting Started with the API

A quick guide to help you start using the API, from generating API keys to making your first requests.

PreviousSubscription CancelledNextOrders APIs

Last updated 8 months ago

Before starting the API requests, you’ll need a Fungies.io account. If you haven’t already, please

  1. Register an account

  2. Add some products

  3. Customize your online store

To begin using the API, you'll need API key and write-API key for authorization. These keys can be generated from the Fungies.io Developers section.

Generating the API Keys

To authenticate requests, you must include your API key and write-API key in the request headers. For all "read" actions (GET requests), you need at least the API key (public key). For all "write" actions (POST, PATCH, DELETE, and PUT), you need both the API key and write-API key (secret key).

Steps to Generate the API Keys

Step 1: To generate the API key, click on the 'API Keys' option at the sidebar and then select the 'Generate API Key' button.

Step 2: After clicking the 'Generate API Key' button, the Fungies system will instantly create an API key and write-API key. Click the 'Copy' button to save the keys to your clipboard.

Keep your API key and write-API key private and secure. Don’t save them directly in your code or on GitHub. Instead, use environment files to store them. For added security, regularly update your API keys.

When making an API Request

The API follows the JSON specification, so be sure to include the following headers in each request.

header 'Content-Type: application/json'

Authentication

To authenticate, add an Authorization header to all requests containing a valid API key:

For "read" actions (GET):

header 'x-api-key:'

For "write" actions (POST, PATCH, PUT, and DELETE):

header 'x-write-api-key:'

You can access the Fungies API at . Make sure all requests are made over HTTPS, as authentication is required for every request.

The API uses Bearer authentication for all requests. You will need an API key from the '' section.

👨‍💻
https://api.fungies.io/
Generating the API Keys
Generate API Keys
Generated New API Keys