def METHOD_NAME(
    order, webhook_app, permission_manage_payments
):
    # given
    webhook_app.permissions.add(permission_manage_payments)
    webhook = Webhook.objects.create(
        name="Webhook",
        app=webhook_app,
        subscription_query=PAYMENT_GATEWAY_INITIALIZE_SESSION,
    )
    event_type = WebhookEventSyncType.PAYMENT_GATEWAY_INITIALIZE_SESSION
    webhook.events.create(event_type=event_type)
    payload_data = None
    amount = Decimal("10")
    # when
    delivery = create_deliveries_for_subscriptions(
        event_type, (order, payload_data, amount), [webhook]
    )[0]
    # then
    order_id = graphene.Node.to_global_id("Order", order.pk)
    assert delivery.payload
    assert delivery.payload.payload
    assert json.loads(delivery.payload.payload) == {
        "data": None,
        "sourceObject": {"__typename": "Order", "id": order_id},
    }