List accounts for a ready customer
curl --request GET \
--url https://sandbox.elementpay.net/api/v1/partner/customers/{customer_id}/accounts \
--header 'X-API-Key: <api-key>'import requests
url = "https://sandbox.elementpay.net/api/v1/partner/customers/{customer_id}/accounts"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://sandbox.elementpay.net/api/v1/partner/customers/{customer_id}/accounts', 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://sandbox.elementpay.net/api/v1/partner/customers/{customer_id}/accounts",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$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://sandbox.elementpay.net/api/v1/partner/customers/{customer_id}/accounts"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://sandbox.elementpay.net/api/v1/partner/customers/{customer_id}/accounts")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox.elementpay.net/api/v1/partner/customers/{customer_id}/accounts")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"status": "success",
"message": "Accounts",
"data": {
"accounts": [
{
"id": 21,
"customer_id": "pcus_a1b2c3d4e5f6",
"asset_type": "stablecoin",
"currency": "USDC",
"network": "Base",
"status": "active",
"display_name": "USDC Base",
"wallet_address": "0x40C2f2e0326bD1f647fbeB8732529e08B4DB309f",
"balance": {
"available": "12.50",
"currency": "USDC"
},
"created_at": "2026-08-01T12:00:00+00:00"
},
{
"id": 18,
"customer_id": "pcus_a1b2c3d4e5f6",
"asset_type": "fiat",
"currency": "EUR",
"network": null,
"status": "active",
"display_name": "EUR",
"account_number": "DE89370400440532013000",
"bank_name": "Example Bank",
"swift_bic": "COBADEFFXXX",
"balance": {
"available": "250.00",
"currency": "EUR"
},
"created_at": "2026-08-01T12:00:00+00:00"
}
]
}
}{
"status": "error",
"message": "Deposit account is not ready",
"data": {
"deposit_account_status": "pending"
}
}Customer accounts
List accounts for a ready customer
List customer accounts, refreshing pending coordinates when available.
GET
/
partner
/
customers
/
{customer_id}
/
accounts
List accounts for a ready customer
curl --request GET \
--url https://sandbox.elementpay.net/api/v1/partner/customers/{customer_id}/accounts \
--header 'X-API-Key: <api-key>'import requests
url = "https://sandbox.elementpay.net/api/v1/partner/customers/{customer_id}/accounts"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://sandbox.elementpay.net/api/v1/partner/customers/{customer_id}/accounts', 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://sandbox.elementpay.net/api/v1/partner/customers/{customer_id}/accounts",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$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://sandbox.elementpay.net/api/v1/partner/customers/{customer_id}/accounts"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://sandbox.elementpay.net/api/v1/partner/customers/{customer_id}/accounts")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox.elementpay.net/api/v1/partner/customers/{customer_id}/accounts")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"status": "success",
"message": "Accounts",
"data": {
"accounts": [
{
"id": 21,
"customer_id": "pcus_a1b2c3d4e5f6",
"asset_type": "stablecoin",
"currency": "USDC",
"network": "Base",
"status": "active",
"display_name": "USDC Base",
"wallet_address": "0x40C2f2e0326bD1f647fbeB8732529e08B4DB309f",
"balance": {
"available": "12.50",
"currency": "USDC"
},
"created_at": "2026-08-01T12:00:00+00:00"
},
{
"id": 18,
"customer_id": "pcus_a1b2c3d4e5f6",
"asset_type": "fiat",
"currency": "EUR",
"network": null,
"status": "active",
"display_name": "EUR",
"account_number": "DE89370400440532013000",
"bank_name": "Example Bank",
"swift_bic": "COBADEFFXXX",
"balance": {
"available": "250.00",
"currency": "EUR"
},
"created_at": "2026-08-01T12:00:00+00:00"
}
]
}
}{
"status": "error",
"message": "Deposit account is not ready",
"data": {
"deposit_account_status": "pending"
}
}⌘I