CreateMerchantRequestv0.0.1
Request from Netaxept Admin portal to create a new merchant in MMS and on-board into IDP.
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 is triggered when the payment has succesfully been processed for a customers orders.
We use Stripe to handle customer payments. The Payment Service listens for Stripe webhooks and raises the PaymentProcessed event.
Consumer / Producer Diagram
CreateMerchantRequest 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