Skip to content

Commit

Permalink
Update generated code for v552
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed Sep 25, 2023
1 parent a87c72f commit 3a8f885
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v551
v552
14 changes: 13 additions & 1 deletion lib/Service/RefundService.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,19 @@ public function cancel($id, $params = null, $opts = null)
}

/**
* Create a refund.
* When you create a new refund, you must specify a Charge or a PaymentIntent
* object on which to create it.
*
* Creating a new refund will refund a charge that has previously been created but
* not yet refunded. Funds will be refunded to the credit or debit card that was
* originally charged.
*
* You can optionally refund only part of a charge. You can do so multiple times,
* until the entire charge has been refunded.
*
* Once entirely refunded, a charge can’t be refunded again. This method will raise
* an error when called on an already-refunded charge, or when trying to refund
* more money than is left on a charge.
*
* @param null|array $params
* @param null|array|\Stripe\Util\RequestOptions $opts
Expand Down

0 comments on commit 3a8f885

Please sign in to comment.