List of top-up invoices
Top-up invoices, newest first, paginated by cursor. Can be filtered by status.
GET /deposits
- Key Permission:
deposits:read - Key: test or live
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
status |
string | no | Filter: pending (awaiting transfer), credited (credited), expired (expired), failed (rejected). |
limit |
integer | no | Number of records to return, from 1 to 100, default is 20. |
cursor |
string | no | Cursor for the next page: value of meta.next_cursor from the previous response. |
Important to know
- Pages are navigated using a cursor: if
meta.has_moreis true, passmeta.next_cursorin thecursorparameter.limitranges from 1 to 100 (default 20). - New records appear first.
Request example
curl https://api.shippickup.com/v1/deposits?status=pending&limit=20 \
-H "Authorization: Bearer $SHIPPICKUP_API_KEY"<?php
$ch = curl_init('https://api.shippickup.com/v1/deposits?status=pending&limit=20');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
'Authorization: Bearer ' . getenv('SHIPPICKUP_API_KEY'),
],
]);
$response = json_decode((string) curl_exec($ch), true);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
print_r([$status, $response]);
import os
import requests
r = requests.get(
"https://api.shippickup.com/v1/deposits?status=pending&limit=20",
headers={
"Authorization": "Bearer " + os.environ["SHIPPICKUP_API_KEY"],
},
timeout=30,
)
print(r.status_code, r.json())
const res = await fetch("https://api.shippickup.com/v1/deposits?status=pending&limit=20", {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.SHIPPICKUP_API_KEY}`,
},
});
console.log(res.status, await res.json());
Response example 200
JSON
{
"data": [
{
"id": "8c1d0f4e2a7b49e6b3d5a1c0f9",
"status": "pending",
"method": "usdt_trc20",
"network": "TRC20",
"amount_cents": 10000,
"amount_usdt": "100.017000",
"address": "TXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
"expires_at": "2026-12-04T11:15:30+00:00",
"received_cents": null,
"tx_hash": null,
"created_at": "2026-12-04T10:15:30+00:00",
"credited_at": null
}
],
"meta": {
"limit": 20,
"has_more": true,
"next_cursor": "MTg0Mg"
}
}Possible errors
| HTTP | Code | Description |
|---|---|---|
| 403 | insufficient_scope | Key lacks the required permission, specified in error.details.required_scope. |
| 429 | rate_limited | Key request limit exceeded. Retry after the time specified in the Retry-After header. |