MugglePay Docs
  • 🇺🇸Readme
  • 🇭🇰Readme-zh
  • API Status
    • Authentication
    • HTTP Response and Error Codes
    • Order Status
  • FAQs
    • Customer FAQ
    • Get started
    • Merchant FAQ
    • API Overview
    • 客户常见问题解答
  • API Order
    • Cancel Order
    • Checkout Order
    • Create Order
    • Get Order
    • Get Orders
    • Payment Callback (Webhook)
    • Refund
    • AI Prompts (Cursor, Lovable, Bolt etc)
  • Self-managed (Non-Custodian)
  • Media Kit
Powered by GitBook
On this page
  • API Server Side Authentication
  • API Authentication
  • Requests
  • POST Request
  • Request Body/Query
  • Free Plan Limits
  1. API Status

Authentication

PreviousAPI StatusNextHTTP Response and Error Codes

Last updated 8 months ago

If you want to call the api (CreateOrder) on your website or apps, authentication

  • API Server Side Authentication

API Server Side Authentication

Keep the API key private!

Server-side calls to this API must be done from a secured and trusted environment (e.g. via your backend server, not directly from frontend web).

HTTP header: 
  token: tokenname

Get Token from backend portal.

API Authentication

Requests

POST Request

In every POST method set Content-Type: application/json header.

Request Body/Query

Required fields are marked as required or (*).

Free Plan Limits

  1. createOrder 500 requests per hour per userid

The limit is for createOrder (POST API) for the merchant.

If you reach the limit, you should wait for the timer resets in an hour.

  1. 10,000 requests per hour per IP address

This applies to all APIs no matter it requires authentication or not.

It contains the GetOrder, CreateOrder, Checkout API.

  1. If you want to increase the limits, please create a ticket in Help center, or chat with us in the customer service window.