api client refactor
This commit is contained in:
11
apps/website/lib/dtos/CreatePaymentInputDto.ts
Normal file
11
apps/website/lib/dtos/CreatePaymentInputDto.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
/**
|
||||
* Create payment input data transfer object
|
||||
* Input for creating a payment
|
||||
*/
|
||||
export interface CreatePaymentInputDto {
|
||||
amount: number;
|
||||
currency: string;
|
||||
leagueId: string;
|
||||
driverId: string;
|
||||
description?: string;
|
||||
}
|
||||
Reference in New Issue
Block a user