Pular para o conteúdo principal

WebhookEndpointTestResponse

subscriptionIdstringobrigatório
eventTypeWebhookEntity (string)obrigatório

Valores possíveis: [SCHEDULE_ACCESS_REQUEST, COLLECTION_CONTRACT_CREATION, COLLECTION_CONTRACT, COLLATERALIZED_CREDIT_CONTRACT, COLLATERALIZED_CREDIT_ESCROW_ACCOUNT, AGENDA_CONSOLIDATED, NUCLEA_CONTRACT, NUCLEA_SCHEDULE_QUERY]

Exemplo COLLECTION_CONTRACT
request objectobrigatório
methodstringobrigatório

Valores possíveis: [POST]

urlstring<uri>obrigatório
payloadstringobrigatório

Apenas carga sintética; os segredos HMAC e de autenticação são omitidos.

httpStatusinteger

Valores possíveis: >= 100 e <= 599

latencyMillisintegerobrigatório

Valores possíveis: >= 0

responsestring

Trecho ocultado da resposta, truncado após 4096 bytes.

errorstring

Erro de transporte ocultado quando a solicitação não recebeu resposta HTTP.

successfulbooleanobrigatório
WebhookEndpointTestResponse
{
"subscriptionId": "string",
"eventType": "COLLECTION_CONTRACT",
"request": {
"method": "POST",
"url": "string",
"payload": "string"
},
"httpStatus": 0,
"latencyMillis": 0,
"response": "string",
"error": "string",
"successful": true
}