mirror of https://github.com/itflow-org/itflow
Bump stripe-php from 18.1.0 to 19.0.0
This commit is contained in:
parent
3ffef6df51
commit
cc92a4b7ee
|
|
@ -1 +1 @@
|
|||
3ccf295957c8cadc88e1463ea3ab4ec683a0314f
|
||||
e62524b587909bee231a15ce0dc618f1d04f69a4
|
||||
|
|
@ -1,4 +1,34 @@
|
|||
# Changelog
|
||||
## 19.0.0 - 2025-11-18
|
||||
This release changes the pinned API version to `2025-11-17.clover`.
|
||||
|
||||
* [#1961](https://github.com/stripe/stripe-php/pull/1961) Update generated code
|
||||
* ⚠️ Remove `gt`, `gte`, `lt`, and `lte` on `V2\Core\Event.all().$params` in favor of `created`.
|
||||
* [#1958](https://github.com/stripe/stripe-php/pull/1958) Update v2 array parameter serialization to use indexed format
|
||||
- `Retrieve` and `List` calls for `/v2` endpoints now use indexed format (e.g., `?include[0]=foo&include[1]=bar`) instead of repeated parameter format (e.g., `?include=foo&include=bar`) when communicating with the Stripe API. This may break any unit tests that expect the latter behavior when setting up a mock server. Instead, they should now expect the former.
|
||||
* [#1956](https://github.com/stripe/stripe-php/pull/1956) Update generated code
|
||||
* Add support for new resources `Tax.Association` and `Terminal.OnboardingLink`
|
||||
* Add support for `find` method on resource `Tax.Association`
|
||||
* Add support for `create` method on resource `Terminal.OnboardingLink`
|
||||
* Add support for `payment_method_configuration` on `BillingPortal.Configuration.features.payment_method_update`
|
||||
* Add support for `transaction_id` on `Charge.payment_method_details.ideal`, `PaymentAttemptRecord.payment_method_details.ideal`, and `PaymentRecord.payment_method_details.ideal`
|
||||
* Add support for new value `finom` on enums `Charge.payment_method_details.ideal.bank`, `ConfirmationToken.payment_method_preview.ideal.bank`, `PaymentAttemptRecord.payment_method_details.ideal.bank`, `PaymentMethod.ideal.bank`, `PaymentRecord.payment_method_details.ideal.bank`, and `SetupAttempt.payment_method_details.ideal.bank`
|
||||
* Add support for new value `FNOMNL22` on enums `Charge.payment_method_details.ideal.bic`, `ConfirmationToken.payment_method_preview.ideal.bic`, `PaymentAttemptRecord.payment_method_details.ideal.bic`, `PaymentMethod.ideal.bic`, `PaymentRecord.payment_method_details.ideal.bic`, and `SetupAttempt.payment_method_details.ideal.bic`
|
||||
* Add support for new value `tokenized_account_number_deactivated` on enums `ConfirmationToken.payment_method_preview.us_bank_account.status_details.blocked.reason` and `PaymentMethod.us_bank_account.status_details.blocked.reason`
|
||||
* Add support for `created` on `CustomerBalanceTransaction.all().$params` and `InvoicePayment.all().$params`
|
||||
* Add support for new values `financial_connections.account.account_numbers_updated` and `financial_connections.account.upcoming_account_number_expiry` on enum `Event.type`
|
||||
* Add support for `account_numbers` on `FinancialConnections.Account`
|
||||
* Change type of `FinancialConnections.Session.client_secret` from `string` to `nullable(string)`
|
||||
* Add support for `fraud_risk` on `Issuing\Authorization.create().$params.risk_assessment`
|
||||
* Add support for `latest_fraud_warning` on `Issuing.Card`
|
||||
* Add support for `hooks` on `PaymentIntent.capture().$params`, `PaymentIntent.confirm().$params`, `PaymentIntent.create().$params`, `PaymentIntent.increment_authorization().$params`, `PaymentIntent.update().$params`, and `PaymentIntent`
|
||||
* Add support for `mb_way` and `twint` on `Refund.destination_details`
|
||||
* Add support for snapshot events `FINANCIAL_CONNECTIONS_ACCOUNT_ACCOUNT_NUMBERS_UPDATED` and `FINANCIAL_CONNECTIONS_ACCOUNT_UPCOMING_ACCOUNT_NUMBER_EXPIRY` with resource `FinancialConnections.Account`
|
||||
|
||||
## 18.2.0 - 2025-11-05
|
||||
* [#1953](https://github.com/stripe/stripe-php/pull/1953) Update generated code
|
||||
* Add support for `capture_method` on `PaymentIntent.confirm().$params.payment_method_option.card_present`, `PaymentIntent.create().$params.payment_method_option.card_present`, `PaymentIntent.payment_method_options.card_present`, and `PaymentIntent.update().$params.payment_method_option.card_present`
|
||||
|
||||
## 18.1.0 - 2025-10-29
|
||||
|
||||
This release changes the pinned API version to `2025-10-29.clover`.
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
v2102
|
||||
v2124
|
||||
|
|
@ -229,6 +229,8 @@ Stripe has features in the [private preview phase](https://docs.stripe.com/relea
|
|||
|
||||
### Custom requests
|
||||
|
||||
> This feature is only available from version 16 of this SDK.
|
||||
|
||||
If you would like to send a request to an undocumented API (for example you are in a private beta), or if you prefer to bypass the method definitions in the library and specify your request details directly, you can use the `rawRequest` method on the StripeClient.
|
||||
|
||||
```php
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
18.1.0
|
||||
19.0.0
|
||||
|
|
|
|||
|
|
@ -298,6 +298,7 @@ require __DIR__ . '/lib/Service/SourceService.php';
|
|||
require __DIR__ . '/lib/Service/SubscriptionItemService.php';
|
||||
require __DIR__ . '/lib/Service/SubscriptionScheduleService.php';
|
||||
require __DIR__ . '/lib/Service/SubscriptionService.php';
|
||||
require __DIR__ . '/lib/Service/Tax/AssociationService.php';
|
||||
require __DIR__ . '/lib/Service/Tax/CalculationService.php';
|
||||
require __DIR__ . '/lib/Service/Tax/RegistrationService.php';
|
||||
require __DIR__ . '/lib/Service/Tax/SettingsService.php';
|
||||
|
|
@ -309,6 +310,7 @@ require __DIR__ . '/lib/Service/TaxRateService.php';
|
|||
require __DIR__ . '/lib/Service/Terminal/ConfigurationService.php';
|
||||
require __DIR__ . '/lib/Service/Terminal/ConnectionTokenService.php';
|
||||
require __DIR__ . '/lib/Service/Terminal/LocationService.php';
|
||||
require __DIR__ . '/lib/Service/Terminal/OnboardingLinkService.php';
|
||||
require __DIR__ . '/lib/Service/Terminal/ReaderService.php';
|
||||
require __DIR__ . '/lib/Service/Terminal/TerminalServiceFactory.php';
|
||||
require __DIR__ . '/lib/Service/TestHelpers/ConfirmationTokenService.php';
|
||||
|
|
@ -363,6 +365,7 @@ require __DIR__ . '/lib/SourceTransaction.php';
|
|||
require __DIR__ . '/lib/Subscription.php';
|
||||
require __DIR__ . '/lib/SubscriptionItem.php';
|
||||
require __DIR__ . '/lib/SubscriptionSchedule.php';
|
||||
require __DIR__ . '/lib/Tax/Association.php';
|
||||
require __DIR__ . '/lib/Tax/Calculation.php';
|
||||
require __DIR__ . '/lib/Tax/CalculationLineItem.php';
|
||||
require __DIR__ . '/lib/Tax/Registration.php';
|
||||
|
|
@ -376,6 +379,7 @@ require __DIR__ . '/lib/TaxRate.php';
|
|||
require __DIR__ . '/lib/Terminal/Configuration.php';
|
||||
require __DIR__ . '/lib/Terminal/ConnectionToken.php';
|
||||
require __DIR__ . '/lib/Terminal/Location.php';
|
||||
require __DIR__ . '/lib/Terminal/OnboardingLink.php';
|
||||
require __DIR__ . '/lib/Terminal/Reader.php';
|
||||
require __DIR__ . '/lib/TestHelpers/TestClock.php';
|
||||
require __DIR__ . '/lib/Token.php';
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ namespace Stripe;
|
|||
* @property null|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 null|(object{currently_due: null|string[], errors: null|(object{code: string, reason: string, requirement: string}&StripeObject)[], past_due: null|string[], pending_verification: null|string[]}&StripeObject) $requirements Information about the requirements for the bank account, including what information needs to be collected.
|
||||
* @property null|string $routing_number The routing transit number for the bank account.
|
||||
* @property string $status <p>For bank accounts, possible values are <code>new</code>, <code>validated</code>, <code>verified</code>, <code>verification_failed</code>, or <code>errored</code>. A bank account that hasn't had any activity or validation performed is <code>new</code>. If Stripe can determine that the bank account exists, its status will be <code>validated</code>. Note that there often isn’t enough information to know (e.g., for smaller credit unions), and the validation is not always run. If customer bank account verification has succeeded, the bank account status will be <code>verified</code>. If the verification failed for any reason, such as microdeposit failure, the status will be <code>verification_failed</code>. If a payout sent to this bank account fails, we'll set the status to <code>errored</code> and will not continue to send <a href="https://stripe.com/docs/payouts#payout-schedule">scheduled payouts</a> until the bank details are updated.</p><p>For external accounts, possible values are <code>new</code>, <code>errored</code> and <code>verification_failed</code>. If a payout fails, the status is set to <code>errored</code> and scheduled payouts are stopped until account details are updated. In the US and India, if we can't <a href="https://support.stripe.com/questions/bank-account-ownership-verification">verify the owner of the bank account</a>, we'll set the status to <code>verification_failed</code>. Other validations aren't run against external accounts because they're only used for payouts. This means the other statuses don't apply.</p>
|
||||
* @property string $status <p>For bank accounts, possible values are <code>new</code>, <code>validated</code>, <code>verified</code>, <code>verification_failed</code>, <code>tokenized_account_number_deactivated</code> or <code>errored</code>. A bank account that hasn't had any activity or validation performed is <code>new</code>. If Stripe can determine that the bank account exists, its status will be <code>validated</code>. Note that there often isn’t enough information to know (e.g., for smaller credit unions), and the validation is not always run. If customer bank account verification has succeeded, the bank account status will be <code>verified</code>. If the verification failed for any reason, such as microdeposit failure, the status will be <code>verification_failed</code>. If the status is <code>tokenized_account_number_deactivated</code>, the account utilizes a tokenized account number which has been deactivated due to expiration or revocation. This account will need to be reverified to continue using it for money movement. If a payout sent to this bank account fails, we'll set the status to <code>errored</code> and will not continue to send <a href="https://stripe.com/docs/payouts#payout-schedule">scheduled payouts</a> until the bank details are updated.</p><p>For external accounts, possible values are <code>new</code>, <code>errored</code>, <code>verification_failed</code>, and <code>tokenized_account_number_deactivated</code>. If a payout fails, the status is set to <code>errored</code> and scheduled payouts are stopped until account details are updated. In the US and India, if we can't <a href="https://support.stripe.com/questions/bank-account-ownership-verification">verify the owner of the bank account</a>, we'll set the status to <code>verification_failed</code>. Other validations aren't run against external accounts because they're only used for payouts. This means the other statuses don't apply.</p>
|
||||
*/
|
||||
class BankAccount extends ApiResource
|
||||
{
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ namespace Stripe\BillingPortal;
|
|||
* @property (object{headline: null|string, privacy_policy_url: null|string, terms_of_service_url: null|string}&\Stripe\StripeObject) $business_profile
|
||||
* @property int $created Time at which the object was created. Measured in seconds since the Unix epoch.
|
||||
* @property null|string $default_return_url The default URL to redirect customers to when they click on the portal's link to return to your website. This can be <a href="https://stripe.com/docs/api/customer_portal/sessions/create#create_portal_session-return_url">overriden</a> when creating the session.
|
||||
* @property (object{customer_update: (object{allowed_updates: string[], enabled: bool}&\Stripe\StripeObject), invoice_history: (object{enabled: bool}&\Stripe\StripeObject), payment_method_update: (object{enabled: bool}&\Stripe\StripeObject), subscription_cancel: (object{cancellation_reason: (object{enabled: bool, options: string[]}&\Stripe\StripeObject), enabled: bool, mode: string, proration_behavior: string}&\Stripe\StripeObject), subscription_update: (object{default_allowed_updates: string[], enabled: bool, products?: null|((object{adjustable_quantity: (object{enabled: bool, maximum: null|int, minimum: int}&\Stripe\StripeObject), prices: string[], product: string}&\Stripe\StripeObject))[], proration_behavior: string, schedule_at_period_end: (object{conditions: (object{type: string}&\Stripe\StripeObject)[]}&\Stripe\StripeObject), trial_update_behavior: string}&\Stripe\StripeObject)}&\Stripe\StripeObject) $features
|
||||
* @property (object{customer_update: (object{allowed_updates: string[], enabled: bool}&\Stripe\StripeObject), invoice_history: (object{enabled: bool}&\Stripe\StripeObject), payment_method_update: (object{enabled: bool, payment_method_configuration: null|string}&\Stripe\StripeObject), subscription_cancel: (object{cancellation_reason: (object{enabled: bool, options: string[]}&\Stripe\StripeObject), enabled: bool, mode: string, proration_behavior: string}&\Stripe\StripeObject), subscription_update: (object{default_allowed_updates: string[], enabled: bool, products?: null|((object{adjustable_quantity: (object{enabled: bool, maximum: null|int, minimum: int}&\Stripe\StripeObject), prices: string[], product: string}&\Stripe\StripeObject))[], proration_behavior: string, schedule_at_period_end: (object{conditions: (object{type: string}&\Stripe\StripeObject)[]}&\Stripe\StripeObject), trial_update_behavior: string}&\Stripe\StripeObject)}&\Stripe\StripeObject) $features
|
||||
* @property bool $is_default Whether the configuration is the default. If <code>true</code>, this configuration can be managed in the Dashboard and portal sessions will use this configuration unless it is overriden when creating the session.
|
||||
* @property bool $livemode Has the value <code>true</code> if the object exists in live mode or the value <code>false</code> if the object exists in test mode.
|
||||
* @property (object{enabled: bool, url: null|string}&\Stripe\StripeObject) $login_page
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -121,6 +121,7 @@ class Event extends ApiResource
|
|||
const CUSTOMER_UPDATED = 'customer.updated';
|
||||
const ENTITLEMENTS_ACTIVE_ENTITLEMENT_SUMMARY_UPDATED = 'entitlements.active_entitlement_summary.updated';
|
||||
const FILE_CREATED = 'file.created';
|
||||
const FINANCIAL_CONNECTIONS_ACCOUNT_ACCOUNT_NUMBERS_UPDATED = 'financial_connections.account.account_numbers_updated';
|
||||
const FINANCIAL_CONNECTIONS_ACCOUNT_CREATED = 'financial_connections.account.created';
|
||||
const FINANCIAL_CONNECTIONS_ACCOUNT_DEACTIVATED = 'financial_connections.account.deactivated';
|
||||
const FINANCIAL_CONNECTIONS_ACCOUNT_DISCONNECTED = 'financial_connections.account.disconnected';
|
||||
|
|
@ -128,6 +129,7 @@ class Event extends ApiResource
|
|||
const FINANCIAL_CONNECTIONS_ACCOUNT_REFRESHED_BALANCE = 'financial_connections.account.refreshed_balance';
|
||||
const FINANCIAL_CONNECTIONS_ACCOUNT_REFRESHED_OWNERSHIP = 'financial_connections.account.refreshed_ownership';
|
||||
const FINANCIAL_CONNECTIONS_ACCOUNT_REFRESHED_TRANSACTIONS = 'financial_connections.account.refreshed_transactions';
|
||||
const FINANCIAL_CONNECTIONS_ACCOUNT_UPCOMING_ACCOUNT_NUMBER_EXPIRY = 'financial_connections.account.upcoming_account_number_expiry';
|
||||
const IDENTITY_VERIFICATION_SESSION_CANCELED = 'identity.verification_session.canceled';
|
||||
const IDENTITY_VERIFICATION_SESSION_CREATED = 'identity.verification_session.created';
|
||||
const IDENTITY_VERIFICATION_SESSION_PROCESSING = 'identity.verification_session.processing';
|
||||
|
|
@ -373,6 +375,7 @@ class Event extends ApiResource
|
|||
const TYPE_CUSTOMER_UPDATED = 'customer.updated';
|
||||
const TYPE_ENTITLEMENTS_ACTIVE_ENTITLEMENT_SUMMARY_UPDATED = 'entitlements.active_entitlement_summary.updated';
|
||||
const TYPE_FILE_CREATED = 'file.created';
|
||||
const TYPE_FINANCIAL_CONNECTIONS_ACCOUNT_ACCOUNT_NUMBERS_UPDATED = 'financial_connections.account.account_numbers_updated';
|
||||
const TYPE_FINANCIAL_CONNECTIONS_ACCOUNT_CREATED = 'financial_connections.account.created';
|
||||
const TYPE_FINANCIAL_CONNECTIONS_ACCOUNT_DEACTIVATED = 'financial_connections.account.deactivated';
|
||||
const TYPE_FINANCIAL_CONNECTIONS_ACCOUNT_DISCONNECTED = 'financial_connections.account.disconnected';
|
||||
|
|
@ -380,6 +383,7 @@ class Event extends ApiResource
|
|||
const TYPE_FINANCIAL_CONNECTIONS_ACCOUNT_REFRESHED_BALANCE = 'financial_connections.account.refreshed_balance';
|
||||
const TYPE_FINANCIAL_CONNECTIONS_ACCOUNT_REFRESHED_OWNERSHIP = 'financial_connections.account.refreshed_ownership';
|
||||
const TYPE_FINANCIAL_CONNECTIONS_ACCOUNT_REFRESHED_TRANSACTIONS = 'financial_connections.account.refreshed_transactions';
|
||||
const TYPE_FINANCIAL_CONNECTIONS_ACCOUNT_UPCOMING_ACCOUNT_NUMBER_EXPIRY = 'financial_connections.account.upcoming_account_number_expiry';
|
||||
const TYPE_IDENTITY_VERIFICATION_SESSION_CANCELED = 'identity.verification_session.canceled';
|
||||
const TYPE_IDENTITY_VERIFICATION_SESSION_CREATED = 'identity.verification_session.created';
|
||||
const TYPE_IDENTITY_VERIFICATION_SESSION_PROCESSING = 'identity.verification_session.processing';
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@ namespace Stripe\FinancialConnections;
|
|||
* @property string $id Unique identifier for the object.
|
||||
* @property string $object String representing the object's type. Objects of the same type share the same value.
|
||||
* @property null|(object{account?: string|\Stripe\Account, customer?: string|\Stripe\Customer, type: string}&\Stripe\StripeObject) $account_holder The account holder that this account belongs to.
|
||||
* @property null|((object{expected_expiry_date: null|int, identifier_type: string, status: string, supported_networks: string[]}&\Stripe\StripeObject))[] $account_numbers Details about the account numbers.
|
||||
* @property null|(object{as_of: int, cash?: (object{available: null|\Stripe\StripeObject}&\Stripe\StripeObject), credit?: (object{used: null|\Stripe\StripeObject}&\Stripe\StripeObject), current: \Stripe\StripeObject, type: string}&\Stripe\StripeObject) $balance The most recent information about the account's balance.
|
||||
* @property null|(object{last_attempted_at: int, next_refresh_available_at: null|int, status: string}&\Stripe\StripeObject) $balance_refresh The state of the most recent attempt to refresh the account balance.
|
||||
* @property string $category The type of the account. Account category is further divided in <code>subcategory</code>.
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ namespace Stripe\FinancialConnections;
|
|||
* @property string $object String representing the object's type. Objects of the same type share the same value.
|
||||
* @property null|(object{account?: string|\Stripe\Account, customer?: string|\Stripe\Customer, type: string}&\Stripe\StripeObject) $account_holder The account holder for whom accounts are collected in this session.
|
||||
* @property \Stripe\Collection<Account> $accounts The accounts that were collected as part of this Session.
|
||||
* @property string $client_secret A value that will be passed to the client to launch the authentication flow.
|
||||
* @property null|string $client_secret A value that will be passed to the client to launch the authentication flow.
|
||||
* @property null|(object{account_subcategories: null|string[], countries: null|string[]}&\Stripe\StripeObject) $filters
|
||||
* @property bool $livemode Has the value <code>true</code> if the object exists in live mode or the value <code>false</code> if the object exists in test mode.
|
||||
* @property string[] $permissions Permissions requested for accounts collected during this session.
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@ namespace Stripe;
|
|||
* @property null|bool $auto_advance Controls whether Stripe performs <a href="https://stripe.com/docs/invoicing/integration/automatic-advancement-collection">automatic collection</a> of the invoice. If <code>false</code>, the invoice's state doesn't automatically advance without an explicit action.
|
||||
* @property (object{disabled_reason: null|string, enabled: bool, liability: null|(object{account?: Account|string, type: string}&StripeObject), provider: null|string, status: null|string}&StripeObject) $automatic_tax
|
||||
* @property null|int $automatically_finalizes_at The time when this invoice is currently scheduled to be automatically finalized. The field will be <code>null</code> if the invoice is not scheduled to finalize in the future. If the invoice is not in the draft state, this field will always be <code>null</code> - see <code>finalized_at</code> for the time when an already-finalized invoice was finalized.
|
||||
* @property null|string $billing_reason <p>Indicates the reason why the invoice was created.</p><p>* <code>manual</code>: Unrelated to a subscription, for example, created via the invoice editor. * <code>subscription</code>: No longer in use. Applies to subscriptions from before May 2018 where no distinction was made between updates, cycles, and thresholds. * <code>subscription_create</code>: A new subscription was created. * <code>subscription_cycle</code>: A subscription advanced into a new period. * <code>subscription_threshold</code>: A subscription reached a billing threshold. * <code>subscription_update</code>: A subscription was updated. * <code>upcoming</code>: Reserved for simulated invoices, per the upcoming invoice endpoint.</p>
|
||||
* @property null|string $billing_reason <p>Indicates the reason why the invoice was created.</p><p>* <code>manual</code>: Unrelated to a subscription, for example, created via the invoice editor. * <code>subscription</code>: No longer in use. Applies to subscriptions from before May 2018 where no distinction was made between updates, cycles, and thresholds. * <code>subscription_create</code>: A new subscription was created. * <code>subscription_cycle</code>: A subscription advanced into a new period. * <code>subscription_threshold</code>: A subscription reached a billing threshold. * <code>subscription_update</code>: A subscription was updated. * <code>upcoming</code>: Reserved for upcoming invoices created through the Create Preview Invoice API or when an <code>invoice.upcoming</code> event is generated for an upcoming invoice on a subscription.</p>
|
||||
* @property string $collection_method Either <code>charge_automatically</code>, or <code>send_invoice</code>. When charging automatically, Stripe will attempt to pay this invoice using the default source attached to the customer. When sending an invoice, Stripe will email this invoice to the customer with payment instructions.
|
||||
* @property null|(object{client_secret: string, type: string}&StripeObject) $confirmation_secret The confirmation secret associated with this invoice. Currently, this contains the client_secret of the PaymentIntent that Stripe creates during invoice finalization.
|
||||
* @property int $created Time at which the object was created. Measured in seconds since the Unix epoch.
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ class InvoicePayment extends ApiResource
|
|||
* the first handful of those items. There is also a URL where you can retrieve the
|
||||
* full (paginated) list of payments.
|
||||
*
|
||||
* @param null|array{ending_before?: string, expand?: string[], invoice?: string, limit?: int, payment?: array{payment_intent?: string, payment_record?: string, type: string}, starting_after?: string, status?: string} $params
|
||||
* @param null|array{created?: array|int, ending_before?: string, expand?: string[], invoice?: string, limit?: int, payment?: array{payment_intent?: string, payment_record?: string, type: string}, starting_after?: string, status?: string} $params
|
||||
* @param null|array|string $opts
|
||||
*
|
||||
* @return Collection<InvoicePayment> of ApiResources
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@ namespace Stripe\Issuing;
|
|||
* @property int $exp_year The expiration year of the card.
|
||||
* @property null|string $financial_account The financial account this card is attached to.
|
||||
* @property string $last4 The last 4 digits of the card number.
|
||||
* @property null|(object{started_at: null|int, type: null|string}&\Stripe\StripeObject) $latest_fraud_warning Stripe’s assessment of whether this card’s details have been compromised. If this property isn't null, cancel and reissue the card to prevent fraudulent activity risk.
|
||||
* @property bool $livemode Has the value <code>true</code> if the object exists in live mode or the value <code>false</code> if the object exists in test mode.
|
||||
* @property \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 null|string $number The full unredacted card number. For security reasons, this is only available for virtual cards, and will be omitted unless you explicitly request it with <a href="https://stripe.com/docs/api/expanding_objects">the <code>expand</code> parameter</a>. Additionally, it's only available via the <a href="https://stripe.com/docs/api/issuing/cards/retrieve">"Retrieve a card" endpoint</a>, not via "List all cards" or any other endpoint.
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -19,7 +19,7 @@ namespace Stripe;
|
|||
* @property int $created Time at which the object was created. Measured in seconds since the Unix epoch.
|
||||
* @property string $currency Three-letter <a href="https://www.iso.org/iso-4217-currency-codes.html">ISO currency code</a>, in lowercase. Must be a <a href="https://stripe.com/docs/currencies">supported currency</a>.
|
||||
* @property null|string $description An arbitrary string attached to the object. You can use this for displaying to users (available on non-card refunds only).
|
||||
* @property null|(object{affirm?: (object{}&StripeObject), afterpay_clearpay?: (object{}&StripeObject), alipay?: (object{}&StripeObject), alma?: (object{}&StripeObject), amazon_pay?: (object{}&StripeObject), au_bank_transfer?: (object{}&StripeObject), blik?: (object{network_decline_code: null|string, reference: null|string, reference_status: null|string}&StripeObject), br_bank_transfer?: (object{reference: null|string, reference_status: null|string}&StripeObject), card?: (object{reference?: string, reference_status?: string, reference_type?: string, type: string}&StripeObject), cashapp?: (object{}&StripeObject), crypto?: (object{reference: null|string}&StripeObject), customer_cash_balance?: (object{}&StripeObject), eps?: (object{}&StripeObject), eu_bank_transfer?: (object{reference: null|string, reference_status: null|string}&StripeObject), gb_bank_transfer?: (object{reference: null|string, reference_status: null|string}&StripeObject), giropay?: (object{}&StripeObject), grabpay?: (object{}&StripeObject), jp_bank_transfer?: (object{reference: null|string, reference_status: null|string}&StripeObject), klarna?: (object{}&StripeObject), multibanco?: (object{reference: null|string, reference_status: null|string}&StripeObject), mx_bank_transfer?: (object{reference: null|string, reference_status: null|string}&StripeObject), nz_bank_transfer?: (object{}&StripeObject), p24?: (object{reference: null|string, reference_status: null|string}&StripeObject), paynow?: (object{}&StripeObject), paypal?: (object{network_decline_code: null|string}&StripeObject), pix?: (object{}&StripeObject), revolut?: (object{}&StripeObject), sofort?: (object{}&StripeObject), swish?: (object{network_decline_code: null|string, reference: null|string, reference_status: null|string}&StripeObject), th_bank_transfer?: (object{reference: null|string, reference_status: null|string}&StripeObject), type: string, us_bank_transfer?: (object{reference: null|string, reference_status: null|string}&StripeObject), wechat_pay?: (object{}&StripeObject), zip?: (object{}&StripeObject)}&StripeObject) $destination_details
|
||||
* @property null|(object{affirm?: (object{}&StripeObject), afterpay_clearpay?: (object{}&StripeObject), alipay?: (object{}&StripeObject), alma?: (object{}&StripeObject), amazon_pay?: (object{}&StripeObject), au_bank_transfer?: (object{}&StripeObject), blik?: (object{network_decline_code: null|string, reference: null|string, reference_status: null|string}&StripeObject), br_bank_transfer?: (object{reference: null|string, reference_status: null|string}&StripeObject), card?: (object{reference?: string, reference_status?: string, reference_type?: string, type: string}&StripeObject), cashapp?: (object{}&StripeObject), crypto?: (object{reference: null|string}&StripeObject), customer_cash_balance?: (object{}&StripeObject), eps?: (object{}&StripeObject), eu_bank_transfer?: (object{reference: null|string, reference_status: null|string}&StripeObject), gb_bank_transfer?: (object{reference: null|string, reference_status: null|string}&StripeObject), giropay?: (object{}&StripeObject), grabpay?: (object{}&StripeObject), jp_bank_transfer?: (object{reference: null|string, reference_status: null|string}&StripeObject), klarna?: (object{}&StripeObject), mb_way?: (object{reference: null|string, reference_status: null|string}&StripeObject), multibanco?: (object{reference: null|string, reference_status: null|string}&StripeObject), mx_bank_transfer?: (object{reference: null|string, reference_status: null|string}&StripeObject), nz_bank_transfer?: (object{}&StripeObject), p24?: (object{reference: null|string, reference_status: null|string}&StripeObject), paynow?: (object{}&StripeObject), paypal?: (object{network_decline_code: null|string}&StripeObject), pix?: (object{}&StripeObject), revolut?: (object{}&StripeObject), sofort?: (object{}&StripeObject), swish?: (object{network_decline_code: null|string, reference: null|string, reference_status: null|string}&StripeObject), th_bank_transfer?: (object{reference: null|string, reference_status: null|string}&StripeObject), twint?: (object{}&StripeObject), type: string, us_bank_transfer?: (object{reference: null|string, reference_status: null|string}&StripeObject), wechat_pay?: (object{}&StripeObject), zip?: (object{}&StripeObject)}&StripeObject) $destination_details
|
||||
* @property null|BalanceTransaction|string $failure_balance_transaction After the refund fails, this balance transaction describes the adjustment made on your account balance that reverses the initial balance transaction.
|
||||
* @property null|string $failure_reason Provides the reason for the refund failure. Possible values are: <code>lost_or_stolen_card</code>, <code>expired_or_canceled_card</code>, <code>charge_for_pending_refund_disputed</code>, <code>insufficient_funds</code>, <code>declined</code>, <code>merchant_request</code>, or <code>unknown</code>.
|
||||
* @property null|string $instructions_email For payment methods without native refund support (for example, Konbini, PromptPay), provide an email address for the customer to receive refund instructions.
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ class CustomerService extends AbstractService
|
|||
* href="/docs/billing/customer/balance">balances</a>.
|
||||
*
|
||||
* @param string $parentId
|
||||
* @param null|array{ending_before?: string, expand?: string[], limit?: int, starting_after?: string} $params
|
||||
* @param null|array{created?: array|int, ending_before?: string, expand?: string[], limit?: int, starting_after?: string} $params
|
||||
* @param null|RequestOptionsArray|\Stripe\Util\RequestOptions $opts
|
||||
*
|
||||
* @return \Stripe\Collection<\Stripe\CustomerBalanceTransaction>
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ class InvoicePaymentService extends AbstractService
|
|||
* the first handful of those items. There is also a URL where you can retrieve the
|
||||
* full (paginated) list of payments.
|
||||
*
|
||||
* @param null|array{ending_before?: string, expand?: string[], invoice?: string, limit?: int, payment?: array{payment_intent?: string, payment_record?: string, type: string}, starting_after?: string, status?: string} $params
|
||||
* @param null|array{created?: array|int, ending_before?: string, expand?: string[], invoice?: string, limit?: int, payment?: array{payment_intent?: string, payment_record?: string, type: string}, starting_after?: string, status?: string} $params
|
||||
* @param null|RequestOptionsArray|\Stripe\Util\RequestOptions $opts
|
||||
*
|
||||
* @return \Stripe\Collection<\Stripe\InvoicePayment>
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -0,0 +1,28 @@
|
|||
<?php
|
||||
|
||||
// File generated from our OpenAPI spec
|
||||
|
||||
namespace Stripe\Service\Tax;
|
||||
|
||||
/**
|
||||
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
|
||||
*
|
||||
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
|
||||
*/
|
||||
class AssociationService extends \Stripe\Service\AbstractService
|
||||
{
|
||||
/**
|
||||
* Finds a tax association object by PaymentIntent id.
|
||||
*
|
||||
* @param null|array{expand?: string[], payment_intent: string} $params
|
||||
* @param null|RequestOptionsArray|\Stripe\Util\RequestOptions $opts
|
||||
*
|
||||
* @return \Stripe\Tax\Association
|
||||
*
|
||||
* @throws \Stripe\Exception\ApiErrorException if the request fails
|
||||
*/
|
||||
public function find($params = null, $opts = null)
|
||||
{
|
||||
return $this->request('get', '/v1/tax/associations/find', $params, $opts);
|
||||
}
|
||||
}
|
||||
|
|
@ -7,6 +7,7 @@ namespace Stripe\Service\Tax;
|
|||
/**
|
||||
* Service factory class for API resources in the Tax namespace.
|
||||
*
|
||||
* @property AssociationService $associations
|
||||
* @property CalculationService $calculations
|
||||
* @property RegistrationService $registrations
|
||||
* @property SettingsService $settings
|
||||
|
|
@ -18,6 +19,7 @@ class TaxServiceFactory extends \Stripe\Service\AbstractServiceFactory
|
|||
* @var array<string, string>
|
||||
*/
|
||||
private static $classMap = [
|
||||
'associations' => AssociationService::class,
|
||||
'calculations' => CalculationService::class,
|
||||
'registrations' => RegistrationService::class,
|
||||
'settings' => SettingsService::class,
|
||||
|
|
|
|||
|
|
@ -0,0 +1,29 @@
|
|||
<?php
|
||||
|
||||
// File generated from our OpenAPI spec
|
||||
|
||||
namespace Stripe\Service\Terminal;
|
||||
|
||||
/**
|
||||
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
|
||||
*
|
||||
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
|
||||
*/
|
||||
class OnboardingLinkService extends \Stripe\Service\AbstractService
|
||||
{
|
||||
/**
|
||||
* Creates a new <code>OnboardingLink</code> object that contains a redirect_url
|
||||
* used for onboarding onto Tap to Pay on iPhone.
|
||||
*
|
||||
* @param null|array{expand?: string[], link_options: array{apple_terms_and_conditions?: array{allow_relinking?: bool, merchant_display_name: string}}, link_type: string, on_behalf_of?: string} $params
|
||||
* @param null|RequestOptionsArray|\Stripe\Util\RequestOptions $opts
|
||||
*
|
||||
* @return \Stripe\Terminal\OnboardingLink
|
||||
*
|
||||
* @throws \Stripe\Exception\ApiErrorException if the request fails
|
||||
*/
|
||||
public function create($params = null, $opts = null)
|
||||
{
|
||||
return $this->request('post', '/v1/terminal/onboarding_links', $params, $opts);
|
||||
}
|
||||
}
|
||||
|
|
@ -10,6 +10,7 @@ namespace Stripe\Service\Terminal;
|
|||
* @property ConfigurationService $configurations
|
||||
* @property ConnectionTokenService $connectionTokens
|
||||
* @property LocationService $locations
|
||||
* @property OnboardingLinkService $onboardingLinks
|
||||
* @property ReaderService $readers
|
||||
*/
|
||||
class TerminalServiceFactory extends \Stripe\Service\AbstractServiceFactory
|
||||
|
|
@ -21,6 +22,7 @@ class TerminalServiceFactory extends \Stripe\Service\AbstractServiceFactory
|
|||
'configurations' => ConfigurationService::class,
|
||||
'connectionTokens' => ConnectionTokenService::class,
|
||||
'locations' => LocationService::class,
|
||||
'onboardingLinks' => OnboardingLinkService::class,
|
||||
'readers' => ReaderService::class,
|
||||
];
|
||||
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ class AuthorizationService extends \Stripe\Service\AbstractService
|
|||
/**
|
||||
* Create a test-mode authorization.
|
||||
*
|
||||
* @param null|array{amount?: int, amount_details?: array{atm_fee?: int, cashback_amount?: int}, authorization_method?: string, card: string, currency?: string, expand?: string[], fleet?: array{cardholder_prompt_data?: array{driver_id?: string, odometer?: int, unspecified_id?: string, user_id?: string, vehicle_number?: string}, purchase_type?: string, reported_breakdown?: array{fuel?: array{gross_amount_decimal?: string}, non_fuel?: array{gross_amount_decimal?: string}, tax?: array{local_amount_decimal?: string, national_amount_decimal?: string}}, service_type?: string}, fraud_disputability_likelihood?: string, fuel?: array{industry_product_code?: string, quantity_decimal?: string, type?: string, unit?: string, unit_cost_decimal?: string}, is_amount_controllable?: bool, merchant_amount?: int, merchant_currency?: string, merchant_data?: array{category?: string, city?: string, country?: string, name?: string, network_id?: string, postal_code?: string, state?: string, terminal_id?: string, url?: string}, network_data?: array{acquiring_institution_id?: string}, risk_assessment?: array{card_testing_risk?: array{invalid_account_number_decline_rate_past_hour?: int, invalid_credentials_decline_rate_past_hour?: int, risk_level: string}, merchant_dispute_risk?: array{dispute_rate?: int, risk_level: string}}, verification_data?: array{address_line1_check?: string, address_postal_code_check?: string, authentication_exemption?: array{claimed_by: string, type: string}, cvc_check?: string, expiry_check?: string, three_d_secure?: array{result: string}}, wallet?: string} $params
|
||||
* @param null|array{amount?: int, amount_details?: array{atm_fee?: int, cashback_amount?: int}, authorization_method?: string, card: string, currency?: string, expand?: string[], fleet?: array{cardholder_prompt_data?: array{driver_id?: string, odometer?: int, unspecified_id?: string, user_id?: string, vehicle_number?: string}, purchase_type?: string, reported_breakdown?: array{fuel?: array{gross_amount_decimal?: string}, non_fuel?: array{gross_amount_decimal?: string}, tax?: array{local_amount_decimal?: string, national_amount_decimal?: string}}, service_type?: string}, fraud_disputability_likelihood?: string, fuel?: array{industry_product_code?: string, quantity_decimal?: string, type?: string, unit?: string, unit_cost_decimal?: string}, is_amount_controllable?: bool, merchant_amount?: int, merchant_currency?: string, merchant_data?: array{category?: string, city?: string, country?: string, name?: string, network_id?: string, postal_code?: string, state?: string, terminal_id?: string, url?: string}, network_data?: array{acquiring_institution_id?: string}, risk_assessment?: array{card_testing_risk?: array{invalid_account_number_decline_rate_past_hour?: int, invalid_credentials_decline_rate_past_hour?: int, risk_level: string}, fraud_risk?: array{level: string, score?: float}, merchant_dispute_risk?: array{dispute_rate?: int, risk_level: string}}, verification_data?: array{address_line1_check?: string, address_postal_code_check?: string, authentication_exemption?: array{claimed_by: string, type: string}, cvc_check?: string, expiry_check?: string, three_d_secure?: array{result: string}}, wallet?: string} $params
|
||||
* @param null|RequestOptionsArray|\Stripe\Util\RequestOptions $opts
|
||||
*
|
||||
* @return \Stripe\Issuing\Authorization
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ class EventService extends \Stripe\Service\AbstractService
|
|||
/**
|
||||
* List events, going back up to 30 days.
|
||||
*
|
||||
* @param null|array{gt?: string, gte?: string, limit?: int, lt?: string, lte?: string, object_id?: string, types?: string[]} $params
|
||||
* @param null|array{created?: array{gt?: string, gte?: string, lt?: string, lte?: string}, limit?: int, object_id?: string, types?: string[]} $params
|
||||
* @param null|RequestOptionsArray|\Stripe\Util\RequestOptions $opts
|
||||
*
|
||||
* @return \Stripe\V2\Collection<\Stripe\V2\Core\Event>
|
||||
|
|
|
|||
|
|
@ -64,7 +64,7 @@ class Stripe
|
|||
/** @var float Initial delay between retries, in seconds */
|
||||
private static $initialNetworkRetryDelay = 0.5;
|
||||
|
||||
const VERSION = '18.1.0';
|
||||
const VERSION = '19.0.0';
|
||||
|
||||
/**
|
||||
* @return string the API key used for requests
|
||||
|
|
|
|||
|
|
@ -0,0 +1,19 @@
|
|||
<?php
|
||||
|
||||
// File generated from our OpenAPI spec
|
||||
|
||||
namespace Stripe\Tax;
|
||||
|
||||
/**
|
||||
* A Tax Association exposes the Tax Transactions that Stripe attempted to create on your behalf based on the PaymentIntent input.
|
||||
*
|
||||
* @property string $id Unique identifier for the object.
|
||||
* @property string $object String representing the object's type. Objects of the same type share the same value.
|
||||
* @property string $calculation The <a href="https://stripe.com/docs/api/tax/calculations/object">Tax Calculation</a> that was included in PaymentIntent.
|
||||
* @property string $payment_intent The <a href="https://stripe.com/docs/api/payment_intents/object">PaymentIntent</a> that this Tax Association is tracking.
|
||||
* @property null|(object{committed?: (object{transaction: string}&\Stripe\StripeObject), errored?: (object{reason: string}&\Stripe\StripeObject), source: string, status: string}&\Stripe\StripeObject)[] $tax_transaction_attempts Information about the tax transactions linked to this payment intent
|
||||
*/
|
||||
class Association extends \Stripe\ApiResource
|
||||
{
|
||||
const OBJECT_NAME = 'tax.association';
|
||||
}
|
||||
|
|
@ -0,0 +1,42 @@
|
|||
<?php
|
||||
|
||||
// File generated from our OpenAPI spec
|
||||
|
||||
namespace Stripe\Terminal;
|
||||
|
||||
/**
|
||||
* Returns redirect links used for onboarding onto Tap to Pay on iPhone.
|
||||
*
|
||||
* @property string $object
|
||||
* @property (object{apple_terms_and_conditions: null|(object{allow_relinking: null|bool, merchant_display_name: string}&\Stripe\StripeObject)}&\Stripe\StripeObject) $link_options Link type options associated with the current onboarding link object.
|
||||
* @property string $link_type The type of link being generated.
|
||||
* @property null|string $on_behalf_of Stripe account ID to generate the link for.
|
||||
* @property string $redirect_url The link passed back to the user for their onboarding.
|
||||
*/
|
||||
class OnboardingLink extends \Stripe\ApiResource
|
||||
{
|
||||
const OBJECT_NAME = 'terminal.onboarding_link';
|
||||
|
||||
/**
|
||||
* Creates a new <code>OnboardingLink</code> object that contains a redirect_url
|
||||
* used for onboarding onto Tap to Pay on iPhone.
|
||||
*
|
||||
* @param null|array{expand?: string[], link_options: array{apple_terms_and_conditions?: array{allow_relinking?: bool, merchant_display_name: string}}, link_type: string, on_behalf_of?: string} $params
|
||||
* @param null|array|string $options
|
||||
*
|
||||
* @return OnboardingLink the created resource
|
||||
*
|
||||
* @throws \Stripe\Exception\ApiErrorException if the request fails
|
||||
*/
|
||||
public static function create($params = null, $options = null)
|
||||
{
|
||||
self::_validateParams($params);
|
||||
$url = static::classUrl();
|
||||
|
||||
list($response, $opts) = static::_staticRequest('post', $url, $params, $options);
|
||||
$obj = \Stripe\Util\Util::convertToStripeObject($response->json, $opts);
|
||||
$obj->setLastResponse($response);
|
||||
|
||||
return $obj;
|
||||
}
|
||||
}
|
||||
|
|
@ -6,6 +6,6 @@ namespace Stripe\Util;
|
|||
|
||||
class ApiVersion
|
||||
{
|
||||
const CURRENT = '2025-10-29.clover';
|
||||
const CURRENT = '2025-11-17.clover';
|
||||
const CURRENT_MAJOR = 'clover';
|
||||
}
|
||||
|
|
|
|||
|
|
@ -124,6 +124,7 @@ class ObjectTypes
|
|||
\Stripe\Subscription::OBJECT_NAME => \Stripe\Subscription::class,
|
||||
\Stripe\SubscriptionItem::OBJECT_NAME => \Stripe\SubscriptionItem::class,
|
||||
\Stripe\SubscriptionSchedule::OBJECT_NAME => \Stripe\SubscriptionSchedule::class,
|
||||
\Stripe\Tax\Association::OBJECT_NAME => \Stripe\Tax\Association::class,
|
||||
\Stripe\Tax\Calculation::OBJECT_NAME => \Stripe\Tax\Calculation::class,
|
||||
\Stripe\Tax\CalculationLineItem::OBJECT_NAME => \Stripe\Tax\CalculationLineItem::class,
|
||||
\Stripe\Tax\Registration::OBJECT_NAME => \Stripe\Tax\Registration::class,
|
||||
|
|
@ -137,6 +138,7 @@ class ObjectTypes
|
|||
\Stripe\Terminal\Configuration::OBJECT_NAME => \Stripe\Terminal\Configuration::class,
|
||||
\Stripe\Terminal\ConnectionToken::OBJECT_NAME => \Stripe\Terminal\ConnectionToken::class,
|
||||
\Stripe\Terminal\Location::OBJECT_NAME => \Stripe\Terminal\Location::class,
|
||||
\Stripe\Terminal\OnboardingLink::OBJECT_NAME => \Stripe\Terminal\OnboardingLink::class,
|
||||
\Stripe\Terminal\Reader::OBJECT_NAME => \Stripe\Terminal\Reader::class,
|
||||
\Stripe\TestHelpers\TestClock::OBJECT_NAME => \Stripe\TestHelpers\TestClock::class,
|
||||
\Stripe\Token::OBJECT_NAME => \Stripe\Token::class,
|
||||
|
|
|
|||
|
|
@ -264,13 +264,10 @@ abstract class Util
|
|||
self::flattenParams($elem, "{$calculatedKey}[{$i}]")
|
||||
);
|
||||
} else {
|
||||
if ('v2' === $apiMode) {
|
||||
$result[] = ["{$calculatedKey}", $elem];
|
||||
} else {
|
||||
// Always use indexed format for arrays
|
||||
$result[] = ["{$calculatedKey}[{$i}]", $elem];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return $result;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ namespace Stripe\V2\Billing;
|
|||
* @property string $event_name The name of the meter event. Corresponds with the <code>event_name</code> field on a meter.
|
||||
* @property string $identifier A unique identifier for the event. If not provided, one will be generated. We recommend using a globally unique identifier for this. We’ll enforce uniqueness within a rolling 24 hour period.
|
||||
* @property bool $livemode Has the value <code>true</code> if the object exists in live mode or the value <code>false</code> if the object exists in test mode.
|
||||
* @property \Stripe\StripeObject $payload The payload of the event. This must contain the fields corresponding to a meter’s <code>customer_mapping.event_payload_key</code> (default is <code>stripe_customer_id</code>) and <code>value_settings.event_payload_key</code> (default is <code>value</code>). Read more about the payload.
|
||||
* @property \Stripe\StripeObject $payload The payload of the event. This must contain the fields corresponding to a meter’s <code>customer_mapping.event_payload_key</code> (default is <code>stripe_customer_id</code>) and <code>value_settings.event_payload_key</code> (default is <code>value</code>). Read more about the <a href="https://docs.stripe.com/billing/subscriptions/usage-based/recording-usage#payload-key-overrides">payload</a>..
|
||||
* @property int $timestamp The time of the event. Must be within the past 35 calendar days or up to 5 minutes in the future. Defaults to current timestamp if not specified.
|
||||
*/
|
||||
class MeterEvent extends \Stripe\ApiResource
|
||||
|
|
|
|||
Loading…
Reference in New Issue