UpdateAccountRequest

data class UpdateAccountRequest(val type: AccountObjects.AccountType? = null, val externalId: String? = null, val termsOfService: AccountObjects.AccountTermsOfService? = null, val metadata: Map<String, String>? = null, val profile: AccountRequests.UpdateAccountProfile? = null)

Request body for updating an existing account.

Constructors

Link copied to clipboard
constructor(type: AccountObjects.AccountType? = null, externalId: String? = null, termsOfService: AccountObjects.AccountTermsOfService? = null, metadata: Map<String, String>? = null, profile: AccountRequests.UpdateAccountProfile? = null)

Properties

Link copied to clipboard
@SerializedName(value = "external_id")
val externalId: String? = null

Updated merchant-assigned external identifier.

Link copied to clipboard
val metadata: Map<String, String>? = null

Updated arbitrary key-value pairs.

Link copied to clipboard

Updated business or individual profile data.

Link copied to clipboard
@SerializedName(value = "terms_of_service")
val termsOfService: AccountObjects.AccountTermsOfService? = null

Updated terms-of-service acceptance record.

Link copied to clipboard

Updated account type.