razorpay-react-sdk
Version:
A simple Razorpay integration package for React & Next.js with TypeScript support.
9 lines (8 loc) • 345 B
TypeScript
import { RazorpayOptions } from "./RazorpayOptions";
/**
* Type for global Razorpay configuration options.
* These options are set once and apply to all payments.
*/
export type RazorpayGlobalOptions = Omit<RazorpayOptions, "order_id" | "amount" | "currency" | "name" | "subscription_id" | "handler" | "callback_url"> & {
key: string;
};