# Payment succeeded

`WEBHOOK paymentSucceeded`

Sent when a payment is captured.

Authentication: bearer token in Authorization header

## Request body

Content type: `application/json`

| Field | Type | Required | Description |
|---|---|---|---|
| `id` | string | no |  |
| `type` | string | no |  |
| `data` | object | no |  |
| `data.id` | string | no |  |
| `data.object` | enum | no |  Allowed: `payment`. |
| `data.amount` | integer | no |  |
| `data.currency` | string | no |  |
| `data.status` | enum | no | Lifecycle state of the payment. Allowed: `requires_payment_method`, `processing`, `succeeded`, `canceled`. |
| `data.customer` | object | no |  |
| `data.customer.id` | string | no |  |
| `data.customer.email` | email | no |  |
| `data.customer.name` | string | no |  |
| `data.customer.address` | object | no |  |
| `data.customer.address.line1` | string | no |  |
| `data.customer.address.city` | string | no |  |
| `data.customer.address.country` | string | no |  |
| `data.created_at` | datetime | no |  |
| `data.refunds` | list of objects | no |  |
| `data.refunds[].id` | string | no |  |
| `data.refunds[].amount` | integer | no |  |

## Example request

```bash
curl -X POST https://api.acme.dev/v1paymentSucceeded \
  -H "Content-Type: application/json" \
  -d '{}'
```

## Responses

- **200**: Acknowledge receipt.
