Create Charge Intent Request
data class CreateChargeIntentRequest(val amount: Int, val currency: String, val customer: String?, val description: String?, val confirm: Boolean, val paymentMethod: String?, val receiptEmail: String?, val authorizationMode: AuthorizationMode?, val customerData: ChargeIntentsRequests.CustomerData?, val paymentMethodData: ChargeIntentsRequests.PaymentMethodData?, var fraudSignals: ChargeIntentsRequests.FraudSignals? = null, val useFrameSDK: Boolean = true, var sonarSessionId: String? = null)
Request body for creating a new charge intent.
Constructors
Link copied to clipboard
constructor(amount: Int, currency: String, customer: String?, description: String?, confirm: Boolean, paymentMethod: String?, receiptEmail: String?, authorizationMode: AuthorizationMode?, customerData: ChargeIntentsRequests.CustomerData?, paymentMethodData: ChargeIntentsRequests.PaymentMethodData?, fraudSignals: ChargeIntentsRequests.FraudSignals? = null, useFrameSDK: Boolean = true, sonarSessionId: String? = null)
Properties
Link copied to clipboard
Whether to capture funds automatically or hold them for manual capture.
Link copied to clipboard
Inline customer name and email to create or match a customer record, or null.
Link copied to clipboard
Merchant-supplied description of the charge.
Link copied to clipboard
Device fraud signals attached automatically by the SDK before the request is sent.
Link copied to clipboard
ID of an existing payment method to attach to the charge intent, or null.
Link copied to clipboard
@SerializedName(value = "payment_method_data" )
Inline card details used to create a new payment method, or null.
Link copied to clipboard
Email address to send a receipt to upon successful payment, or null.
Link copied to clipboard
Session identifier from the Sonar fraud-detection service, attached automatically by the SDK.
Link copied to clipboard
Indicates the request originated from the Frame Android SDK; defaults to true.