Jump to content

Trigger Signature Status

POST
https://sandbox.treddy.se/webhooks/v1/signatureStatus
Simulates the signature.status event
This event will cause the deal's status to transition to "Signed". If no data is provided, we will send dummy data to the webhook.

Parameters


webhook-secret
string
header

Request


Body
{
  "dealId": "f4ca2694-81e7-11ed-a1eb-0242ac120002",
  "status": "Completed",
  "signatureType": "Seller"
}
Schema
{
  "dealId": {
    "format": "uuid",
    "pattern": "[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}",
    "type": "string"
  },
  "userId": {
    "format": "uuid",
    "pattern": "[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}",
    "type": "string"
  },
  "status": {
    "type": "string"
  },
  "signatureType": {
    "enum": [
      "Seller",
      "Buyer"
    ],
    "type": "string"
  },
  "signatureDate": {
    "format": "int64",
    "type": "integer"
  }
}

Response body


HTTP STATUS CODE SUMMARY
200 - Successful operation
400 - Invalid input
401 - Not Authorized
403 - Forbidden
405 - Invalid input