Transaction Payment Created

The purpose of this webhook is to notify you that a customer payment has been successful.

To enable within the Viva Wallet banking app:

  1. Log in to Viva Wallet, demo or live , and select the required account.

  2. Visit Settings > API Access > Webhooks.

  3. Click on the Create Webhook link.
    The New Webhook dialog box is displayed.

  4. Enter your webhook URL in the URL field.

  5. Click on the Verify link.
    If verified successfully, a confirmation message is displayed.

  6. Choose Transaction Payment Created from the Event Type dropdown:

    Transaction Payment Created webhook

  7. Select the Active checkbox to activate notifications.

  8. Click on the Save button.

EventTypeId 1796 sample response

{
  "Url": "Your webhook URL",
  "EventData": {
    "Moto": false,
    "Email": "customer@example.com",
    "Phone": "7700900796",
    "BankId": "NET_VISA",
    "Systemic": false,
    "Switching": false,
    "ParentId": null,
    "Amount": 10,  
    "ChannelId": "d84f93ff-8ad0-4d97-a7a3-f187dd667553",
    "TerminalId": 90000000,
    "MerchantId": "bdf4c6b3-c26d-4046-b5df-5c443ec39d09",
    "OrderCode": 2271655739472609,
    "ProductId": null,
    "StatusId": "F",
    "FullName": "Customer name",  
    "ResellerId": null,
    "InsDate": "2021-09-02T10:39:28.73",
    "TotalFee": 0,
    "CardToken": "2BFCB1FD4F000DB41CB5BA76CAFB68D76AB87752",
    "CardNumber": "414746XXXXXX0133",
    "TipAmount": 0,
    "SourceCode": "8362",
    "SourceName": "Test",
    "Latitude": null,
    "Longitude": null,
    "CompanyName": "Business name",
    "TransactionId": "997ab1e3-e6ce-45c9-970d-4d902f27ce71",  
    "CompanyTitle": "Business title",
    "PanEntryMode": "01",
    "ReferenceNumber": 944981,
    "ResponseCode": "00",
    "CurrencyCode": "978",
    "OrderCulture": "el-GR",
    "MerchantTrns": "Short description of items/services purchased by customer",
    "CustomerTrns": "Short description of items/services purchased to display to your customer",
    "IsManualRefund": false,
    "TargetPersonId": null,
    "TargetWalletId": null,
    "LoyaltyTriggered": false,
    "TransactionTypeId": 5,  
    "TotalInstallments": 0,
    "CardCountryCode": "SG",
    "CardIssuingBank": "CITIBANK",
    "RedeemedAmount": 0,
    "ClearanceDate": null,
    "CurrentInstallment": 0,
    "Tags": [
      "tag sample string 1",
      "tag sample string 2",
      "tag sample string 3"
    ],
    "BillId": null,
    "ResellerSourceCode": null,  
    "ResellerSourceName": null,  
    "ResellerCompanyName": null,
    "ResellerSourceAddress": null,  
    "CardExpirationDate": "2022-01-31T00:00:00",
    "RetrievalReferenceNumber": "124507944981",
    "AssignedMerchantUsers": [],
    "AssignedResellerUsers": [],
    "CardTypeId": 0,
    "ResponseEventId": null,
    "ElectronicCommerceIndicator": "5"
  },
  "Created": "2021-09-02T07:39:28.8496795Z",  
  "CorrelationId": "21-245-DB33F8C9",
  "EventTypeId": 1796,  
  "Delay": null,
  "MessageId": "e8b09fc2-d4a4-43fc-8251-acd87ad04d96",
  "RecipientId": "bdf4c6b3-c26d-4046-b5df-5c443ec39d09",
  "MessageTypeId": 512
}

Property TransactionTypeId can have a number of different values. See TransactionTypeId parameter on our Response codes page for the full list.

Further information

Check out the following tutorial for more details on configuring a payment webhook: