Account Objects
object AccountObjects
Namespace for account domain model types.
Types
Link copied to clipboard
data class Account(val id: String?, val accountObject: String?, val type: AccountObjects.AccountType?, val status: AccountObjects.AccountStatus?, val externalId: String? = null, val metadata: Map<String, String>? = null, val termsOfService: AccountObjects.AccountTermsOfService? = null, val profile: AccountObjects.AccountProfile? = null, val capabilities: List<CapabilityObjects.Capability>? = null, val steps: List<AccountObjects.AccountStep>? = null, val created: Int?, val updated: Int?, val livemode: Boolean?)
Represents a Frame account belonging to a merchant or their sub-merchant.
Link copied to clipboard
Link copied to clipboard
A phone number associated with an account.
Link copied to clipboard
data class AccountProfile(val business: AccountObjects.BusinessAccount? = null, val individual: AccountObjects.IndividualAccount? = null)
Profile information for an account, containing either business or individual data.
Link copied to clipboard
Lifecycle status of an account.
Link copied to clipboard
Link copied to clipboard
data class AccountTermsOfService(val token: String? = null, val acceptedAt: String? = null, val ipAddress: String? = null)
Terms-of-service acceptance record for an account.
Link copied to clipboard
Classifies whether an account belongs to an individual or a business.
Link copied to clipboard
data class BusinessAccount(val legalBusinessName: String?, val doingBusinessAs: String? = null, val businessType: String?, val email: String?, val website: String? = null, val description: String? = null, val einLastFour: String? = null, val mcc: String? = null, val naics: String? = null, val address: AccountObjects.AccountBillingAddress? = null, val phone: AccountObjects.AccountPhoneNumber? = null)
Business profile data for a business account.
Link copied to clipboard
data class IndividualAccount(val name: AccountObjects.IndividualAccountName? = null, val email: String? = null, val ssnLastFour: String? = null, val phoneNumber: String? = null, val phoneCountryCode: String? = null, val address: AccountObjects.AccountBillingAddress? = null, val birthdate: String? = null, val ssn: String? = null)
Individual profile data for a personal account.
Link copied to clipboard
data class IndividualAccountName(val firstName: String? = null, val middleName: String? = null, val lastName: String? = null, val suffix: String? = null)
The name components of an individual account holder.
Link copied to clipboard