Skip to main content
GET
/
api
/
v1
/
webhook-events
/
{id}
Get webhook event by ID
curl --request GET \
  --url https://payments.coinbase.com/api/v1/webhook-events/{id} \
  --header 'Authorization: <api-key>'
{
  "entity": "<string>",
  "id": "<string>",
  "eventType": "EVENT_TYPE_PAYMENT_AUTHORIZED",
  "operationType": "OPERATION_TYPE_PAYMENT",
  "paymentOperation": {
    "entity": "<string>",
    "id": "<string>",
    "transactionHash": "<string>",
    "params": {},
    "status": "PAYMENT_OPERATION_STATUS_SUCCEEDED",
    "action": "PAYMENT_OPERATION_ACTION_AUTHORIZE",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "payment": {
      "entity": "<string>",
      "id": "<string>",
      "maxAmount": "<string>",
      "token": "<string>",
      "networkId": 123,
      "payer": "<string>",
      "signature": "<string>",
      "receiver": "<string>",
      "maxFeeBps": 123,
      "minFeeBps": 123,
      "feeReceiver": "<string>",
      "salt": "<string>",
      "paymentInfoHash": "<string>",
      "nonce": "<string>",
      "authorizationExpiry": "<string>",
      "preApprovalExpiry": "<string>",
      "refundExpiry": "<string>",
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z",
      "operator": "<string>",
      "contractAddress": "<string>",
      "authorizedAmount": "<string>",
      "capturedAmount": "<string>",
      "voidedAmount": "<string>",
      "refundedAmount": "<string>",
      "chargedAmount": "<string>",
      "merchantId": "<string>"
    },
    "output": "<string>",
    "error": "<string>",
    "errorCode": "<string>",
    "revertReason": "<string>",
    "blockNumber": "<string>",
    "metadata": {}
  },
  "rewardOperation": {
    "id": "<string>",
    "action": "REWARD_OPERATION_ACTION_ALLOCATE",
    "status": "REWARD_OPERATION_STATUS_PENDING",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "reward": {
      "id": "<string>",
      "campaignAddress": "<string>",
      "paymentInfoHash": "<string>",
      "recipientAddress": "<string>",
      "tokenAddress": "<string>",
      "chainId": 123,
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z"
    },
    "amount": "<string>",
    "transactionHash": "<string>",
    "error": "<string>",
    "errorCode": "<string>",
    "revertReason": "<string>",
    "blockNumber": "<string>"
  },
  "webhook": {
    "entity": "<string>",
    "id": "<string>",
    "operatorCoinbaseUserId": "<string>",
    "identifier": "<string>",
    "description": "<string>",
    "url": "<string>",
    "events": [
      "EVENT_TYPE_PAYMENT_AUTHORIZED"
    ],
    "secret": "<string>",
    "status": "WEBHOOK_STATUS_ACTIVATED",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z"
  },
  "source": "WEBHOOK_SOURCE_OPERATOR",
  "attempts": 123,
  "maxRetries": 123,
  "apiVersion": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "deliveredAt": "2023-11-07T05:31:56Z",
  "metadata": {}
}

Authorizations

Authorization
string
header
required

Authorization header using the Bearer scheme. Learn more about JWT tokens in the Coinbase Developer Portal.

Path Parameters

id
string
required

The unique identifier of the webhook event.

Response

A successful response.

Webhook event payload details.

entity
string
id
string
eventType
enum<string>

List of supported events.

Available options:
EVENT_TYPE_PAYMENT_AUTHORIZED,
EVENT_TYPE_PAYMENT_CAPTURED,
EVENT_TYPE_PAYMENT_VOIDED,
EVENT_TYPE_PAYMENT_REFUNDED,
EVENT_TYPE_PAYMENT_CHARGED,
EVENT_TYPE_REWARD_ALLOCATED,
EVENT_TYPE_REWARD_DISTRIBUTED,
EVENT_TYPE_REWARD_DEALLOCATED,
EVENT_TYPE_REWARD_SENT,
EVENT_TYPE_PAYMENT_RECONCILED
operationType
enum<string>

Type of operation that triggered the webhook.

Available options:
OPERATION_TYPE_PAYMENT,
OPERATION_TYPE_REWARD
paymentOperation
PaymentOperation · object

Event details related to a payment including transaction hash, status, and associated payment information.

rewardOperation
RewardOperation · object

Operation details related to a reward including transaction hash, status, and associated reward information.

webhook
Webhook · object

Webhook configuration details.

source
enum<string>

List of webhook sources.

Available options:
WEBHOOK_SOURCE_OPERATOR,
WEBHOOK_SOURCE_INDEXER
attempts
integer<int32>
maxRetries
integer<int32>
apiVersion
string
createdAt
string<date-time>
deliveredAt
string<date-time>
metadata
object