mirror of
				https://github.com/D4M13N-D3V/comissions-app-core-api.git
				synced 2025-10-31 01:25:27 +00:00 
			
		
		
		
	fix: added onboard url to payout model
This commit is contained in:
		
							parent
							
								
									a07a41d530
								
							
						
					
					
						commit
						3c40d74912
					
				| @ -89,7 +89,8 @@ public class ArtistController : Controller | ||||
|         { | ||||
|             Enabled = account.PayoutsEnabled, | ||||
|             Balance = balance, | ||||
|             PayoutUrl =  _paymentService.CreateDashboardUrl(Artist.StripeAccountId) | ||||
|             PayoutUrl =  _paymentService.CreateDashboardUrl(Artist.StripeAccountId), | ||||
|             OnboardUrl = _paymentService.CreateArtistAccountOnboardingUrl(Artist.StripeAccountId) | ||||
|         }; | ||||
|         return Ok(result); | ||||
|     } | ||||
|  | ||||
| @ -7,4 +7,5 @@ public class PayoutModel | ||||
|     public double Balance { get; set; } | ||||
|     public bool Enabled { get; set; } | ||||
|     public string PayoutUrl { get; set; } | ||||
|     public string OnboardUrl { get; set; } | ||||
| } | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Damien Ostler
						Damien Ostler