> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stateset.com/llms.txt
> Use this file to discover all available pages before exploring further.

# POST /api/v1/payments/webhook

> POST /api/v1/payments/webhook

### Responses

<ResponseField name="200" type="object">
  Webhook accepted
</ResponseField>

<ResponseField name="400" type="ErrorResponse">
  Invalid payload
</ResponseField>

<ResponseField name="401" type="ErrorResponse">
  Invalid signature
</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl --request POST \
    --url 'https://api.stateset.com/api/v1/payments/webhook' \
    --header 'Authorization: Bearer YOUR_API_KEY'
  ```
</RequestExample>
