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

# Payment Completed

> Webhook notification sent when a payment is completed

<Note>
  This webhook is sent when a payment has been completed.
</Note>

## Webhook Structure

<ParamField body="id" type="string (UUID)" required>
  Unique identifier for this event
</ParamField>

<ParamField body="time" type="string (ISO 8601)" required>
  Timestamp of when the event occurred
</ParamField>

<ParamField body="type" type="string" required>
  The type of event. Value: `payment.completed`
</ParamField>

<ParamField body="data" type="object" required>
  The event data containing the details below
</ParamField>

### Data Fields

<ParamField body="data.paymentId" type="string (UUID)" required>
  Unique identifier of the completed payment
</ParamField>

<ParamField body="data.scheme" type="string" required>
  Payment scheme. Available values: `SCT`, `SCT_INST`, `INTERNAL`
</ParamField>

<ParamField body="data.direction" type="string" required>
  Payment direction. Available values: `INBOUND`, `OUTBOUND`
</ParamField>

## Request Example

```json theme={null}
{
  "id": "d9e5f3a2-7b1c-4d6e-a0f8-3c5b9d2e1a4f",
  "time": "2025-01-15T10:30:00Z",
  "type": "payment.completed",
  "data": {
    "paymentId": "019cde3c-b82e-7d5a-c943-5f0a2b3d6e9c",
    "scheme": "SCT",
    "direction": "INBOUND"
  }
}
```
