Atualização Cadastral de Cedente
Quando um cedente atualiza seu cadastro na plataforma é enviado este evento contendo os dados de cadastro.
Você pode utilizar os _links
para navegar nos recursos ligados diretamente a este evento.
EventType: SellerUpdatedEvent
Path: /seller
Webhook payload object
Chave | Tipo | Descrição |
---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Webhook payload example
{
"governmentId" : "78795395000153",
"name" : "Investidor Ltda",
"fantasyName" : "Investidor",
"foundationDate" : "2021-12-30T01:00:00.000-02:00",
"activityCode" : "7490104",
"address" : "Endereço",
"addressNumber" : "123",
"addressComplement" : "Bloco Dois",
"neighborhood" : "Bairro",
"city" : "Cidade",
"state" : "UF",
"country" : "Brasil",
"zipCode" : "15800000",
"phone" : "1733335555",
"mainPhone" : "1733335555",
"legalNature" : "OTHER",
"profile" : "PHYSICAL",
"email" : "[email protected]",
"buyerGovernmentId" : "25297658000138",
"legalResponsibles" : [
{
"name" : "Representante",
"governmentId" : "01515693635",
"birthdayDate" : "1969-12-31T00:00:00.000-03:00",
"email" : "[email protected]",
"mobilePhone" : "17999998888",
"documentType" : "RG",
"documentNumber" : "0000000",
"signatureRequired" : true
}
],
"eventType" : "SellerUpdatedEvent",
"_links" : {
"approve" : {
"href" : "https://gateway.spike.cash/v1/buyers/25297658000138/sellers/78795395000153/approve",
"type" : "POST"
},
"unapprove" : {
"href" : "https://gateway.spike.cash/v1/buyers/25297658000138/sellers/78795395000153/unapprove",
"type" : "POST"
},
"self" : {
"href" : "https://gateway.spike.cash/v1/buyers/25297658000138/sellers/78795395000153",
"type" : "GET"
},
"sellers" : {
"href" : "https://gateway.spike.cash/v1/buyers/25297658000138/sellers/",
"type" : "GET"
}
}
}
Updated 28 days ago