Class QorDirectSDK

Hierarchy

  • QorDirectSDK

Constructors

  • Creates a new instance of the constructor.

    Parameters

    • config: {
          apiKey: string;
          baseUrl?: string;
          clientKey: string;
          requestId?: string;
      }

      The configuration object for the constructor.

      • apiKey: string

        The application API key for authentication.

      • Optional baseUrl?: string

        The base URL to use when ready for production. Defaults to sandbox 'https://api-sandbox.qorcommerce.io/v3'.

      • clientKey: string

        The merchant client key for authentication.

      • Optional requestId?: string

        Optional. A unique identifier to track transaction. Defaults to a random generated string value.

    Returns QorDirectSDK

    Example

    import { QorDirectSDK } from "qor-direct-sdk";

    const client = new QorDirectSDK({
    apiKey: "YOUR_API_KEY",
    clientKey: "YOUR_CLIENT_KEY",
    requestId: "YOUR_REQUEST_ID",
    baseUrl: "https://api.qorcommerce.io/v3"
    });

Properties

achPayments: AchPayments
cardPayments: CardPayments
cashPayments: CashPayments
giftCards: GiftCards
marketplace: Marketplace
proofOfDelivery: ProofOfDelivery
transactions: Transactions

Generated using TypeDoc