Create Account Request
data class CreateAccountRequest(val type: AccountObjects.AccountType, val externalId: String? = null, val termsOfService: AccountObjects.AccountTermsOfService? = null, val metadata: Map<String, String>? = null, val profile: AccountRequests.CreateAccountProfile, val capabilities: List<String> = emptyList())
Request body for creating a new account.
Constructors
Link copied to clipboard
constructor(type: AccountObjects.AccountType, externalId: String? = null, termsOfService: AccountObjects.AccountTermsOfService? = null, metadata: Map<String, String>? = null, profile: AccountRequests.CreateAccountProfile, capabilities: List<String> = emptyList())
Properties
Link copied to clipboard
List of capability keys to request for this account.
Link copied to clipboard
Merchant-assigned identifier for this account.
Link copied to clipboard
Business or individual profile data.
Link copied to clipboard
@SerializedName(value = "terms_of_service" )
Terms-of-service acceptance record to attach at creation.
Link copied to clipboard
Whether this is an individual or business account.