> ## Documentation Index
> Fetch the complete documentation index at: https://dev.commerce.moonpay.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Record Deposit Wallet Activity (By Token)

> Call this endpoint when a customer, identified by their customer deposit token, selects the currency they want to deposit. Pass the selected currency in `currencyId` so incoming payments are detected and settled quickly.

## When to call

Call this endpoint **as soon as the customer selects the currency they want to deposit**, for example when they pick a token in your deposit UI and you show them the matching deposit address. Call it again whenever the customer switches to a different currency.

> [!WARNING]
>
> Always include `currencyId`, the `id` of the selected currency from [Get Deposit Currencies](https://dev.commerce.moonpay.com/reference/currency/list-deposit.md). Deposit detection and settlement are tuned to the currency you pass.

## Example

```bash theme={null}
curl -X POST "https://api.hel.io/v1/deposit-wallet/token/{tokenId}/activity" \
  -H "Content-Type: application/json" \
  -d '{ "currencyId": "6340313846e4f91b8abc519b" }'
```

If you display specific wallet addresses rather than identifying the customer by token, use [Record Deposit Wallet Activity (By Public Keys)](https://dev.commerce.moonpay.com/reference/deposit-wallet/record-activity-wallets.md) instead.


## OpenAPI

````yaml POST /v1/deposit-wallet/token/{tokenId}/activity
openapi: 3.0.0
info:
  title: Helio Open API
  description: |-
    API schema and definitions for Helio API. <br/> 
          The API is using two types of Authentication, for dashboard endpoints we use <b>JSON Web Token (JWT)</b> that is generated by self custodial wallet signing a message from API.</br> 
          We also support authentication with <b>API Key and Secret</b> which can be generated on <a href='https://hel.io'>Helio dashboard</a>.
  version: 1.0.0
  contact: {}
servers:
  - description: Helio API (Mainnet)
    url: https://api.hel.io
security: []
tags:
  - name: Webhooks
  - name: Exports
  - name: Currencies
    description: >-
      Supported currencies endpoint, includes fiat and digital assets
      </br><i>Authentication: </i><b>None</b>
externalDocs:
  description: Helio product documentation
  url: https://dev.commerce.moonpay.com/
paths:
  /v1/deposit-wallet/token/{tokenId}/activity:
    post:
      tags:
        - Deposits
      summary: Record Deposit Wallet Activity (By Token)
      description: >-
        Call this endpoint when a customer identified by their **customer
        deposit token** selects the currency they want to deposit. Pass that
        currency's id in `currencyId`. Activity is recorded for the customer's
        deposit wallets, which temporarily increases balance polling so incoming
        payments in the selected currency are detected and settled quickly.
      operationId: DepositController_recordActivity
      parameters:
        - name: tokenId
          in: path
          required: true
          description: A unique customer token that identifies the customer’s deposit.
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - currencyId
              properties:
                currencyId:
                  type: string
                  description: >-
                    The `id` of the currency the customer has selected to
                    deposit, as returned by [Get Deposit
                    Currencies](/reference/currency/list-deposit). Send this on
                    every call.
                  example: 6340313846e4f91b8abc519b
            example:
              currencyId: 6340313846e4f91b8abc519b
      responses:
        '201':
          description: >-
            Deposit wallet activity was successfully recorded. No response body
            is returned.
        '400':
          description: >-
            The request body is invalid (for example, `currencyId` is not a
            valid currency id).
      security: []

````