chore: complete the payment service
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
//------------------ process payment -------------------------
|
||||
|
||||
// eslint-disable-next-line import/no-named-as-default
|
||||
import Decimal from "decimal.js";
|
||||
|
||||
export interface IProcessPaymentParams {
|
||||
amount: number;
|
||||
description: string;
|
||||
@@ -22,8 +25,9 @@ export interface IPaymentVerifyData {
|
||||
}
|
||||
|
||||
export interface IPaymentVerifyParams {
|
||||
amount: number;
|
||||
amount: Decimal;
|
||||
reference: string;
|
||||
// status: GatewayPaymentStatus;
|
||||
}
|
||||
|
||||
//--------------------- zarinpal --------------------------------
|
||||
|
||||
Reference in New Issue
Block a user