LogoLogo
  • GENERAL
    • About Criptan
    • Get started
      • Introduction
      • 1. Activate your account
      • 2. Add funds to your balance
      • 3. Start interacting with the API
    • API
      • Introduction
      • Authentication
        • Auth Transactions and Earn
          • API Reference
        • Auth Business (Criptan Pay)
      • Real-Time API (WebSockets)
        • OHLCV
        • TICKERS
      • Webhooks
        • Transactions and Earn Webhooks
        • Business Webhooks
      • API reference
      • Changelog
    • Developer tools
      • Sandbox
      • Support
      • Feedback
    • Security
  • Transactions
    • General
      • Overview
      • Available exchange
      • Geographic availability
      • Use cases
        • Buy
          • UX example
        • Sell
          • UX example
        • Send crypto
          • UX example
        • Receive crypto
          • UX example
        • Recurring purchases
          • UX example
        • Check history
      • FAQ
    • API Reference
      • Trades
      • Withdrawals
      • Information
  • Earn
    • General
      • Overview
      • Geographic availability
      • Use cases
        • 3, 6, 12 months
          • Make a deposit
            • UX example
          • Set up auto-renew a deposit automatically
            • UX example
        • Flex
          • Make a deposit
            • UX example
          • Make a withdrawal
            • UX example
          • Cancel a withdrawal
            • UX example
          • Set up reinvest or not rewards
            • UX example
        • Flex and 3, 6, 12 months
          • Receiving Rewards
      • FAQ
    • API Reference
  • Business (Criptan Pay)
    • General
      • Business (Criptan Pay)
      • Onboarding
      • Payment Button
      • Charges
      • FAQ
    • API Reference
      • Charge
      • Generate charge receipt
      • Get payment
    • Types CPay definitions
      • BusinessAccount
      • BusinessCharge
Powered by GitBook
On this page
  1. GENERAL
  2. API
  3. Authentication

Auth Business (Criptan Pay)

At CriptanPay, we've implemented a dedicated API Key authorization method for added security. Here's how it works:

Creating Your API Key:

To begin, you can easily generate an API key via your Settings page after creating your Criptan account. This key will grant you access to CriptanPay.

Using Your API Key:

For authenticated API requests to CriptanPay, include the x-api-key header. Your secret API key should be passed as the header's value.

Handling Authentication Failures:

In the rare event of authentication failure, our API will respond with a JSON object containing an error message. The HTTP status code will be 401, indicating an unauthorized request.

By employing API Key authorization, Criptan ensures a robust layer of security for your API interactions. Your transactions and data remain protected, providing you with confidence as you navigate the CriptanPay ecosystem.

Unless otherwise noted, all request needs to be authenticated.

PreviousAPI ReferenceNextReal-Time API (WebSockets)

Last updated 1 year ago