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
id
string<uuid>
required

Unique identifier for this webhook event

Example:

"123e4567-e89b-12d3-a456-426614174000"

subscription_id
string<uuid>
required

ID of the webhook subscription that received the event

Example:

"123e4567-e89b-12d3-a456-426614174000"

organization_id
string<uuid>
required

ID of the organization that owns the bank account

Example:

"123e4567-e89b-12d3-a456-426614174000"

membership_id
string<uuid>
required

ID of the membership associated with subscription

Example:

"123e4567-e89b-12d3-a456-426614174000"

type
enum<string>
required
Available options:
v1/transactions,
v1/accounts,
v1/organizations,
v1/memberships,
v1/consent-revocations,
v1/cards
Example:

"v1/transactions"

created_at
string<date-time>
required

Timestamp when the webhook event was created

Example:

"2025-01-24T10:55:00Z"

data
object
required

Response

200

Webhook received successfully