File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ import {
13
13
} from 'src/shared/global/trolley.service' ;
14
14
import { Logger } from 'src/shared/global' ;
15
15
import { IdentityVerificationRepository } from '../repository/identity-verification.repo' ;
16
+ import { ENV_CONFIG } from 'src/config' ;
16
17
17
18
/**
18
19
* The winning service.
@@ -101,6 +102,7 @@ export class WalletService {
101
102
isSetupComplete : isIdentityVerified ,
102
103
} ,
103
104
...( taxWithholdingDetails ?? { } ) ,
105
+ minWithdrawAmount : ENV_CONFIG . TROLLEY_MINIMUM_PAYMENT_AMOUNT ?? 0 ,
104
106
} ;
105
107
} catch ( error ) {
106
108
this . logger . error ( 'Getting winnings audit failed' , error ) ;
Original file line number Diff line number Diff line change @@ -40,4 +40,5 @@ export class WalletDetailDto {
40
40
primaryCurrency ?: string | null ;
41
41
estimatedFees ?: string | null ;
42
42
taxWithholdingPercentage ?: string | null ;
43
+ minWithdrawAmount : number ;
43
44
}
You can’t perform that action at this time.
0 commit comments