curl https://api.xenarch.dev/v1/links/JJjIwDyV4N1CG9g8AHMxfdJ9/intents/0x5c1e8a0b7d2f4e6a9c3b1d08 \
-H "X-Claim-Token: q3V…"
{
"reference": "0x5c1e8a0b7d2f4e6a9c3b1d08",
"status": "paid",
"method": "wallet",
"amount_micro": "25000000",
"expires_at": "2026-11-23T12:30:00Z",
"tx_hash": "0x…",
"paid_at": "2026-11-23T12:04:10Z",
"payment_status": "confirmed"
}
Links
Get Payment Intent
Read the payment state of one checkout: open, confirming, paid or expired. Authorized by the intent’s claim token, so only the checkout that created it can read it.
GET
/
v1
/
links
/
{link_id}
/
intents
/
{reference}
curl https://api.xenarch.dev/v1/links/JJjIwDyV4N1CG9g8AHMxfdJ9/intents/0x5c1e8a0b7d2f4e6a9c3b1d08 \
-H "X-Claim-Token: q3V…"
{
"reference": "0x5c1e8a0b7d2f4e6a9c3b1d08",
"status": "paid",
"method": "wallet",
"amount_micro": "25000000",
"expires_at": "2026-11-23T12:30:00Z",
"tx_hash": "0x…",
"paid_at": "2026-11-23T12:04:10Z",
"payment_status": "confirmed"
}
curl https://api.xenarch.dev/v1/links/JJjIwDyV4N1CG9g8AHMxfdJ9/intents/0x5c1e8a0b7d2f4e6a9c3b1d08 \
-H "X-Claim-Token: q3V…"
{
"reference": "0x5c1e8a0b7d2f4e6a9c3b1d08",
"status": "paid",
"method": "wallet",
"amount_micro": "25000000",
"expires_at": "2026-11-23T12:30:00Z",
"tx_hash": "0x…",
"paid_at": "2026-11-23T12:04:10Z",
"payment_status": "confirmed"
}
status turns paid even if your page never learns the transaction hash.
On a reusable link, the link’s own latest_payment (see Get Link) can be another buyer’s payment. This endpoint reports only this checkout’s payment.
Authentication
Send theclaim_token from Create Payment Intent in the X-Claim-Token header. Never put it in the URL. A wrong or missing token returns 404, the same as an unknown intent. Successful responses carry Cache-Control: no-store.
Fields
| Field | Description |
|---|---|
status | open (not paid yet, inside its window), confirming (a matching transfer is on chain, waiting for the network’s confirmations), paid (a transfer is booked against this intent) or expired (past expires_at and unpaid) |
network, token | The network and coin of this payment |
confirmations, required_confirmations | While confirming: confirmations so far and confirmations needed |
amount_micro | The amount the intent asked for, in micro units (6 decimals) |
received_micro | What arrived, when it differs from amount_micro. An exchange that kept its fee out books underpaid. |
tx_hash | The booked transaction, when paid |
paid_at | When the payment was booked, when paid |
payment_status | confirmed, underpaid or overpaid, when paid |
Errors
| Status | Meaning |
|---|---|
404 | Unknown intent, an intent of another link, or a wrong claim token |
429 | Too many requests from this IP address |
Response
Successful Response