Skip to content

Commit

Permalink
update stripe balance call (#1)
Browse files Browse the repository at this point in the history
this call was returning errors because the first argument should be the balance $params and stripe_account would be the always the second argument
  • Loading branch information
arthurnassar authored Jul 9, 2024
1 parent 0f8182d commit fcb087f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Traits/Payable.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public function transfer($amount, $currency): Transfer

public function getAccountBalance(): Balance
{
return static::$stripe->balance->retrieve([
return static::$stripe->balance->retrieve([], [
'stripe_account' => $this->getStripeAccountId(),
]);
}
Expand Down

0 comments on commit fcb087f

Please sign in to comment.