NewMerchantCreated
v0.0.1

Holds information about new merchant.
You are currently viewing an old version of this event (0.0.2).Read latest version →
When firing this event make sure you set the `correlation-id` in the headers. Our schemas have standard metadata make sure you read and follow it.

Details

This event can be triggered multiple times per customer. Everytime the customer adds an item to their shopping cart this event will be triggered.

We have a frontend application that allows users to buy things from our store. This front end interacts directly with the Basket Service to add items to the cart. The Basket Service will raise the events.

Consumer / Producer Diagram

flowchart LR l-Merchant_Management_Service[Merchant Management Service]:::producer-->NewMerchantCreated[NewMerchantCreated]:::event classDef event stroke:#609284,stroke-width: 4px; classDef producer stroke:#75d7b6,stroke-width: 2px; classDef consumer stroke:#818cf8,stroke-width: 2px; NewMerchantCreated[NewMerchantCreated]:::event-->r-Netaxept[Netaxept]:::consumer NewMerchantCreated[NewMerchantCreated]:::event-->r-Payment_Service[Payment Service]:::consumer NewMerchantCreated[NewMerchantCreated]:::event-->r-Processing_Service[Processing Service]:::consumer click l-Merchant_Management_Service href "/services/Merchant Management Service" "Go to Merchant Management Service" _self click r-Netaxept href "/services/Netaxept" "Go to Netaxept" _self click r-Payment_Service href "/services/Payment Service" "Go to Payment Service" _self click r-Processing_Service href "/services/Processing Service" "Go to Processing Service" _self click NewMerchantCreated href "/domains/On-boarding/events/NewMerchantCreated" "Go to NewMerchantCreated" _self
NewMerchantCreated Schema (json)
{  
  "$schema": "https://json-schema.org/draft/2020-12/schema",   
  "properties": {
    "metadata": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "UUIDv4",
           "auto": true,
          "description": "The ID of the user"
        },
        "specversion": {
          "type": "string",
          "description": "The domain of the event"
        },
        "type": {
          "type": "string",
          "description": "The name of the service that triggered the event"
        },
        "time": {
          "type": "string",
          "format": "RFC3339",
          "auto": true
        },
        "source": {
          "type": "string",
          "description": "Internet-wide unique URI with a DNS authority"
        }
      }      
    },
    "data": {
      "type": "object",
      "properties": {
        "SuperMerchantId": {
          "type": "int32",
          "description": "The ID of the user"
        },
        "Name": {
          "type": "string",
          "description": "The ID of the shopping item"
        },
        "CreatorId": {
          "type": "guid",
          "description": "The ID of the user"
        },
        "UserId": {
          "type": "guid",
          "description": "The ID of the shopping item"
        },
        "AcquirerId": {
          "type": "int",
          "description": "The ID of the user"
        },
        "InvoiceCountry": {
          "type": "int32",
          "description": "InvoiceCountry of the Merchnat"
        },
        "Timezone": {
          "type": "number",
          "description": "Timezone in Netaxept understandable format",
          "minimum": 1,
          "maximum": 5,
          "default": 1
        },
        "MerchnatContactDetails":{
          "type": "object",
          "properties": {
            "PhoneNumber": {
              "type": "string",
              "description": "Merchant PhoneNumber"
            },
            "E-mail":{
              "type": "string",
              "description": "Merchant email"
            }
          }
        }    
      }
    }
  }
}
Last updated on 2023/10/23