Skip to main content
GET
Get payment history

Authorizations

Authorization
string
header
required

Use a UniFi API key generated from the web app and stored server-side.

Path Parameters

user_id
string
required

UniFi user identifier, such as a verified email address or wallet address.

sort_by_latest
boolean
required

Sort newest receipts first when true.

from_start
boolean
required

Start a fresh history traversal when true.

Query Parameters

chain
enum<string>

Filter by chain. Production-supported mainnets and public testnets exposed by the public reference.

Available options:
Ethereum,
Polygon,
Sepolia
coin
enum<string>

Filter by stablecoin.

Available options:
USDT,
USDC,
DAI
status
enum<string>

Filter by receipt state.

Available options:
Processing,
Failed,
Confirmed,
Finalized,
Reorged
pending
boolean

true matches Processing and Confirmed; false excludes both. Cannot be combined with status.

direction
enum<string>

Filter by payments sent or received by the user.

Available options:
Sent,
Received
limit
integer<int64>

Maximum number of receipts to return.

Required range: x >= 1
next_or_previous
boolean

true requests the next page; false requests the previous page.

cursor
string

Receipt ID at the current page edge. Required for stateless continuation requests; use the last receipt ID for next and the first receipt ID for previous.

Response

A page of payment receipts.

status
string
required
data
object
required