The SDK provides five form types for different data collection needs. Each has two style variants:
- Outlined: Field borders appear when focused
- Classic: Fields use a filled background style
All form types share the same PaymentSheet parameters.
Available form types
| Form Type | Outlined Function | Classic Function | Data Collected |
|---|---|---|---|
| Complete | CompletePaymentSheetOutlined | CompletePaymentSheet | Name, Card Number, Expiry, CVV, Full Address |
| Partial | PartialPaymentSheetOutlined | PartialPaymentSheet | Name, Card Number, Expiry, CVV, Zip Code |
| Basic | BasicPaymentSheetOutlined | BasicPaymentSheet | Name, Card Number, Expiry, CVV |
| Minimal | MinimalPaymentSheetOutlined | MinimalPaymentSheet | Card Number, Expiry, CVV |
| International | InternationalPaymentSheetOutlined | InternationalPaymentSheet | Name, Card Number, Expiry, Country, Zip Code |
- Use Complete when you need full address data for AVS verification.
- Use Partial for lightweight Zip-Code-only verification.
- Use Basic or Minimal for simple card collection with no address fields.
- Use International for buyers outside the US.
Card collection example
All card form types share the same parameters. Only the function name changes based on which variant you choose.
// Outlined variants - field borders appear when focused
CompletePaymentSheetOutlined(...) // Name, Card, Expiry, CVV, Full Address
PartialPaymentSheetOutlined(...) // Name, Card, Expiry, CVV, Zip Code
BasicPaymentSheetOutlined(...) // Name, Card, Expiry, CVV
MinimalPaymentSheetOutlined(...) // Card, Expiry, CVV
InternationalPaymentSheetOutlined(...) // Name, Card, Expiry, Country, Zip Code
// Classic variants (same parameters, filled-background field style)
CompletePaymentSheet(...)
PartialPaymentSheet(...)
BasicPaymentSheet(...)
MinimalPaymentSheet(...)
InternationalPaymentSheet(...)
// Every variant shares the same parameter list - swap the function name
// to choose a different form. Example: Partial outlined variant.
PartialPaymentSheetOutlined(
configuration = configuration,
amount = 1000L,
currency = "USD",
onCancel = { },
onSuccess = { response ->
val tokenId = response.tokenizedResponse.id
// forward tokenId to your backend
},
onFailure = { error ->
// see /android/online/errors for FinixErrorCode variants
},
)