WEBHOOK
v1
/
memberships
{
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "subscription_id": "123e4567-e89b-12d3-a456-426614174000",
    "organization_id": "123e4567-e89b-12d3-a456-426614174000",
    "membership_id": "123e4567-e89b-12d3-a456-426614174000",
    "type": "v1/memberships",
    "created_at": "2025-01-24T10:55:00Z",
    "data": {
        "event": "updated",
        "id": "c9f9f051-7558-451c-b310-f4b8521424aa",
        "first_name": "Bruce Thomas Patrick",
        "last_name": "Wayne",
        "email": "batman@dc-comics.com",
        "phone_number": "+49123456789",
        "position": "CEO Batman corp",
        "status": "active",
        "role": "owner",
        "locale": "en",
        "team_id": "d1f9f066-5642-462d-b421-a7d8521556bc",
        "kyc_status": "accepted"
    }
}
{
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "subscription_id": "123e4567-e89b-12d3-a456-426614174000",
    "organization_id": "123e4567-e89b-12d3-a456-426614174000",
    "membership_id": "123e4567-e89b-12d3-a456-426614174000",
    "type": "v1/memberships",
    "created_at": "2025-01-24T10:55:00Z",
    "data": {
        "event": "updated",
        "id": "c9f9f051-7558-451c-b310-f4b8521424aa",
        "first_name": "Bruce Thomas Patrick",
        "last_name": "Wayne",
        "email": "batman@dc-comics.com",
        "phone_number": "+49123456789",
        "position": "CEO Batman corp",
        "status": "active",
        "role": "owner",
        "locale": "en",
        "team_id": "d1f9f066-5642-462d-b421-a7d8521556bc",
        "kyc_status": "accepted"
    }
}

Authorizations

X-Qonto-Signature
string
header
required

The signature header follows the format t={timestamp},v1={signature}.

Verification steps:

  1. Extract the timestamp and signature from the signature header
  2. Reject the request if the timestamp is older than 5 minutes
  3. Recreate the signed payload: '{timestamp}.{raw_request_body}'
  4. Compute HMAC-SHA256 of the signed payload using your webhook secret as the key
  5. Compare the computed signature with the one in the header

Body

application/json

Response

200

Webhook received successfully