# EC

EC, short for ECommerce, is understandably the most crucial part of the Wii Shop Channel. As such, its family of functions and objects comprise most of the JS API and binary within, separated across many separate mechanics. Each object available is listed below.

While every object can be instantiated by itself, data available populated within the majority objects - such as [ECDeviceInfo](/wii-shop-channel/js/ec/ecdeviceinfo.md) or [ECProgress](/wii-shop-channel/js/ec/ecprogress.md) - will only be present when returned from a function in [ECommerceInterface](/wii-shop-channel/js/ec/ecommerceinterface.md). Ensure you read the object's respective documentation for the correct way to utilize one.

## Objects

### Common

These objects provide general functionality for all of the EC interface.

* [ECommerceInterface](/wii-shop-channel/js/ec/ecommerceinterface.md)
* [ECDeviceInfo](/wii-shop-channel/js/ec/ecdeviceinfo.md)
* [ECProgress](/wii-shop-channel/js/ec/ecprogress.md)

### Payment

Payment-related objects provide multiple source of payments - via credit cards, "ECards" (known as a Wii Points Card officially) or the existing account balance. It's additionally possible to work with information about an existing transaction.

* [ECCreditCardPayment](/wii-shop-channel/js/ec/payment-objects/eccreditcardpayment.md)
* [ECCreditCardEncryptedPayment](/wii-shop-channel/js/ec/payment-objects/eccreditcardencryptedpayment.md)
* [ECECardPayment](/wii-shop-channel/js/ec/payment-objects/ececardpayment.md)
* [ECAccountPayment](/wii-shop-channel/js/ec/payment-objects/ecaccountpayment.md)
* [ECPrice](/wii-shop-channel/js/ec/payment-objects/ecprice.md)
* [ECTransactionInfo](/wii-shop-channel/js/ec/payment-objects/ectransactioninfo.md), and [ECTransactionInfos](/wii-shop-channel/js/ec/payment-objects/ectransactioninfo.md#ectransactioninfo).

### Title

Title-related objects provide functionality for querying title information, ticket information, and title limit information.

* [ECTitleLimit](/wii-shop-channel/js/ec/title-objects/ectitlelimit.md), and [ECTitleLimits](/wii-shop-channel/js/ec/title-objects/ectitlelimit.md#ectitlelimits)
* [ECTitleInfo](/wii-shop-channel/js/ec/title-objects/ectitleinfo.md), and [ECTitleInfos](/wii-shop-channel/js/ec/title-objects/ectitleinfo.md#ectitleinfos)
* [ECTicketInfo](/wii-shop-channel/js/ec/title-objects/ecticketinfo.md), and [ECTicketInfos](/wii-shop-channel/js/ec/title-objects/ecticketinfo.md#ecticketinfos)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.oscwii.org/wii-shop-channel/js/ec.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
