/home/bdqbpbxa/dev-subdomains/admin.pixory.goodface.com.ua/src/api/webhooks/types/stripe.webhook.ts
export class StripeWebhook {
id: string
object: string
api_version: string
created: number
data: {
object: {
id: string,
object: string,
amount: number,
amount_capturable: number,
amount_details: {},
amount_received: number,
application: null,
application_fee_amount: null,
automatic_payment_methods: null,
canceled_at: null,
cancellation_reason: null,
capture_method: string,
client_secret: string,
confirmation_method: string,
created: number,
currency: string,
customer: null,
description: string,
excluded_payment_method_types: null,
invoice: null,
last_payment_error: null,
latest_charge: string,
livemode: false,
metadata: string,
next_action: null,
on_behalf_of: null,
payment_method: string,
payment_method_configuration_details: null,
payment_method_options: [],
payment_method_types: string[],
processing: null,
receipt_email: null,
review: null,
setup_future_usage: null,
shipping: null,
source: null,
statement_descriptor: null,
statement_descriptor_suffix: null,
status: string,
transfer_data: null,
transfer_group: null
}
}
livemode: boolean
pending_webhooks: number
request: {
id: string
idempotency_key: string
}
type: 'payment_intent.succeeded'
}