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

# Successful Transaction

This webhook request is triggered whenever a successful transaction happened on a card.  The event type is `transaction.created`

## Request Payload

<CodeGroup>
  ```json json theme={null}
  {
      "environment": "production",
      "business": "xxxxxxxxxxxxx",
      "data": {
          "object": {
              "business": "xxxxxxxxxxxxx",
              "customer": "xxxxxxxxxxxxx",
              "account": "xxxxxxxxxxxxx",
              "card": "xxxxxxxxxxxxx",
              "authorization": null,
              "amount": -0.15,
              "fee": 0,
              "vat": 0,
              "feeDetails": [],
              "currency": "USD",
              "type": "capture",
              "balanceTransactions": [],
              "merchantAmount": -0.15,
              "merchantCurrency": "USD",
              "merchant": {
                  "category": "5399",
                  "name": "Paystack",
                  "merchantId": "-",
                  "city": "Ikeja GRA ",
                  "state": "-",
                  "country": "NG",
                  "postalCode": "-",
                  "_id": "664b4cd13fc1976f98ce6cd0"
              },
              "terminal": {
                  "rrn": "88081577-3e50-4567-a990-712d31fd1759",
                  "stan": "-",
                  "terminalId": "-",
                  "terminalOperatingEnvironment": "off_premise",
                  "terminalAttendance": "unattended",
                  "terminalType": "ecommerce",
                  "panEntryMode": "keyed_in",
                  "pinEntryMode": "keyed_in",
                  "cardHolderPresence": false,
                  "cardPresence": false,
                  "_id": "664b4cd13fc1976f98ce6cd1"
              },
              "transactionMetadata": {
                  "channel": "web",
                  "type": "purchase",
                  "reference": "88081577-3e50-4567-a990-712d31fd1759",
                  "_id": "664b4cd13fc1976f98ce6cd2"
              },
              "isDeleted": false,
              "createdAt": "2024-05-20T13:14:57.730Z",
              "updatedAt": "2024-05-20T13:14:57.730Z",
              "_id": "664b4cd13fc1976f98ce6ccf",
              "__v": 0
          },
          "_id": "664b4cd13fc1976f98ce6cd6"
      },
      "type": "transaction.created",
      "pendingWebhook": true,
      "webhookArchived": false,
      "createdAt": 1716210897,
      "_id": "xxxxxxxxxxxxx",
      "__v": 0
  }
  ```
</CodeGroup>
