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"
}
}Receive webhook events from Persona service
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"
}
}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.
The body is of type object.
Webhook received successfully