Credits

List USDC payments

The workspace's USDC payments, newest first: one receipt per x402 top-up, settled or not.

listCreditTransactions records that the balance moved; this records what paid for it, on which chain and in which transaction. It is also the answer to an uncertain outcome: a payment_replayed or payment_pending refusal from topUpCreditsWithX402 leaves an agent unsure whether it was charged, and the receipt here says.

This operation exists only where the deployment enables USDC top-ups. Where it does not, every call answers 404 not_found.

get/credits/payments

Request

  • Base URL: https://inkseal.net/api/v1
  • URL: https://inkseal.net/api/v1/credits/payments
  • Auth: HTTP bearer

Query parameters

pageinteger

1-based page number.

limitinteger

Items per page.

Response

A page of payments, newest first.

Example response

{
  "data": [
    {
      "status": "settled",
      "network": "eip155:8453",
      "transaction": "0x9f2b1c0d5a4e6f78901234567890abcdef1234567890abcdef1234567890abcd",
      "payer": "0x1f9840a85d5af5bf1d1762f925bdaddc4201f984",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amountAtomic": "39000000",
      "amountUsd": "39.00",
      "credits": 25,
      "packId": "pack_25"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.