Export All Transactions From Your Account
curl --request GET \
--url https://api.hel.io/v1/export/payments \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.hel.io/v1/export/payments"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.hel.io/v1/export/payments', 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/export/payments",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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/export/payments"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.hel.io/v1/export/payments")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.hel.io/v1/export/payments")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body[
{
"id": "68129f9cc81cc9397e012b3a",
"txSignature": "2xRE1Yhfq8SPxom2U2EyFxVB27uPKVFUYWUoaZCz58VDm4VMcNf8Ko2wn4FQeLibCrW2DAwVZEyXgNx9iAM4BEAr",
"solScanLink": "https://solscan.io/tx/2xRE1Yhfq8SPxom2U2EyFxVB27uPKVFUYWUoaZCz58VDm4VMcNf8Ko2wn4FQeLibCrW2DAwVZEyXgNx9iAM4BEAr?cluster=mainnet",
"time": "2025-04-30T22:09:32.978Z",
"amount": "99",
"decimalAmount": "0.000099",
"totalAmountAsUSD": "99",
"convertedAmount": 0.000099,
"currency": "USDC",
"blockchain": "SOL",
"from": "7YancRyNQyp9s6G7YNwx9H93UqswoKWqF9GuNJPufyvW",
"intervalUnit": null,
"transactionStatus": "SUCCESS",
"fee": 1,
"grossAmount": "4000000",
"quantity": 1,
"paymentRequestId": "681237aa704dab3e022bb9ed",
"paymentRequestName": "Paylink",
"paymentRequestUrl": "https://app.hel.io/pay/681237aa704dab3e022bb9ed",
"paymentRequestUrlWithSlug": null,
"cancelAt": null,
"startAt": null,
"endAt": null,
"transactionType": "PAYLINK",
"affiliateFee": "0"
}
]{
"message": "Api key or token is invalid",
"code": 401
}EXPORTS
Export All Transactions From Your Account
Get all transactions for your account, filtered by Pay Link ID, sender public key, or date range.
GET
/
v1
/
export
/
payments
Export All Transactions From Your Account
curl --request GET \
--url https://api.hel.io/v1/export/payments \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.hel.io/v1/export/payments"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.hel.io/v1/export/payments', 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/export/payments",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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/export/payments"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.hel.io/v1/export/payments")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.hel.io/v1/export/payments")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body[
{
"id": "68129f9cc81cc9397e012b3a",
"txSignature": "2xRE1Yhfq8SPxom2U2EyFxVB27uPKVFUYWUoaZCz58VDm4VMcNf8Ko2wn4FQeLibCrW2DAwVZEyXgNx9iAM4BEAr",
"solScanLink": "https://solscan.io/tx/2xRE1Yhfq8SPxom2U2EyFxVB27uPKVFUYWUoaZCz58VDm4VMcNf8Ko2wn4FQeLibCrW2DAwVZEyXgNx9iAM4BEAr?cluster=mainnet",
"time": "2025-04-30T22:09:32.978Z",
"amount": "99",
"decimalAmount": "0.000099",
"totalAmountAsUSD": "99",
"convertedAmount": 0.000099,
"currency": "USDC",
"blockchain": "SOL",
"from": "7YancRyNQyp9s6G7YNwx9H93UqswoKWqF9GuNJPufyvW",
"intervalUnit": null,
"transactionStatus": "SUCCESS",
"fee": 1,
"grossAmount": "4000000",
"quantity": 1,
"paymentRequestId": "681237aa704dab3e022bb9ed",
"paymentRequestName": "Paylink",
"paymentRequestUrl": "https://app.hel.io/pay/681237aa704dab3e022bb9ed",
"paymentRequestUrlWithSlug": null,
"cancelAt": null,
"startAt": null,
"endAt": null,
"transactionType": "PAYLINK",
"affiliateFee": "0"
}
]{
"message": "Api key or token is invalid",
"code": 401
}Note: 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.Authorizations
Authentication using JWT token
Query Parameters
Your API key can be generated on the Helio Dashboard’s settings page.
Return results from the past n days, where the most recent day is 1.
Filter by sender public key.
Response
Successful response with exported payments.
Available options:
SOL Available options:
SECOND Show child attributes
Show child attributes
Available options:
REFUNDED 