Base64 Encoded Documentation of Registered Supplier

Whenever a supplier registers on the platform, we send this event with the corresponding documentation compressed and encoded in Base64. Additionally, we send the supplier’s EIN and a checksum hash to validate the file integrity.

EventType: SellerDocumentCreatedEvent

Path: /seller-documents

Webhook payload object

Key

Type

Description


buyerId


integer


Investor identifier.


sellerId


integer


Supplier identifier.


sellerGovernmentId


string


EIN of the supplier.


data64


binary


Content of documentation in Base64 format.


checksumHash


string


Hash that ensures the validity of the file content.


eventType


string


Event type.


_links


object


Resources available through HATEOAS.
More information here.

Available resources are:
approve - Approve the supplier.
unapprove - Disapprove the supplier.
documents - Download of the supplier’s documents.
update - Change the risk group of the supplier.
self - List supplier data.
sellers - List all suppliers.

Webhook payload example

{
   "buyerId":78676,
   "sellerId":1639274,
   "sellerGovernmentId":"22874589000179",
   "data64":"UEsDBBQACAgIAPoBdE4AAAAAAAAAAAAAAAAdAAAATGF5b3V0IDAyIC0gQ2FkY ...",
   "checksumHash":"8a24db9bcae7d29aae3d26ade088463ab96b0e71c3374cf550065503638f1b1a",
   "eventType":"SellerDocumentCreatedEvent",
   "_links":{
      "approve":{
         "href":"https://zuul.monkey.exchange/v1/buyers/78676/sellers/1639274/approve",
         "type":"POST"
      },
      "unapprove":{
         "href":"https://zuul.monkey.exchange/v1/buyers/78676/sellers/1639274/unapprove",
         "type":"POST"
      },
      "documents":{
         "href":"https://zuul.monkey.exchange/v1/buyers/78676/sellers/1639274/documents",
         "type":"GET"
      },
      "update":{
         "href":"https://zuul.monkey.exchange/v1/buyers/78676/sellers/1639274",
         "type":"PUT"
      },
      "self":{
         "href":"https://zuul.monkey.exchange/v1/buyers/78676/sellers/1639274",
         "type":"GET"
      },
      "sellers":{
         "href":"https://dev-zuul.monkeyecx.com/v1/buyers/78676/sellers",
         "type":"GET"
      }
   }
}