VerifyPaymentConsentParams

data class VerifyPaymentConsentParams(val clientSecret: String, val paymentConsentId: String, val amount: BigDecimal? = null, val currency: String? = null, val cvc: String? = null, val paymentMethodType: String, val returnUrl: String? = null)

The params that used for verify PaymentConsent

Constructors

Link copied to clipboard
constructor(clientSecret: String, paymentConsentId: String, amount: BigDecimal? = null, currency: String? = null, cvc: String? = null, paymentMethodType: String, returnUrl: String? = null)

Types

Link copied to clipboard
class Builder(clientSecret: String, paymentConsentId: String, paymentMethodType: String) : ObjectBuilder<VerifyPaymentConsentParams>
Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val amount: BigDecimal? = null

The alternative amount of verification if zero amount is not acceptable for the provider. The transaction of this amount should be reverted once the verification process finished. Must be greater than 0.

Link copied to clipboard
Link copied to clipboard
val currency: String? = null

Currency of the initial PaymentIntent to verify the PaymentConsent. Three-letter ISO currency code. Must be a supported currency

Link copied to clipboard
val cvc: String? = null

When requires_cvc for the PaymentConsent is true, this attribute must be provided in order to confirm successfully

Link copied to clipboard

PaymentConsent ID

Link copied to clipboard

Type of the PaymentMethod.

Link copied to clipboard
val returnUrl: String? = null

The URL to which your customer will be redirected after they verify PaymentConsent on the PaymentMethod’s app or site. If you’d prefer to redirect to a mobile application, you can alternatively provide an application URI scheme.