StableOps
API reference

Retrieve a normalized event

Returns the event with raw provider payload, matched payment order summary, and webhook deliveries triggered by it.

GET/v1/events/{id}

Authorization

bearerAuth
AuthorizationBearer <token>

Paste your API key from the dashboard (no sk_ prefix required).

In: header

Path Parameters

id*unknown

Normalized event id.

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/v1/events/{id}"
{
  "id": "string",
  "chain": "ethereum",
  "asset": "USDC",
  "from_address": "string",
  "to_address": "string",
  "amount": "string",
  "tx_hash": "string",
  "log_index": 0,
  "block_number": "string",
  "payment_order_id": "string",
  "confirmations": 0,
  "detected_at": "2019-08-24T14:15:22Z",
  "raw_chain_event": {
    "id": "string",
    "source": "string",
    "block_hash": "string",
    "received_at": "2019-08-24T14:15:22Z",
    "payload": "string"
  },
  "payment_order": {
    "id": "string",
    "merchant_order_id": "string",
    "status": "created",
    "settlement_asset": "USDC",
    "amount": "string"
  },
  "deliveries": [
    {
      "id": "string",
      "webhook_endpoint_id": "string",
      "event_type": "payment_order.created",
      "status": "pending",
      "attempts": 0,
      "response_status": -9007199254740991,
      "error_message": "string",
      "last_attempt_at": "2019-08-24T14:15:22Z",
      "created_at": "2019-08-24T14:15:22Z"
    }
  ]
}
{
  "statusCode": -9007199254740991,
  "message": "string",
  "error": "string"
}
{
  "statusCode": -9007199254740991,
  "message": "string",
  "error": "string"
}