List webhook endpoints
Lists all webhook endpoints for the merchant.
Lists all webhook endpoints for the merchant.
Authorization
api-key AuthorizationBearer <token>
API key for merchant integrations. Send as Authorization: Bearer <your key>.
In: header
Response Body
application/json
curl -X GET "https://example.com/webhook-endpoints"{ "object": "list", "data": [ { "id": "string", "object": "webhook_endpoint", "url": "string", "description": "string", "status": "enabled", "enabledEvents": [ null ], "livemode": true, "metadata": {}, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" } ]}Delete a price DELETE
Deletes a price. Only prices that have never been referenced by a line item can be deleted — once a price has been used in any checkout session or payment link, archive it instead. If the price is set as the default price for a product, the default price reference will be cleared.
Create a webhook endpoint POST
Creates a new webhook endpoint. The response includes the signing secret which is only shown once. Store it securely to verify webhook signatures.