Get webhook event by ID
Retrieve a webhook event by its webhook event ID.
Authorizations
Authorization header using the Bearer scheme. Learn more about JWT tokens in the Coinbase Developer Portal.
Path Parameters
The unique identifier of the webhook event.
Response
A successful response.
Webhook event payload details.
List of supported events.
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 "EVENT_TYPE_PAYMENT_AUTHORIZED"
Type of operation that triggered the webhook.
OPERATION_TYPE_PAYMENT, OPERATION_TYPE_REWARD "OPERATION_TYPE_PAYMENT"
Event details related to a payment including transaction hash, status, and associated payment information.
{
"entity": "payment-operation",
"id": "event123",
"transactionHash": "0xhash",
"amount": "50.00",
"status": "SUCCEEDED",
"eventType": "AUTHORIZED",
"createdAt": "2021-05-03T00:00:00.000Z",
"updatedAt": "2021-05-03T00:30:00.000Z",
"payment": { "id": "payment123" }
}Operation details related to a reward including transaction hash, status, and associated reward information.
{
"id": "ro-789012",
"rewardId": "rw-123456",
"action": "REWARD_OPERATION_ACTION_DISTRIBUTE",
"amount": "100.00",
"status": "REWARD_OPERATION_STATUS_SUCCEEDED",
"transactionHash": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef",
"error": null,
"errorCode": null,
"revertReason": null,
"blockNumber": 123,
"createdAt": "2024-03-20T00:00:00.000Z",
"updatedAt": "2024-03-20T00:30:00.000Z",
"reward": { "id": "rw-123456" }
}Webhook configuration details.
{
"entity": "webhook",
"id": "wh_123456789",
"operatorCoinbaseUserId": "op_987654321",
"identifier": "client-webhook-1",
"description": "Payment notifications for order processing",
"url": "https://example.com/webhooks",
"secret": "whsec_abcdef1234567890",
"events": [
"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"
],
"status": "WEBHOOK_STATUS_ACTIVE",
"createdAt": "2023-01-01T00:00:00.000Z",
"updatedAt": "2023-01-02T00:00:00.000Z"
}List of webhook sources.
WEBHOOK_SOURCE_OPERATOR, WEBHOOK_SOURCE_INDEXER "WEBHOOK_SOURCE_OPERATOR"