FreshLimePay Blog

FreshLimePay Cloud API Keys Are Here!

· admin

πŸš€ Exciting News for Developers: API Keys Are Here!

FreshLimePay Cloud now supports API keys for Checkout Payment Buttons! πŸ’³

This means you can now programmatically create, update, and delete buttons for PayPal and Stripe without ever leaving your code editor. Automation, workflows, or integrations? βœ… All possible now.


πŸ”‘ Why API Keys Matter

Before, you had to manually create buttons through the Cloud dashboard. That works, but it’s not scalable.

With API keys:

  • βœ… Programmatic access for automation
  • πŸ”’ Secure API authorization
  • πŸ–₯️ Manage buttons without logging into the dashboard
  • πŸ”— Integrate FreshLimePay into your apps or backend services

βš™οΈ How It Works (High Level)

The workflow is simple:

  1. Generate an API key in your FreshLimePay Cloud account
  2. Include the key in the X-API-KEY header for all requests
  3. Call the Checkout Payment Button endpoints (create, update, delete)
  4. Buttons appear instantly in your account, ready to accept payments πŸ’΅

πŸ“ Example: Creating a Checkout Payment Button

Here’s how to create a new button for PayPal or Stripe:

POST /product-payment/create HTTP/1.1
Host: cloud-api.freshlimepay.com
Content-Type: application/json
X-API-KEY: your-api-key-here

{
  "productName": "FreshLime T-Shirt",
  "amount": "29.99",
  "currency": "USD",
  "paymentMethod": "Stripe",
  "paymentType": "one_time",
  "isLive": true,
  "description": "Limited edition FreshLime T-Shirt",
  "billingInterval": null
}

Response

{
  "isSuccess": true,
  "data": "btn_123456789",
  "message": "Checkout Payment Button created successfully"
}

πŸ” What’s happening here

  • productName – Name of your product
  • amount – Payment amount as a decimal string
  • currency – e.g., USD, EUR
  • paymentMethod – PayPal or Stripe
  • paymentType – one_time or subscription
  • isLive – true for live payments, false for sandbox
  • description – Optional product description
  • billingInterval – Required only for subscriptions

With this, your button is ready to embed in your site or app instantly. ⚑


πŸ›’ Easy Dynamic Checkout Buttons for eCommerce Websites

It’s now very easy to create dynamic checkout buttons for your eCommerce websites. 🌐

  • Add buttons programmatically for every product
  • Customize pricing, currency, and payment methods on the fly
  • Embed instantly in product pages, carts, or popups
  • Support subscriptions or one-time payments dynamically

This means your online store can generate buttons automatically based on inventory or user selections, reducing manual effort and improving user experience. 🎯


πŸ—οΈ Generate & Manage API Keys in FreshLimePay Cloud Dashboard

Users and developers can easily generate and manage API keys directly inside the FreshLimePay Cloud dashboard. ☁️

Just navigate to:

Account Settings β†’ API Keys

From there you can:

  • βž• Generate new API keys
  • πŸ” Rotate existing keys for security
  • ❌ Revoke unused or compromised keys
  • πŸ‘€ View all active API keys in one place

This gives you full control over access and security while building integrations. πŸ”

πŸ“Έ Example: API Keys Available in Dashboard

My API Keys available


🌟 Why This Matters

API keys give you control, automation, and flexibility:

  • πŸ“Š Manage buttons at scale
  • πŸ”— Integrate directly with your SaaS or backend
  • ⏱️ Avoid manual dashboard clicks
  • πŸ”„ Build repeatable workflows for multiple products

Whether you’re a developer, agency, or indie maker, this is a huge time-saver.


🏁 Getting Started

  1. Log in to FreshLimePay Cloud
  2. Go to API Keys in account settings
  3. Generate your key
  4. Start creating Checkout Payment Buttons programmatically!

Full API reference and OpenAPI spec are available here: FreshLimePay Cloud API Docs


πŸ’‘ Final Thoughts

This update isn’t about replacing the dashboardβ€”it’s about making your life easier. API keys let you automate, scale, and integrate FreshLimePay Cloud into your workflow while keeping payments secure and simple. πŸ”

Try it today and see how much time you save!⏳