Surcharge

@JsonClass(generateAdapter = true)
data class Surcharge(val maximumAmount: Long, val status: String) : Serializable

Details about the availability and maximum amount for surcharging on this PaymentIntent.

To get the surcharge amount in the AmountDetails field, see SurchargeDetails

For more information, see the official Stripe docs: Collect surcharges

Use of this SDK is subject to the Stripe Terminal Terms: https://stripe.com/terminal/legal

Constructors

Link copied to clipboard
constructor(maximumAmount: Long, status: String)

Properties

Link copied to clipboard

The maximum surcharge amount allowed for this PaymentIntent.

Link copied to clipboard

Surcharge availability, can be either "available" or "unavailable"