Menu
XPay LogoXPay LogoGuidesAPI Reference
Support
๐ŸŒœ
๐ŸŒž
XPay LogoXPay Logo
  • Guides
  • API Reference
  • Support
  • Standalone checkout tools
    • Custom Fields
    • Promocode
    • Direct Order
  • API Endpoints
    • Introduction
    • Authentication
    • Prepare Amount endpoint
    • Validate Promocode endpoint
    • Pay endpoint
    • Create Community API
    • Direct Order API
    • Refund API
    • Cancel Recurring Payment API
    • Capture API
    • Dashboard Statistics
    • Transaction endpoint
    • Postman Collection
    • Woo-Commerce XPay Plugin
    • Deployment status API
  • Android SDK
    • Introduction
    • XpayUtils
    • Tutorial
    • Models
    • Errors reference
  • IOS SDK
    • Introduction
    • Demo
    • Models
    • Errors reference
  • Dashboard guides
    • API key
    • API Payments
    • How to get your merchant ID

Authentication

The XPay API uses API keys to authenticate requests. You can view and manage your API keys in the XPay Dashboard.

API key is supplied in the request header with a key value pair with that structure

"x-api-key" : string

Your API keys carry many privileges, so be sure to keep them secure! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.

Related guide: How to create API key.

Links

  • XPay Dashboard (live)
  • XPay Dashboard (test)
  • How to create API key
Previous
ยซ Introduction
Next
Prepare Amount endpoint ยป
  • Links

Community

  • Facebook
  • Twitter
  • Website
Copyright ยฉ 2026 My Project, Inc. Built with Docusaurus.