Capability

data class Capability(val id: String?, val object: String?, val name: String?, val accountId: String?, val status: String?, val disabledReason: String? = null, val currentlyDue: List<String>? = null, val created: String?, val updated: String?, val disabled: Boolean? = null)

Represents a single capability associated with a merchant account.

Constructors

Link copied to clipboard
constructor(id: String?, object: String?, name: String?, accountId: String?, status: String?, disabledReason: String? = null, currentlyDue: List<String>? = null, created: String?, updated: String?, disabled: Boolean? = null)

Properties

Link copied to clipboard
@SerializedName(value = "account_id")
val accountId: String?

The ID of the merchant account that owns this capability.

Link copied to clipboard

ISO 8601 timestamp when the capability was created.

Link copied to clipboard
@SerializedName(value = "currently_due")
val currentlyDue: List<String>? = null

List of requirement keys that must be addressed to activate or maintain the capability.

Link copied to clipboard
val disabled: Boolean? = null

Whether the capability has been explicitly disabled.

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

Human-readable explanation of why the capability is disabled, if applicable.

Link copied to clipboard
val id: String?

Unique identifier for the capability.

Link copied to clipboard
val name: String?

The name identifier of the capability (e.g. "card_payments").

Link copied to clipboard

The object type string returned by the API (e.g. "capability").

Link copied to clipboard

Current status of the capability (e.g. "active", "inactive", "pending").

Link copied to clipboard

ISO 8601 timestamp when the capability was last updated.