Deposits
List deposits
deprecated
Deprecated: use GET /v2/deposits for opaque cursor pagination.
GET
/
v1
/
deposits
List deposits
curl --request GET \
--url https://api.example.com/v1/deposits \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.example.com/v1/deposits"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.example.com/v1/deposits', 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.example.com/v1/deposits",
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.example.com/v1/deposits"
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.example.com/v1/deposits")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/v1/deposits")
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{
"deposits": [
{
"amount": "100.50",
"clientRef": "609eddec-9b97-4f41-8db3-ef9342263418",
"createdAt": "2024-01-15T10:30:00Z",
"creditedAmount": "98.90000000",
"currency": "EUR",
"id": "123e4567-e89b-12d3-a456-426614174000",
"method": "manual_deposit",
"serviceFee": "1.10000000",
"status": "completed",
"updatedAt": "2024-01-15T10:35:00Z",
"accountId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"errorMessage": "Payment declined by bank",
"fromAddress": "7kPUkMnKoW5nDngxbJFuAyh3bG1CKLLsUpT91YSdDKAe",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"payerAccountNumber": "0123456789",
"payerName": "ADEBAYO OLUWASEUN",
"providerTransactionId": "TXN-123456789",
"serviceFeeCurrency": "USDC",
"txHash": "4fDtjFyp9ZGbVLGiLGWvuMKWi56cu5KdMQtzoVFMJbqrF7oNVHRbJQs81aKbWapHimB3vug1P2A5diwzY8EJ9rBh",
"walletClientRef": "customer-1234",
"walletId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
],
"hasMore": true,
"nextCursor": "2024-01-15T10:30:00.000Z__a1b2c3d4-e5f6-7890-abcd-ef1234567890"
}{
"details": [
{
"field": "accounts.0.data",
"message": "crAccount must be exactly 10 digits for Nigerian accounts"
}
],
"error": "BAD_REQUEST",
"message": "crAccount must be exactly 10 digits for Nigerian accounts",
"path": "/v1/resource",
"statusCode": 400,
"timestamp": "2024-01-15T10:30:00.000Z"
}Headers
Query Parameters
Response
List of deposits retrieved successfully
⌘I
List deposits
curl --request GET \
--url https://api.example.com/v1/deposits \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.example.com/v1/deposits"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.example.com/v1/deposits', 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.example.com/v1/deposits",
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.example.com/v1/deposits"
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.example.com/v1/deposits")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/v1/deposits")
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{
"deposits": [
{
"amount": "100.50",
"clientRef": "609eddec-9b97-4f41-8db3-ef9342263418",
"createdAt": "2024-01-15T10:30:00Z",
"creditedAmount": "98.90000000",
"currency": "EUR",
"id": "123e4567-e89b-12d3-a456-426614174000",
"method": "manual_deposit",
"serviceFee": "1.10000000",
"status": "completed",
"updatedAt": "2024-01-15T10:35:00Z",
"accountId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"errorMessage": "Payment declined by bank",
"fromAddress": "7kPUkMnKoW5nDngxbJFuAyh3bG1CKLLsUpT91YSdDKAe",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"payerAccountNumber": "0123456789",
"payerName": "ADEBAYO OLUWASEUN",
"providerTransactionId": "TXN-123456789",
"serviceFeeCurrency": "USDC",
"txHash": "4fDtjFyp9ZGbVLGiLGWvuMKWi56cu5KdMQtzoVFMJbqrF7oNVHRbJQs81aKbWapHimB3vug1P2A5diwzY8EJ9rBh",
"walletClientRef": "customer-1234",
"walletId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
],
"hasMore": true,
"nextCursor": "2024-01-15T10:30:00.000Z__a1b2c3d4-e5f6-7890-abcd-ef1234567890"
}{
"details": [
{
"field": "accounts.0.data",
"message": "crAccount must be exactly 10 digits for Nigerian accounts"
}
],
"error": "BAD_REQUEST",
"message": "crAccount must be exactly 10 digits for Nigerian accounts",
"path": "/v1/resource",
"statusCode": 400,
"timestamp": "2024-01-15T10:30:00.000Z"
}