curl "https://api.xenarch.dev/v1/links?limit=10" \
-H "Authorization: Bearer xm_live_..."
{
"links": [
{
"link_id": "JJjIwDyV4N1CG9g8AHMxfdJ9",
"created_at": "2026-11-17T12:00:00Z",
"expires_at": null,
"kind": "checkout",
"status": "active",
"paid_and_single_use": false,
"paid_count": 0,
"views": 0,
"revenue_usd": "0",
"amount_usd": "25.00",
"cadence": "one_time"
}
],
"has_more": false,
"next_cursor": null
}
Links
List Links
List your pay links, newest first, with cursor pagination. Authenticate with a merchant API key or your dashboard session.
GET
/
v1
/
links
curl "https://api.xenarch.dev/v1/links?limit=10" \
-H "Authorization: Bearer xm_live_..."
{
"links": [
{
"link_id": "JJjIwDyV4N1CG9g8AHMxfdJ9",
"created_at": "2026-11-17T12:00:00Z",
"expires_at": null,
"kind": "checkout",
"status": "active",
"paid_and_single_use": false,
"paid_count": 0,
"views": 0,
"revenue_usd": "0",
"amount_usd": "25.00",
"cadence": "one_time"
}
],
"has_more": false,
"next_cursor": null
}
curl "https://api.xenarch.dev/v1/links?limit=10" \
-H "Authorization: Bearer xm_live_..."
{
"links": [
{
"link_id": "JJjIwDyV4N1CG9g8AHMxfdJ9",
"created_at": "2026-11-17T12:00:00Z",
"expires_at": null,
"kind": "checkout",
"status": "active",
"paid_and_single_use": false,
"paid_count": 0,
"views": 0,
"revenue_usd": "0",
"amount_usd": "25.00",
"cadence": "one_time"
}
],
"has_more": false,
"next_cursor": null
}
Authentication
Authorization: Bearer xm_live_... (merchant API key) or the xen_session cookie.
Query parameters
| Parameter | Type | Description |
|---|---|---|
limit | integer | Page size, 1 to 100. Default 25. |
starting_after | string | The next_cursor from the previous page |
Fields
| Field | Description |
|---|---|
status | active, expired or revoked |
amount_usd | The link’s amount as signed, or "open" for a pay-what-you-want link |
cadence | The link’s type param, such as one_time or per_month. null when the link does not set it. |
paid_and_single_use | true once a single-use link has been paid |
paid_count | 1 for a paid single-use link, otherwise 0 |
views or revenue_usd, and paid_count does not count payments on reusable links. For those numbers use Get Link with your dashboard session, or GET /v1/payments/received.