> For the complete documentation index, see [llms.txt](https://docs.oscwii.org/wii-shop-channel/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.oscwii.org/wii-shop-channel/js/ec/payment-objects/ececardpayment.md).

# ECECardPayment

If you wish to represent a gift card to the server as a payment type, you utilize ECECardPayment. If the idea sounds familiar, it may be because Nintendo used them - ECards are officially Wii Points Cards.

For example, assuming every ECard is 16 digits long:

```javascript
var payment = new ECECardPayment('001122334455667788');
```

### Properties

| Property Name    | Discussion                                                                                                      |
| ---------------- | --------------------------------------------------------------------------------------------------------------- |
| `payment.number` | The typically 16 digit card number set during instantiation. Can be retrieved, or set to another set of digits. |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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/payment-objects/ececardpayment.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.
