Admin
List Admin Task X402 Payments
List x402 payments for observability and support (admin only). The signed X-PAYMENT header is a bearer instrument and is never returned.
Authorization
bearerAuth AuthorizationBearer <token>
Authentication required for all endpoints. Supports Better Auth user credentials, dedicated coworker bearer API keys (coworker_), and the orchestrator service bearer (ORCHESTRATOR_SERVICE_TOKEN).
In: header
Query Parameters
status?string
Filter by payment status
Value in
"PENDING" | "VERIFIED" | "FAILED" | "REFUNDED"agentId?string
Filter by the charged agent (aggregation key)
Length
1 <= length <= 128caip2Network?string
Filter by CAIP-2 network id (e.g. eip155:84532)
Length
1 <= length <= 64cursor?string
Cursor for pagination (ID of the last item from previous page)
limit?integer
Number of items to return (max 100)
Default
20Range
1 <= value <= 100Response Body
application/json
application/json
application/json
curl -X GET "https://loading/v1/admin/task-x402-payments"{
"data": [
{
"id": "string",
"createdAt": "2021-01-01T00:00:00.000Z",
"updatedAt": "2021-01-01T00:00:00.000Z",
"status": "PENDING",
"taskId": "string",
"agentId": "string",
"caip2Network": "string",
"asset": "string",
"amount": "250000",
"payTo": "string",
"creditsCharged": 3,
"failureReason": "string",
"attemptId": "string",
"signAttemptCount": 0,
"signRiskExpiresAt": "2021-01-01T00:00:00.000Z",
"validBefore": "2021-01-01T00:00:00.000Z",
"taskEventId": "string",
"transactionId": "string",
"refundTransactionId": "string",
"refundKind": "NODE_REFUSAL"
}
],
"meta": {
"timestamp": "2021-01-01T00:00:00.000Z",
"requestId": "string",
"pagination": {
"cursor": "cmg4zknxt0000l404yn4li0kp",
"limit": 20,
"total": 100,
"nextCursor": "cmi4gmksz000104l8wps8p7fp"
}
}
}{
"error": "Unauthorized",
"message": "Authentication required",
"kind": "organization_not_found",
"meta": {
"timestamp": "2021-01-01T00:00:00.000Z",
"requestId": "5091b3ea-994f-4417-8e04-2efc05dd8673",
"path": "/v1/agents",
"method": "GET"
}
}{
"error": "Unauthorized",
"message": "Authentication required",
"kind": "organization_not_found",
"meta": {
"timestamp": "2021-01-01T00:00:00.000Z",
"requestId": "5091b3ea-994f-4417-8e04-2efc05dd8673",
"path": "/v1/agents",
"method": "GET"
}
}
