Skip to main content

List Ramp Intents

Retrieve a paginated list of ramp intents for your merchant account. Supports filtering by status, type, and text search across intent IDs and customer emails.

GEThttps://api.zenpays.com/payment/api/v1/ramp-intents
Bearer · API key

Request​

Headers​

HeaderDescription
Authorization
REQUIRED
Bearer {api_key}
x-merchant-id
REQUIRED
Your merchant ID
x-request-id
REQUIRED
Unique request ID for tracing
Authenticated Endpoint

This endpoint requires API key authentication. Only intents belonging to the authenticated merchant are returned.

Query Parameters​

ParameterTypeDescription
page
OPTIONAL
number1Page number
limit
OPTIONAL
number20Results per page (max 100)
status
OPTIONAL
string—Filter by status: created, active, completed, expired, cancelled
type
OPTIONAL
string—Filter by type: buy or sell
search
OPTIONAL
string—Search by intent ID or customer email (partial match)

Response​

Success (200 OK)​

{
"success": true,
"data": {
"data": [
{
"id": "a1b2c3d4-uuid",
"intentId": "ri_1710345678000_a1b2c3d4e5f6g7h8",
"type": "buy",
"fiatCurrency": "USD",
"cryptoCurrency": "eth_ethereum",
"amount": 100,
"status": "completed",
"customerEmail": "[email protected]",
"wallets": [
{ "network": "ethereum", "address": "0x742d35Cc..." }
],
"expiresAt": "2026-03-15T10:00:00.000Z",
"completedAt": "2026-03-15T09:45:00.000Z",
"createdAt": "2026-03-15T09:00:00.000Z",
"updatedAt": "2026-03-15T09:45:00.000Z"
}
],
"meta": {
"total": 42,
"page": 1,
"limit": 20,
"totalPages": 3
}
},
"message": "Ramp intents retrieved"
}

Response Fields​

Intent Object​

ParameterTypeDescription
intentId
OPTIONAL
stringUnique intent identifier
type
OPTIONAL
stringbuy or sell
fiatCurrency
OPTIONAL
stringFiat currency code
cryptoCurrency
OPTIONAL
string| nullCrypto identifier
amount
OPTIONAL
number| nullAmount
status
OPTIONAL
stringCurrent status
customerEmail
OPTIONAL
string| nullCustomer email
wallets
OPTIONAL
arrayWallet addresses
depositCharges
OPTIONAL
object| nullFee breakdown for deposit phase (sell intents)
payoutCharges
OPTIONAL
object| nullFee breakdown for payout phase (sell intents)
expiresAt
OPTIONAL
stringExpiry timestamp
completedAt
OPTIONAL
string| nullCompletion timestamp
createdAt
OPTIONAL
stringCreation timestamp
updatedAt
OPTIONAL
stringLast update timestamp

Meta Object​

ParameterTypeDescription
total
OPTIONAL
numberTotal matching intents
page
OPTIONAL
numberCurrent page
limit
OPTIONAL
numberResults per page
totalPages
OPTIONAL
numberTotal pages

Examples​

# List all intents (page 1)
curl https://api.zenpays.com/payment/api/v1/ramp-intents \
-H "Authorization: Bearer zp_test_your_api_key" \
-H "x-merchant-id: merch_abc123" \
-H "x-request-id: req_list_001"

# Filter by status and type
curl "https://api.zenpays.com/payment/api/v1/ramp-intents?status=completed&type=sell&page=1&limit=10" \
-H "Authorization: Bearer zp_test_your_api_key" \
-H "x-merchant-id: merch_abc123" \
-H "x-request-id: req_list_002"

# Search by email
curl "https://api.zenpays.com/payment/api/v1/[email protected]" \
-H "Authorization: Bearer zp_test_your_api_key" \
-H "x-merchant-id: merch_abc123" \
-H "x-request-id: req_list_003"

Next Steps​