Hierarchy

  • default

Constructors

Properties

Methods

Constructors

  • Parameters

    • options: { baseURL?: string; key: string; secret: string }
      • Optional baseURL?: string
      • key: string
      • secret: string

    Returns default

Properties

baseURL: string
key: string
secret: string

Methods

  • Calls api from the razorpay for given service

    Example

    "/fund_accounts/validations", "POST", {id: "account_id"}

    
    

    Type Parameters

    Type Parameters

    • T

    Parameters

    • url: string

      url of the service

    • method: Method = "GET"

      method (GET, UPDATE, DELETE, POST, PATCH)

    • params: any = {}

      params to be send in the API (Optional)

    • options: AxiosRequestConfig<any> = {}

      axios config object (Optional)

    Returns Promise<T>

Generated using TypeDoc