payouts
This commit is contained in:
@@ -59,6 +59,8 @@ class PayoutService {
|
||||
ownerId: rental.ownerId,
|
||||
baseAmount: rental.baseRentalAmount.toString(),
|
||||
platformFee: rental.platformFee.toString(),
|
||||
startDateTime: rental.startDateTime.toISOString(),
|
||||
endDateTime: rental.endDateTime.toISOString(),
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
@@ -48,7 +48,7 @@ class StripeService {
|
||||
static async createConnectedAccount({ email, country = "US" }) {
|
||||
try {
|
||||
const account = await stripe.accounts.create({
|
||||
type: "standard",
|
||||
type: "express",
|
||||
email,
|
||||
country,
|
||||
capabilities: {
|
||||
|
||||
Reference in New Issue
Block a user