ChargeIntentsRequests

Contains request body models used when creating, updating, and capturing charge intents.

Types

Link copied to clipboard
data class CaptureChargeIntentRequest(val amountCapturedCents: Int)

Request body for capturing an authorized charge intent.

Link copied to clipboard
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.

Link copied to clipboard
data class CustomerData(val name: String, val email: String)

Inline customer data used to create or match a customer record during charge intent creation.

Link copied to clipboard
data class FraudSignals(val clientIp: String?)

Device-level fraud signals collected by the SDK and attached to charge intent requests.

Link copied to clipboard
data class PaymentMethodData(val attach: Boolean?, val type: ChargeIntentsRequests.PaymentMethodType, val cardNumber: String, val expMonth: String, val expYear: String, val cvc: String, val billing: FrameObjects.BillingAddress?)

Inline card details used to create a new payment method during charge intent creation.

Link copied to clipboard

Identifies the type of payment method supplied in a request.

Link copied to clipboard
data class UpdateChargeIntentRequest(val amount: Int?, val currency: String?, val customer: String?, val description: String?, val confirm: Boolean?, val paymentMethod: String?, val receiptEmail: String?)

Request body for updating mutable fields on an existing charge intent.