Record Deposit Wallet Activity (By Token)
curl --request POST \
--url https://api.hel.io/v1/deposit-wallet/token/{tokenId}/activityimport requests
url = "https://api.hel.io/v1/deposit-wallet/token/{tokenId}/activity"
response = requests.post(url)
print(response.text)const options = {method: 'POST'};
fetch('https://api.hel.io/v1/deposit-wallet/token/{tokenId}/activity', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.hel.io/v1/deposit-wallet/token/{tokenId}/activity",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.hel.io/v1/deposit-wallet/token/{tokenId}/activity"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.hel.io/v1/deposit-wallet/token/{tokenId}/activity")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.hel.io/v1/deposit-wallet/token/{tokenId}/activity")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_bodyWallet Activity
Record Deposit Wallet Activity (By Token)
Call this endpoint whenever you display deposit wallets for a customer identified by their customer deposit token. Activity is recorded for all wallets linked to that customer, temporarily increasing balance polling so incoming payments are detected more quickly.
POST
/
v1
/
deposit-wallet
/
token
/
{tokenId}
/
activity
Record Deposit Wallet Activity (By Token)
curl --request POST \
--url https://api.hel.io/v1/deposit-wallet/token/{tokenId}/activityimport requests
url = "https://api.hel.io/v1/deposit-wallet/token/{tokenId}/activity"
response = requests.post(url)
print(response.text)const options = {method: 'POST'};
fetch('https://api.hel.io/v1/deposit-wallet/token/{tokenId}/activity', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.hel.io/v1/deposit-wallet/token/{tokenId}/activity",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.hel.io/v1/deposit-wallet/token/{tokenId}/activity"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.hel.io/v1/deposit-wallet/token/{tokenId}/activity")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.hel.io/v1/deposit-wallet/token/{tokenId}/activity")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_bodyNote: When using the production environment at moonpay.hel.io, set your API endpoint to
api.hel.io/v1 and generate API keys there. For the development environment, use api.dev.hel.io/v1 and generate API keys from moonpay.dev.hel.io.Path Parameters
A unique customer token that identifies the customer’s deposit.
Response
201
Deposit wallet activity was successfully recorded. No response body is returned.
