Global Collection Account

These are the events for which webhooks will be triggered

📘

How can you configure an endpoint on your server to listen to global collection account event webhooks from Tazapay?

You can drop an email to [email protected] with the required details. The details include your email ID, the business name and the endpoint you would like configured.

Global Collection Account status specific events

EventDescriptionDefault (On / Off)
collection_account.creation_succeededTriggered when the status is enabledOn
collection_account.disablement_succeededTriggered when the status is disabledOn

collection_account.creation_succeeded

{
  "type": "collection_account.creation_succeeded",
  "id": "evt_crqinqs584jmicmfjbhg",
  "object": "event",
  "created_at": "2024-09-26T09:39:55.369534811Z",
  "data": {
    "metadata": {},
    "virtual_account": {
      "account_holder_name": "testacc",
      "account_number": "testacc1234-56-1234",
      "bank_address": {
        "address_line_1": "testAdd",
        "address_line_2": "testAdd1",
        "country": "United States of America"
      },
      "bank_codes": [
        {
          "key": "swift_code",
          "value": "testSwift"
        },
        {
          "key": "sort_code",
          "value": "testSortCode"
        },
        {
          "key": "ach_routing_number",
          "value": "testRoutingNumber"
        },
        {
          "key": "fedwire_routing_number",
          "value": "TestFedWire"
        },
        {
          "key": "routing_code",
          "value": "testRoutingCode"
        },
        {
          "key": "bank_code",
          "value": "testBankCode"
        },
        {
          "key": "bsb_code",
          "value": "testBsbCode"
        }
      ],
      "bank_branch": "testBankBranch",
      "bank_name": "testBank",
      "iban": "testIban"
    },
    "created_at": "2024-09-26T09:39:25.03501Z",
    "updated_at": "2024-09-26T09:39:25.03501Z",
    "id": "cva_crqinja9chqqs7moi8rg",
    "object": "collection_account",
    "payment_method_type": "local_bank_transfer_cad",
    "status": "enabled",
    "currencies": [
      "CAD"
    ]
  }
}

collection_account.disablement_succeeded

{
  "type": "collection_account.disablement_succeeded",
  "id": "evt_crqiom4584jmicmfjf5g",
  "object": "event",
  "created_at": "2024-09-26T09:41:44.365564104Z",
  "data": {
    "metadata": {},
    "virtual_account": {
      "account_holder_name": "testacc",
      "account_number": "testacc1234-56-1234",
      "bank_address": {
        "address_line_1": "testAdd",
        "address_line_2": "testAdd1",
        "country": "United States of America"
      },
      "bank_codes": [
        {
          "key": "swift_code",
          "value": "testSwift"
        },
        {
          "key": "sort_code",
          "value": "testSortCode"
        },
        {
          "key": "ach_routing_number",
          "value": "testRoutingNumber"
        },
        {
          "key": "fedwire_routing_number",
          "value": "TestFedWire"
        },
        {
          "key": "routing_code",
          "value": "testRoutingCode"
        },
        {
          "key": "bank_code",
          "value": "testBankCode"
        },
        {
          "key": "bsb_code",
          "value": "testBsbCode"
        }
      ],
      "bank_branch": "testBankBranch",
      "bank_name": "testBank",
      "iban": "testIban"
    },
    "created_at": "2024-09-26T09:39:25.03501Z",
    "updated_at": "2024-09-26T09:41:43.349835Z",
    "id": "cva_crqinja9chqqs7moi8rg",
    "object": "collection_account",
    "payment_method_type": "local_bank_transfer_cad",
    "status": "disabled",
    "currencies": [
      "CAD"
    ]
  }
}

Check the collection account object parameter details here - Global Collection Account