Skip to content

Commit

Permalink
[8.x] Document Stripe client (#7344)
Browse files Browse the repository at this point in the history
* Update billing.md

* Update billing.md

* Update billing.md

Co-authored-by: Taylor Otwell <taylor@laravel.com>
  • Loading branch information
driesvints and taylorotwell authored Oct 8, 2021
1 parent cdc0f95 commit 4cd5991
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions billing.md
Original file line number Diff line number Diff line change
Expand Up @@ -1835,6 +1835,12 @@ You may also use the `updateStripeSubscription` method to update a Stripe subscr

$subscription->updateStripeSubscription(['application_fee_percent' => 5]);

You may invoke the `stripe` method on the `Cashier` class if you would like to use the `Stripe\StripeClient` client directly. For example, you could use this method to access the `StripeClient` instance and retrieve a list of prices from your Stripe account:

use Laravel\Cashier\Cashier;

$prices = Cashier::stripe()->prices->all();

<a name="testing"></a>
## Testing

Expand Down

0 comments on commit 4cd5991

Please sign in to comment.