stripe library

Classes

BalanceTransaction
Charge
PaymentIntent
PaymentMethodDetailsCard
Refund
Session
Stripe
Stripe is the Class that provides the Interface for external calls via the Stripe API.

Properties

log Logger
final

Functions

isValidWebhookIpAddress(String ipAddress) bool
Returns true if the provided ip address is of of the white listed Stripe webhook ip addresses.
isValidWebhookSignature(String signature, String body, String signingSecret, Duration timeTolerance) bool
Returns wether the signature is correctly signed and within the tolerated time window.