Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API Updates #1447

Merged
merged 1 commit into from
Mar 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v232
v237
5 changes: 5 additions & 0 deletions lib/Payout.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
* @property null|\Stripe\StripeObject $metadata Set of <a href="https://stripe.com/docs/api/metadata">key-value pairs</a> that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
* @property string $method The method used to send this payout, which can be <code>standard</code> or <code>instant</code>. <code>instant</code> is only supported for payouts to debit cards. (See <a href="https://stripe.com/blog/instant-payouts-for-marketplaces">Instant payouts for marketplaces</a> for more information.)
* @property null|string|\Stripe\Payout $original_payout If the payout reverses another, this is the ID of the original payout.
* @property string $reconciliation_status If <code>completed</code>, the <a href="https://stripe.com/docs/api/balance_transactions/list#balance_transaction_list-payout">Balance Transactions API</a> may be used to list all Balance Transactions that were paid out in this payout.
* @property null|string|\Stripe\Payout $reversed_by If the payout was reversed, this is the ID of the payout that reverses this payout.
* @property string $source_type The source balance this payout came from. One of <code>card</code>, <code>fpx</code>, or <code>bank_account</code>.
* @property null|string $statement_descriptor Extra information about a payout to be displayed on the user's bank statement.
Expand Down Expand Up @@ -65,6 +66,10 @@ class Payout extends ApiResource
const METHOD_INSTANT = 'instant';
const METHOD_STANDARD = 'standard';

const RECONCILIATION_STATUS_COMPLETED = 'completed';
const RECONCILIATION_STATUS_IN_PROGRESS = 'in_progress';
const RECONCILIATION_STATUS_NOT_APPLICABLE = 'not_applicable';

const STATUS_CANCELED = 'canceled';
const STATUS_FAILED = 'failed';
const STATUS_IN_TRANSIT = 'in_transit';
Expand Down
1 change: 1 addition & 0 deletions lib/TaxRate.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ class TaxRate extends ApiResource
const TAX_TYPE_HST = 'hst';
const TAX_TYPE_IGST = 'igst';
const TAX_TYPE_JCT = 'jct';
const TAX_TYPE_LEASE_TAX = 'lease_tax';
const TAX_TYPE_PST = 'pst';
const TAX_TYPE_QST = 'qst';
const TAX_TYPE_RST = 'rst';
Expand Down