refactor order craetion
This commit is contained in:
@@ -41,12 +41,14 @@ export interface IZarinpalRequestPayment {
|
||||
referrer_id?: string;
|
||||
}
|
||||
export interface IZarinpalPaymentResponse {
|
||||
code: number;
|
||||
message: string;
|
||||
authority: string;
|
||||
fee_type: string;
|
||||
fee: number;
|
||||
errors: [];
|
||||
data: {
|
||||
code: number;
|
||||
message: string;
|
||||
authority: string;
|
||||
fee_type: string;
|
||||
fee: number;
|
||||
};
|
||||
errors: unknown[];
|
||||
}
|
||||
export interface IZarinpalVerifyRequest {
|
||||
merchant_id: string;
|
||||
@@ -63,5 +65,5 @@ export interface IZarinpalVerifyResponse {
|
||||
fee_type: string;
|
||||
fee: number;
|
||||
};
|
||||
errors: [];
|
||||
errors: unknown[];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user