Skip to main content
POST
/
webhooks
/
inbound
/
persona
Webhook endpoint for Persona events
curl --request POST \
  --url https://api.platform.dakota.xyz/webhooks/inbound/persona \
  --header 'Content-Type: application/json' \
  --header 'Persona-Signature: <persona-signature>' \
  --header 'x-api-key: <api-key>' \
  --data '{}'
{
  "code": "invalid_request",
  "message": "The request was invalid. Please check your input and try again.",
  "details": {
    "field": "amount",
    "issue": "must be greater than 0"
  }
}

Authorizations

x-api-key
string
header
required

Headers

Persona-Signature
string
required

Used to verify the authenticity of the incoming webhook events from Persona. The signature is generated by hashing the request body with a secret key.

Body

application/json

The body is of type object.

Response

Webhook received successfully