Payment session void pending
Triggered when the acceptance.payment_session.void_pending webhook event is emitted. Your API will receive a POST request at the webhook URL you configured.
Headers
HMAC-SHA256 signature supplied on every webhook delivery. The signature is computed from the raw request body using the webhook secret supplied during creation of the webhook subscription.
Webhook receivers can cryptographically verify this header before processing the event to ensure the authenticity of the webhook delivery.
Refer to the verify signatures documentation to learn details about the full payload and the exact verification algorithm.
X-Hook0-Signature is deprecated and will eventually be removed. Use X-Webhook-Signature going forward. Both headers are sent with identical values and use the same verification algorithm and webhook secret.
This scheme applies to webhook delivery (outbound POSTs from CDP to your endpoint), not to inbound CDP API requests.
HMAC-SHA256 signature supplied on every webhook delivery. The signature is computed from the raw request body using the webhook secret supplied during creation of the webhook subscription.
Webhook receivers can cryptographically verify this header before processing the event to ensure the authenticity of the webhook delivery.
Refer to the verify signatures documentation to learn details about the full payload and the exact verification algorithm.
X-Hook0-Signature is deprecated and will eventually be removed. Use X-Webhook-Signature going forward. Both headers are sent with identical values and use the same verification algorithm and webhook secret.
This scheme applies to webhook delivery (outbound POSTs from CDP to your endpoint), not to inbound CDP API requests.
Payload
The type of webhook event.
Example payload
{
"eventType": "acceptance.payment_session.void_pending",
"eventId": "234p5678-p90m-23o4-l567-537725285111",
"timestamp": "2025-06-15T12:30:00Z",
"data": {
"paymentSession": {
"paymentSessionId": "paymentSession_82c879c1-84e1-44ed-a8c2-1ac239cf09ad",
"entityId": "entity_af2937b0-9846-4fe7-bfe9-ccc22d935114",
"amount": "1.00",
"asset": "usdc",
"source": {
"address": "0xAbC1234567890aBcDeF1234567890AbCdEf123456",
"network": "base",
"asset": "usdc"
},
"target": {
"address": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"network": "base"
},
"autoCapture": false,
"expiries": {
"authorizationExpiresAt": "2025-12-31T23:59:59.000Z",
"captureExpiresAt": "2026-01-15T23:59:59.000Z",
"refundExpiresAt": "2026-02-15T23:59:59.000Z"
},
"status": "void_pending",
"balances": {
"capturable": "1.00",
"captured": "0",
"refundable": "0",
"refunded": "0"
},
"externalReferenceId": "merchant-order-abc123",
"metadata": {
"customer_id": "cust_12345",
"order_reference": "order-67890"
},
"createdAt": "2025-06-15T12:00:00.000Z",
"updatedAt": "2025-06-15T12:30:00.000Z"
},
"void": {
"voidId": "void_82c879c1-84e1-44ed-a8c2-1ac239cf09ad",
"status": "pending",
"amount": "1.00",
"createdAt": "2025-06-15T12:30:00.000Z",
"updatedAt": "2025-06-15T12:30:00.000Z"
}
}
}Response
Webhook received and processed successfully.
Changes
Webhooks have no change history: a webhook is keyed by its event name rather than a path and method, so no recorded change can name it.